From 53b9e36fe8dfe86c58cb94aaa47fcd2017da6d5e Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 23 Mar 2023 14:21:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E8=AF=95=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/qujing/AppMine/testList.vue | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) 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;