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