chore(cp排行榜): 调整样式
This commit is contained in:
parent
78211ffe3a
commit
693b22aff3
@ -467,7 +467,8 @@ const changeTag = (module) => {
|
|||||||
const rewardsTop3 = ref([]) // 原前三名奖励列表
|
const rewardsTop3 = ref([]) // 原前三名奖励列表
|
||||||
// 处理后的前三名奖励列表
|
// 处理后的前三名奖励列表
|
||||||
const showRewardsTop3 = computed(() => {
|
const showRewardsTop3 = computed(() => {
|
||||||
let newRewardsTop3 = rewardsTop3.value
|
// 对 rewardsTop3 进行深拷贝,避免引用问题
|
||||||
|
let newRewardsTop3 = JSON.parse(JSON.stringify(rewardsTop3.value))
|
||||||
// 季度榜添加奖励
|
// 季度榜添加奖励
|
||||||
if (seasonShow.value) {
|
if (seasonShow.value) {
|
||||||
newRewardsTop3[0].activityRewardProps.push(
|
newRewardsTop3[0].activityRewardProps.push(
|
||||||
|
|||||||
@ -257,6 +257,7 @@
|
|||||||
v-for="(item, index) in rewards.activityRewardProps"
|
v-for="(item, index) in rewards.activityRewardProps"
|
||||||
:key="index"
|
:key="index"
|
||||||
style="
|
style="
|
||||||
|
align-self: stretch;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0 1vw;
|
padding: 0 1vw;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user