Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.6.6 #131

Merged
merged 2 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "miXeD",
"version": "2.6.5",
"version": "2.6.6",
"main": "dist-electron/main/index.js",
"description": "All-in-one miHoYo game launcher",
"author": "HoraceHYY <[email protected]>",
Expand Down
38 changes: 32 additions & 6 deletions src/pages/GenshinPage/Components/GenshinInfoCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,12 @@ const countRolledSubstat = (stats: any[], prop: string) => {
></div>
<img
class="absolute bottom-0 char-side-icon rounded-full ml-1 w-12 h-12 hover:transform hover:scale-110 hover:-translate-y-1 active:scale-100 active:translate-y-0 transition-all object-cover"
:src="character.costume.sideIcon.url"
:src="
character.costume.sideIcon.url.replace(
'api.ambr.top/assets/UI',
'enka.network/ui',
)
"
/>
</div>
</div>
Expand Down Expand Up @@ -728,9 +733,10 @@ const countRolledSubstat = (stats: any[], prop: string) => {
<img
class="inline-block object-cover bottom-0 left-0 absolute z-10 h-full pointer-events-none"
:src="
store.settings.appearance.gsCostume
(store.settings.appearance.gsCostume
? character.costume.splashImage.url
: character.characterData.splashImage.url
).replace('api.ambr.top/assets/UI', 'enka.network/ui')
"
/>
</div>
Expand Down Expand Up @@ -771,7 +777,12 @@ const countRolledSubstat = (stats: any[], prop: string) => {
>
<img
class="h-8 rounded-full"
:src="skill.skill.icon.url"
:src="
skill.skill.icon.url.replace(
'api.ambr.top/assets/UI',
'enka.network/ui',
)
"
/>
<div
class="text-center w-full mr-1 h-full align-middle text-base font-gs"
Expand Down Expand Up @@ -821,7 +832,12 @@ const countRolledSubstat = (stats: any[], prop: string) => {
<img
class="relative h-8 rounded-full ml-2 z-30"
:src="
character.unlockedConstellations[idx - 1].icon.url
character.unlockedConstellations[
idx - 1
].icon.url.replace(
'api.ambr.top/assets/UI',
'enka.network/ui',
)
"
/>
</div>
Expand Down Expand Up @@ -1024,7 +1040,12 @@ const countRolledSubstat = (stats: any[], prop: string) => {
>
<img
class="h-full"
:src="character.weapon.weaponData.awakenIcon.url"
:src="
character.weapon.weaponData.awakenIcon.url.replace(
'api.ambr.top/assets/UI',
'enka.network/ui',
)
"
/>
<div class="w-full h-full relative">
<div class="flex flex-row justify-between ml-2 mt-4">
Expand Down Expand Up @@ -1114,7 +1135,12 @@ const countRolledSubstat = (stats: any[], prop: string) => {
margin-top: -45px;
"
class="artifact-mask w-28 object-cover"
:src="artifact.artifactData.icon.url"
:src="
artifact.artifactData.icon.url.replace(
'api.ambr.top/assets/UI',
'enka.network/ui',
)
"
/>
<div class="w-full h-full relative">
<div
Expand Down
Loading