feat(CP活动): 取消网络图片的图片指令,减少请求负担
This commit is contained in:
parent
d0b3f9ac98
commit
b7c5f9cc48
@ -18,7 +18,6 @@
|
||||
"
|
||||
>
|
||||
<img
|
||||
v-smart-img
|
||||
:src="item.propsGroup?.activityRewardProps?.[0].cover"
|
||||
alt=""
|
||||
style="width: 70%; display: block; object-fit: cover"
|
||||
|
||||
@ -43,7 +43,6 @@
|
||||
:style="[getGridPosition(index)]"
|
||||
>
|
||||
<img
|
||||
v-smart-img
|
||||
:src="prize.prizeImage || ''"
|
||||
:alt="prize.prizeName || ''"
|
||||
width="50%"
|
||||
|
||||
@ -32,12 +32,7 @@
|
||||
align-items: center;
|
||||
"
|
||||
>
|
||||
<img
|
||||
v-smart-img
|
||||
:src="goods.cover"
|
||||
alt=""
|
||||
style="width: 50%; display: block; object-fit: cover"
|
||||
/>
|
||||
<img :src="goods.cover" alt="" style="width: 50%; display: block; object-fit: cover" />
|
||||
</div>
|
||||
|
||||
<div
|
||||
|
||||
@ -189,7 +189,6 @@
|
||||
|
||||
<!-- 情侣1头像 -->
|
||||
<img
|
||||
v-smart-img
|
||||
:src="item.userAvatar || ''"
|
||||
alt=""
|
||||
style="
|
||||
@ -205,7 +204,6 @@
|
||||
/>
|
||||
<!-- 情侣2头像 -->
|
||||
<img
|
||||
v-smart-img
|
||||
:src="item.cpUserAvatar || ''"
|
||||
alt=""
|
||||
style="
|
||||
|
||||
@ -57,7 +57,6 @@
|
||||
|
||||
<!-- 发送人 -->
|
||||
<img
|
||||
v-smart-img
|
||||
:src="item.senderAvatar || ''"
|
||||
alt=""
|
||||
style="
|
||||
@ -71,7 +70,6 @@
|
||||
/>
|
||||
<!-- 接收人 -->
|
||||
<img
|
||||
v-smart-img
|
||||
:src="item.receiverAvatar || ''"
|
||||
alt=""
|
||||
style="
|
||||
|
||||
@ -39,7 +39,6 @@
|
||||
>
|
||||
<!-- 情侣1头像 -->
|
||||
<img
|
||||
v-smart-img
|
||||
:src="rankingItem.userAvatar"
|
||||
alt=""
|
||||
style="
|
||||
@ -54,7 +53,6 @@
|
||||
/>
|
||||
<!-- 情侣2头像 -->
|
||||
<img
|
||||
v-smart-img
|
||||
:src="rankingItem.cpUserAvatar"
|
||||
alt=""
|
||||
style="
|
||||
@ -197,7 +195,6 @@
|
||||
>
|
||||
<!-- 情侣1头像 -->
|
||||
<img
|
||||
v-smart-img
|
||||
:src="rankingItem.userAvatar"
|
||||
alt=""
|
||||
style="
|
||||
@ -212,7 +209,6 @@
|
||||
/>
|
||||
<!-- 情侣2头像 -->
|
||||
<img
|
||||
v-smart-img
|
||||
:src="rankingItem.cpUserAvatar"
|
||||
alt=""
|
||||
style="
|
||||
@ -276,7 +272,6 @@
|
||||
>
|
||||
<!-- 预览图 -->
|
||||
<img
|
||||
v-smart-img
|
||||
v-if="item.cover != ''"
|
||||
:src="item.cover"
|
||||
alt=""
|
||||
|
||||
@ -109,7 +109,6 @@
|
||||
>
|
||||
<!-- 情侣1头像 -->
|
||||
<img
|
||||
v-smart-img
|
||||
:src="item?.userAvatar || ''"
|
||||
alt=""
|
||||
style="
|
||||
@ -123,7 +122,6 @@
|
||||
/>
|
||||
<!-- 情侣2头像 -->
|
||||
<img
|
||||
v-smart-img
|
||||
:src="item?.cpUserAvatar || ''"
|
||||
alt=""
|
||||
style="
|
||||
@ -266,7 +264,6 @@
|
||||
>
|
||||
<!-- 情侣1头像 -->
|
||||
<img
|
||||
v-smart-img
|
||||
:src="myRanking.userAvatar || ''"
|
||||
alt=""
|
||||
style="
|
||||
@ -282,7 +279,6 @@
|
||||
/>
|
||||
<!-- 情侣2头像 -->
|
||||
<img
|
||||
v-smart-img
|
||||
:src="myRanking.cpUserAvatar || ''"
|
||||
alt=""
|
||||
style="
|
||||
@ -425,7 +421,6 @@
|
||||
>
|
||||
<div class="couple-item-info">
|
||||
<img
|
||||
v-smart-img
|
||||
:src="couple?.cpUserProfile.userAvatar || ''"
|
||||
alt=""
|
||||
style="width: 3em; aspect-ratio: 1/1; border-radius: 50%"
|
||||
@ -490,12 +485,7 @@
|
||||
v-else
|
||||
style="display: flex; flex-direction: column; align-items: center; gap: 4vw"
|
||||
>
|
||||
<img
|
||||
v-smart-img
|
||||
:src="imageUrl('noCoupleSign')"
|
||||
alt=""
|
||||
style="width: 50%; display: block"
|
||||
/>
|
||||
<img :src="imageUrl('noCoupleSign')" alt="" style="width: 50%; display: block" />
|
||||
<p style="color: rgba(0, 0, 0, 0.4); font-size: 1em; font-weight: 700">
|
||||
{{ t('no_couples') }}
|
||||
</p>
|
||||
@ -699,7 +689,6 @@
|
||||
<!-- 发送者 -->
|
||||
<div style="width: 100%; display: flex; align-items: center; gap: 2vw">
|
||||
<img
|
||||
v-smart-img
|
||||
:src="latestLoveLetter.senderAvatar"
|
||||
alt=""
|
||||
style="
|
||||
@ -787,7 +776,6 @@
|
||||
"
|
||||
>
|
||||
<img
|
||||
v-smart-img
|
||||
class="flipImg"
|
||||
v-show="result.length > 1 && resultShowIndex > 0"
|
||||
:src="imageUrl('resultBack')"
|
||||
@ -798,7 +786,6 @@
|
||||
</div>
|
||||
<!-- 奖品 -->
|
||||
<img
|
||||
v-smart-img
|
||||
:src="result[resultShowIndex]?.prize?.prizeImage"
|
||||
alt=""
|
||||
width="45%"
|
||||
@ -894,7 +881,6 @@
|
||||
>
|
||||
<div style="display: flex; align-items: center; gap: 4px">
|
||||
<img
|
||||
v-smart-img
|
||||
:src="record?.prize?.prizeImage || ''"
|
||||
alt=""
|
||||
style="width: 10vw; min-width: 0; object-fit: cover; display: block"
|
||||
@ -956,7 +942,6 @@
|
||||
>
|
||||
<div style="min-width: 0; display: flex; align-items: center; gap: 4px">
|
||||
<img
|
||||
v-smart-img
|
||||
v-if="record.itemType == 'cp_fragment'"
|
||||
:src="imageUrl('debris')"
|
||||
alt=""
|
||||
@ -969,7 +954,6 @@
|
||||
"
|
||||
/>
|
||||
<img
|
||||
v-smart-img
|
||||
v-else-if="record.itemType == 'lottery_ticket'"
|
||||
:src="imageUrl('crystal')"
|
||||
alt=""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user