数据显示修改
This commit is contained in:
@@ -78,7 +78,10 @@ onBeforeUnmount(() => {
|
||||
}"
|
||||
>
|
||||
<image src="../static/score-bg.png" mode="widthFix" />
|
||||
<text>{{ scores[index] }}</text>
|
||||
<text
|
||||
:style="{ fontWeight: scores[index] !== undefined ? 'bold' : 'normal' }"
|
||||
>{{ scores[index] !== undefined ? scores[index] : "-" }}</text
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -111,7 +114,6 @@ onBeforeUnmount(() => {
|
||||
}
|
||||
.score-item > text {
|
||||
position: relative;
|
||||
font-weight: bold;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.complete-light {
|
||||
|
||||
Reference in New Issue
Block a user