添加证书

This commit is contained in:
@fawn-nine
2024-09-14 16:06:35 +08:00
parent d3097edd2c
commit 5ee3ec4398
15 changed files with 407 additions and 133 deletions

View File

@@ -35,13 +35,13 @@
<image v-else src="/static/icon/morenAvavter.png" mode="aspectFit"></image>
</view>
<view :class="['textItems','flex_box']">
<text class="txt555"
<view class="txt555"
v-if="item.user.nickname != null && item.user.nickname != ''">
{{item.user.nickname}}
<template>
<text>{{item.user.tel}}</text>
</template>
</text>
</view>
<text class="txt555" v-else>
匿名用户
</text>
@@ -66,20 +66,9 @@
<view class="" style="color: #ff9496;">
未考试
</view>
</view>
<!-- <view class="" v-if="thisClass.state == '2'">
<view class="ciyao">
考试成绩
</view>
<text class="score">0</text>
</view> -->
</view>
</template>
<template v-else >
<!-- <view class="" v-if="thisClass.state == '3'">
<view class="" style="color: #55aa7f;">
等待公布分数
</view>
</view> -->
<template v-else >
<view >
<view class="ciyao">
考试成绩
@@ -95,8 +84,17 @@
</template>
</template>
<!-- -->
<!-- <view v-if="classModel.isExam == 1 && thisClass.state == '2'" :class="['PM_font','zhengshu',item.student.score.certificateType == 'A' ? 'Azheng' : 'Bzheng']"
></view> -->
<template v-if="classModel.isExam == 1 && thisClass.state == '2'" >
<view v-if="item.userScore >= 60 && item.userScore < 70"
:class="['PM_font','zhengshu','Bzheng']"
></view>
<view v-else-if="item.userScore >= 70"
:class="['PM_font','zhengshu','Azheng']"
></view>
<view v-else
:class="['PM_font','zhengshu','bujige']"
></view>
</template>
</view>
</view>
</view>
@@ -114,6 +112,9 @@
}
},
beforeUpdate() {
console.log('进来了吗beforeUpdate-----------');
} ,
methods:{
clickStudent(item) {
// console.log('item', item);
@@ -212,6 +213,7 @@
}
}
.zhengshu{width: 80rpx; height: 80rpx; background-size: contain;}
.bujige{background-image: url(@/static/icon/lz.png);}
.Azheng{background-image: url(@/static/icon/Az.png);}
.Bzheng{background-image: url(@/static/icon/Bz.png);}
.classMateBox {