feat(cp排行榜): 修复bug
This commit is contained in:
parent
c323767884
commit
b2cbd6b9e4
@ -24,15 +24,20 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="display: flex; justify-content: center; align-items: center">
|
<div style="height: 17%; display: flex; justify-content: center; align-items: center">
|
||||||
<!-- <img
|
<!-- <img
|
||||||
v-smart-img
|
v-smart-img
|
||||||
:src="imageUrl(getImgName('debris'))"
|
:src="imageUrl(getImgName('debris'))"
|
||||||
alt=""
|
alt=""
|
||||||
style="display: block; width: 2em; object-fit: cover"
|
style="display: block; width: 2em; object-fit: cover"
|
||||||
/> -->
|
/> -->
|
||||||
<div style="font-weight: 600; color: #ff79a1" @click="exchangeGoods(item)">
|
<div style="font-size: 0.8em; font-weight: 600; color: #fff" @click="exchangeGoods(item)">
|
||||||
*{{ JSON.parse(item.rule.jsonData).need_fragments }}
|
*{{
|
||||||
|
formatRewardDisplay(
|
||||||
|
item.propsGroup.activityRewardProps[0].type,
|
||||||
|
item.propsGroup.activityRewardProps[0],
|
||||||
|
)
|
||||||
|
}}/ {{ JSON.parse(item.rule.jsonData).need_fragments }}Star
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</itemCenter>
|
</itemCenter>
|
||||||
@ -53,6 +58,7 @@ import { formatUTCCustom } from '@/utils/utcFormat.js'
|
|||||||
import { showError, showSuccess } from '@/utils/toast.js'
|
import { showError, showSuccess } from '@/utils/toast.js'
|
||||||
import { handleAvatarImageError, handleRewardImageError } from '@/utils/imageHandler.js'
|
import { handleAvatarImageError, handleRewardImageError } from '@/utils/imageHandler.js'
|
||||||
import { useCoupleStore } from '@/stores/couple'
|
import { useCoupleStore } from '@/stores/couple'
|
||||||
|
import { formatRewardDisplay } from '@/utils/rewardFormatter.js'
|
||||||
|
|
||||||
import {
|
import {
|
||||||
apiGetActivityResource, //获取兑换资源
|
apiGetActivityResource, //获取兑换资源
|
||||||
|
|||||||
@ -49,22 +49,7 @@
|
|||||||
width="50%"
|
width="50%"
|
||||||
style="display: block"
|
style="display: block"
|
||||||
/>
|
/>
|
||||||
<div
|
<div style="font-size: 0.8em; font-weight: 700; color: gray">
|
||||||
style="
|
|
||||||
font-size: 0.8em;
|
|
||||||
font-weight: 700;
|
|
||||||
color: transparent;
|
|
||||||
text-shadow:
|
|
||||||
-0.25px -0.25px 1px #ff37a1,
|
|
||||||
0.25px 0.25px 1px #ff37a1,
|
|
||||||
0 0 3px rgba(255, 55, 161, 0.8),
|
|
||||||
0 0 5px rgba(255, 55, 161, 0.6),
|
|
||||||
0 0 4px rgba(191, 0, 101, 0.3);
|
|
||||||
-webkit-text-stroke-width: 0.8px;
|
|
||||||
-webkit-text-stroke-color: #fff;
|
|
||||||
text-transform: capitalize;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
{{ prize.prizeName }}
|
{{ prize.prizeName }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -202,7 +187,7 @@
|
|||||||
<div
|
<div
|
||||||
style="color: #fff; font-size: 1.2em; font-weight: 600; text-shadow: 0 1px 0 #8b00d1"
|
style="color: #fff; font-size: 1.2em; font-weight: 600; text-shadow: 0 1px 0 #8b00d1"
|
||||||
>
|
>
|
||||||
*5000
|
*9000
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -52,14 +52,14 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<img
|
<!-- <img
|
||||||
v-smart-img
|
v-smart-img
|
||||||
v-show="result.length > 1 && resultShowIndex > 0"
|
v-show="result.length > 1 && resultShowIndex > 0"
|
||||||
:src="imageUrl('resultBack')"
|
:src="imageUrl('resultBack')"
|
||||||
alt=""
|
alt=""
|
||||||
style="display: block; width: 80%; object-fit: cover"
|
style="display: block; width: 80%; object-fit: cover"
|
||||||
@click="resultShowIndex--"
|
@click="resultShowIndex--"
|
||||||
/>
|
/> -->
|
||||||
</div>
|
</div>
|
||||||
<!-- 奖品 -->
|
<!-- 奖品 -->
|
||||||
<itemCenter
|
<itemCenter
|
||||||
@ -78,14 +78,14 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<img
|
<!-- <img
|
||||||
v-smart-img
|
v-smart-img
|
||||||
v-show="result.length > 1 && resultShowIndex + 1 < result.length"
|
v-show="result.length > 1 && resultShowIndex + 1 < result.length"
|
||||||
:src="imageUrl('resultNext')"
|
:src="imageUrl('resultNext')"
|
||||||
alt=""
|
alt=""
|
||||||
style="display: block; width: 80%; object-fit: cover"
|
style="display: block; width: 80%; object-fit: cover"
|
||||||
@click="resultShowIndex++"
|
@click="resultShowIndex++"
|
||||||
/>
|
/> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user