This commit is contained in:
wangyilin 2024-11-12 10:24:08 +08:00
parent 2cfab8f0e5
commit a2385c5632
2 changed files with 3 additions and 3 deletions

View File

@ -25,11 +25,11 @@
<view class="exit" v-for="item in starRating" :key="item.snowFlakeId" @click="Onrating(item.name, item.snowFlakeId)"> <view class="exit" v-for="item in starRating" :key="item.snowFlakeId" @click="Onrating(item.name, item.snowFlakeId)">
<view class="exitItem"> <view class="exitItem">
<text style="margin-left: 30rpx; font-size: 16px"> <text style="margin-left: 30rpx; font-size: 16px">
<text>{{ item.name }}{{ item.totalScore }} </text> <text>{{ item.name }}{{ item?.totalScore }} </text>
</text> </text>
</view> </view>
<view style="margin-right: 30rpx; display: flex; align-items: center"> <view style="margin-right: 30rpx; display: flex; align-items: center">
<view v-if="item.currentScore > 0" style="color: #ff0000"> -{{ item.currentScore }}</view> <view v-if="item.currentScore > 0" style="color: #ff0000"> -{{ item?.currentScore }}</view>
<IconFont name="arrow-right"></IconFont> <IconFont name="arrow-right"></IconFont>
</view> </view>
</view> </view>