diff --git a/src/project/qujing/AppMine/testList.vue b/src/project/qujing/AppMine/testList.vue
index b301868..c1c38d7 100644
--- a/src/project/qujing/AppMine/testList.vue
+++ b/src/project/qujing/AppMine/testList.vue
@@ -12,6 +12,7 @@
{{ item.myRecord.score }}
+ {{ $dict.getLabel("qjExaminationType", item.examinationType) }}
重新考试
@@ -45,9 +46,9 @@ export default {
frontColor: "#000000",
backgroundColor: "#F4F6FA",
})
- },
- onShow() {
- this.getList()
+ this.$dict.load('qjExaminationType').then(() => {
+ this.getList()
+ })
},
methods: {
getList() {
@@ -140,6 +141,24 @@ export default {
color: #E23C3C;
}
}
+ .test-type {
+ position: absolute;
+ top: 0;
+ right: 0;
+ font-family: PingFangSC-Regular;
+ font-size: 24px;
+ color: #FFF;
+ line-height: 38px;
+ padding: 0 10px;
+ border-top-right-radius: 16px;
+ border-bottom-left-radius: 16px;
+ }
+ .test-type0 {
+ background-color: #8F5AFF;
+ }
+ .test-type1 {
+ background-color: #FF772D;
+ }
}
.bottom {
line-height: 88px;