This commit is contained in:
@fawn-nine
2024-08-26 17:35:18 +08:00
parent 57d5beaa72
commit 4792202081
21 changed files with 726 additions and 693 deletions

View File

@@ -10,7 +10,7 @@
<view class="leve1 flex_box">
<view class="pp" style="flex: 1;" v-html="item.content"></view>
<text v-if="item.scoreSuccess == '0'" class="red light"></text>
<text v-else class="score" style="padding-left: 10rpx;">{{item.score}}'</text>
<text v-else class="score" style="padding-left: 10rpx;">{{item.score}}</text>
<!-- <text v-if="" class="blue light"></text> -->
</view>
<view :class="['leve2']">
@@ -133,13 +133,13 @@
this.getList()
// this.getList()
},
onBackPress() {
if (this.showRight || this.showLeft) {
this.$refs.showLeft.close()
this.$refs.showRight.close()
return true
}
},
// onBackPress() {
// if (this.showRight || this.showLeft) {
// this.$refs.showLeft.close()
// this.$refs.showRight.close()
// return true
// }
// },
computed: {
...mapState(["userInfo"]),
},
@@ -165,7 +165,7 @@
this.curReplay = {}
},
onSubmit() {
if(!this.form.score){
if(!this.form.score && this.form.score != 0){
uni.showToast({
title:'请选择分值',
icon:'none'
@@ -389,9 +389,7 @@
/* #endif */
flex: 1
}
.light{display: block; width: 20rpx; height: 20rpx; border-radius: 50rpx;}
.red{background-color: red;}
.blue{background-color: #55aaff;}
.submitRecode {
// padding: 20rpx;