细节完善
This commit is contained in:
@@ -150,7 +150,7 @@ onMounted(async () => {
|
||||
}}</text>
|
||||
<text :style="{ opacity: expand ? 0 : 1 }" v-if="itemIndex === 3">{{
|
||||
selectedIndex !== -1 && secondSelectIndex !== -1
|
||||
? `${selectedIndex + 1}组/${groupArrows[secondSelectIndex]}箭`
|
||||
? `${selectedIndex}组/${groupArrows[secondSelectIndex]}箭`
|
||||
: itemTexts[itemIndex]
|
||||
}}</text>
|
||||
</block>
|
||||
|
||||
@@ -62,8 +62,8 @@ onUnmounted(() => {
|
||||
}"
|
||||
>
|
||||
<view :style="{ display: 'flex', flexDirection: 'column' }">
|
||||
<text :style="{ color: '#fed847' }">请预先射几箭测试</text>
|
||||
<text>请确保射箭距离有5米</text>
|
||||
<text :style="{ color: '#fed847' }">请确保站距达到5米</text>
|
||||
<text>低于5米的射箭无效</text>
|
||||
</view>
|
||||
</view>
|
||||
</Guide>
|
||||
|
||||
@@ -38,6 +38,15 @@ const handleSelect = (index) => {
|
||||
}
|
||||
return false;
|
||||
});
|
||||
if (!myData.value.userId) {
|
||||
myData.value = {
|
||||
userId: user.value.id,
|
||||
TotalGames: 0,
|
||||
totalScore: 0,
|
||||
mvpCount: 0,
|
||||
TenRings: 0,
|
||||
};
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -178,19 +187,19 @@ const subTitles = ["排位赛积分", "MVP次数", "十环次数"];
|
||||
<text class="rank-item-integral" v-if="selectedIndex === 0">
|
||||
<text
|
||||
:style="{ fontSize: '14px', color: '#fff', marginRight: '5px' }"
|
||||
>{{ myData.totalScore }}</text
|
||||
>{{ myData.totalScore || 0 }}</text
|
||||
>分</text
|
||||
>
|
||||
<text class="rank-item-integral" v-if="selectedIndex === 1">
|
||||
<text
|
||||
:style="{ fontSize: '14px', color: '#fff', marginRight: '5px' }"
|
||||
>{{ myData.mvpCount }}</text
|
||||
>{{ myData.mvpCount || 0 }}</text
|
||||
>次</text
|
||||
>
|
||||
<text class="rank-item-integral" v-if="selectedIndex === 2">
|
||||
<text
|
||||
:style="{ fontSize: '14px', color: '#fff', marginRight: '5px' }"
|
||||
>{{ myData.TenRings }}</text
|
||||
>{{ myData.TenRings || 0 }}</text
|
||||
>次</text
|
||||
>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user