feat(排行榜、活动): 补充遗漏的图片指令

This commit is contained in:
hzj 2026-02-13 11:37:00 +08:00
parent d1b67da5e5
commit 0045a4b9b5
7 changed files with 21 additions and 13 deletions

View File

@ -481,6 +481,7 @@
>
<!-- 预览图 -->
<img
v-smart-img
v-if="item.cover != ''"
:src="item.cover"
alt=""

View File

@ -175,6 +175,7 @@
"
>
<img
v-smart-img
v-if="rewardsTop.claimStatus == -1"
class="grayscale-container"
:src="imageUrl(getImgName('receiveBt'))"
@ -182,6 +183,7 @@
style="width: 40vw; display: block; object-fit: cover"
/>
<img
v-smart-img
v-if="rewardsTop.claimStatus == 0"
:src="imageUrl(getImgName('receiveBt'))"
alt=""
@ -189,6 +191,7 @@
@click="receiveReward(rewardsTop)"
/>
<img
v-smart-img
v-if="rewardsTop.claimStatus == 1"
:src="imageUrl(getImgName('receivedBt'))"
alt=""

View File

@ -87,7 +87,7 @@
:flip="true"
:contentStyle="``"
>
<img :src="imageUrl('num1')" alt="" style="width: 3vw; display: block" />
<img v-smart-img :src="imageUrl('num1')" alt="" style="width: 3vw; display: block" />
</itemCenter>
<!-- 前三名 -->
@ -172,6 +172,7 @@
"
>
<img
v-smart-img
:src="imageUrl(`rankingCoupleSign`)"
alt=""
style="width: 15vw; display: block; object-fit: cover"

View File

@ -48,6 +48,7 @@
"
>
<img
v-smart-img
:src="imageUrl('coupleSign')"
alt=""
style="width: 5vw; display: block; object-fit: cover"

View File

@ -34,6 +34,7 @@
>
<!-- 情侣1头像 -->
<img
v-smart-img
:src="rankingItem.userAvatar"
alt=""
style="
@ -48,6 +49,7 @@
/>
<!-- 情侣2头像 -->
<img
v-smart-img
:src="rankingItem.cpUserAvatar"
alt=""
style="
@ -148,7 +150,12 @@
:flip="true"
:contentStyle="``"
>
<img :src="imageUrl(`num${ranking}`)" alt="" style="width: 3vw; display: block" />
<img
v-smart-img
:src="imageUrl(`num${ranking}`)"
alt=""
style="width: 3vw; display: block"
/>
</itemCenter>
<!-- 头像 -->
@ -185,6 +192,7 @@
>
<!-- 情侣1头像 -->
<img
v-smart-img
:src="rankingItem.userAvatar"
alt=""
style="
@ -199,6 +207,7 @@
/>
<!-- 情侣2头像 -->
<img
v-smart-img
:src="rankingItem.cpUserAvatar"
alt=""
style="
@ -238,6 +247,7 @@
<!-- 贡献 -->
<div style="width: auto; min-width: 0; display: flex; align-items: center">
<img
v-smart-img
:src="imageUrl('distribution')"
alt=""
style="width: 10vw; display: block; object-fit: cover"
@ -261,6 +271,7 @@
>
<!-- 预览图 -->
<img
v-smart-img
v-if="item.cover != ''"
:src="item.cover"
alt=""

View File

@ -83,6 +83,7 @@
>
<!-- 情侣1头像 -->
<img
v-smart-img
:src="item?.userAvatar || ''"
alt=""
style="
@ -97,6 +98,7 @@
/>
<!-- 情侣2头像 -->
<img
v-smart-img
:src="item?.cpUserAvatar || ''"
alt=""
style="

View File

@ -13,17 +13,6 @@
style="display: block; width: 100%; position: absolute; inset: 80vw 0 0; z-index: -1"
/>
<!-- <div class="bg">
<itemCenter :imgUrl="imageUrl('bg')" style="position: absolute; z-index: 0">
<img
v-smart-img
:src="webpUrl('bg')"
alt=""
style="display: block; width: 100%; object-fit: cover"
/>
</itemCenter>
</div> -->
<!-- 加载动画 -->
<div class="loading-spinner"></div>
<p>{{ $t('loading') }}...</p>