From c8056466698ad1aece108e67f6f8dddaaa62a2a3 Mon Sep 17 00:00:00 2001
From: kbing1981 <549711992@qq.com>
Date: Mon, 12 Aug 2024 17:01:25 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/kc/wjxCswj/WjxCswjStuList.vue | 43 +++++++-------
src/views/kc/wjxCswj/WjxCywjV2List.vue | 56 +++++++++++++++----
.../components/WjxWjxxTmlbDjV2Form.vue | 41 +++++++++-----
.../components/WjxWjxxTmlbDjjgsModal.vue | 2 +-
4 files changed, 93 insertions(+), 49 deletions(-)
diff --git a/src/views/kc/wjxCswj/WjxCswjStuList.vue b/src/views/kc/wjxCswj/WjxCswjStuList.vue
index 9b2dfd9..05e7dd3 100644
--- a/src/views/kc/wjxCswj/WjxCswjStuList.vue
+++ b/src/views/kc/wjxCswj/WjxCswjStuList.vue
@@ -3,7 +3,7 @@
-
-
+
+
{{getStatus(item.flag)}}
@@ -40,13 +40,13 @@
-
+
时间:{{dayjs(item.startTime).format('MM.DD HH-mm')}} - {{dayjs(item.endTime).format('MM.DD HH-mm')}}
- 开始测验
- 正在批卷
- 查看结果
+ 开始测验
+ 正在批卷
+ 查看结果
@@ -184,14 +184,13 @@
function classFun(type){
if(type == '-1'){
- return "background: #fe1a1a";
+ return 'background: linear-gradient(180deg, #4ad5b9, #18a689);';
}else if(type == '0'){
- return "background: #c6c209";
+ return 'background: linear-gradient(180deg, #fea317, #ff7d28);';
}else if(type == '1'){
- return "background: #18a689";
+ return 'background: linear-gradient(180deg, #f84444, #d40505)';
}
}
-
function getStatus(flag){
if(flag == '-1'){
return "待提交";
@@ -240,14 +239,14 @@
line-height: 30px;
}
.rotate {
- transform: rotate(45deg);
- background: rgb(28, 132, 198);
- color: #fff;
- padding: 19px 10px 3px 10px;
- position: relative;
- top: -54px;
- right: -408px;
- text-align: center;
- font-size: 11px;
- }
+ transform: rotate(45deg);
+ background: linear-gradient(90deg, #93d861, #8ddc53, #35c495);
+ color: #fff;
+ padding: 17px 10px 10px 10px;
+ position: relative;
+ top: -33px;
+ right: -404px;
+ text-align: center;
+ font-size: 12px;
+}
diff --git a/src/views/kc/wjxCswj/WjxCywjV2List.vue b/src/views/kc/wjxCswj/WjxCywjV2List.vue
index 51123f4..e4cb432 100644
--- a/src/views/kc/wjxCswj/WjxCywjV2List.vue
+++ b/src/views/kc/wjxCswj/WjxCywjV2List.vue
@@ -436,13 +436,20 @@
- 测验名称:{{ zyInfo.title }}
-
- 测验时间:{{ dayjs(zyInfo.startTime).format('MM.DD HH:mm') }} ~ {{ dayjs(zyInfo.endTime).format('MM.DD HH:mm') }}
-
- 总人数:{{ zyInfo.xkrs }}
- 已完成人数:{{ zyInfo.ywcrs }}
- 未完成人数:{{ zyInfo.wwcrs }}
+
+
+ 测验名称:{{ zyInfo.title }}
+ 测验时间:{{ dayjs(zyInfo.startTime).format('MM.DD HH:mm') }} ~ {{ dayjs(zyInfo.endTime).format('MM.DD HH:mm') }}
+
+
+
{{ zyInfo.xkrs }} 总人数
+
{{ zyInfo.ywcrs }} 已完成人数
+
{{ zyInfo.wwcrs }} 未完成人数
+
+
+
基本信息
@@ -1710,14 +1717,40 @@ onMounted(() => {
color: #029c88;
padding: 8px 20px;
border-left: 5px solid #029c88;
- margin-bottom: 20px;
+ margin: 10px;
+ border-radius:5px;
background: #fff;
}
.tjfx-col {
- font-size: 16px;
+ font-size: 12px;
padding: 8px 20px;
line-height: 25px;
}
+.tjfx-col-title {
+ font-size: 16px;
+ padding: 8px 20px;
+ line-height: 25px;
+ font-weight: bold;
+}
+.tjfx-line{
+ width: 30%;
+ text-align: center;
+ display: flex;
+ flex-direction: column;
+ background: #f7f7f7;
+ border-radius: 5px;
+ margin:0 15px;
+ padding: 8px 0;
+}
+.tjfx-colt{
+ font-size:22px;
+ font-weight: bold;
+ color: #1ab394;
+}
+.tjfx-colw{
+ font-size: 14px;
+ color: #666;
+ }
.tjfx-title {
width: 90%;
float: left;
@@ -1743,9 +1776,10 @@ onMounted(() => {
padding: 20px;
}
.question-type{
- background: #353535;
- color: #fff;
+ background: #eaf9f6;
+ color: #1ab394;
padding:0 5px;
border-radius: 3px;
+ border:1px solid #1ab394;
}
diff --git a/src/views/kc/wjxWjxx/components/WjxWjxxTmlbDjV2Form.vue b/src/views/kc/wjxWjxx/components/WjxWjxxTmlbDjV2Form.vue
index a254803..719f6d3 100644
--- a/src/views/kc/wjxWjxx/components/WjxWjxxTmlbDjV2Form.vue
+++ b/src/views/kc/wjxWjxx/components/WjxWjxxTmlbDjV2Form.vue
@@ -7,20 +7,20 @@
-
-
+
+
{{ title }}
-
+
-
单选题
+
单选题
{{ index + 1 }}、
- 题目分值: {{ item.wjScore }} 分
+ 题目分值: {{ item.wjScore }} 分
@@ -33,13 +33,13 @@
-
多选题
+
多选题
{{ index + 1 }}、
- 题目分值: {{ item.wjScore }} 分
+ 题目分值: {{ item.wjScore }} 分
@@ -54,13 +54,13 @@
-
填空题
+
填空题
- {{ index + 1 }}、
+ {{ index + 1 }}、
- 题目分值: {{ item.wjScore }} 分
+ 题目分值: {{ item.wjScore }} 分
@@ -83,9 +83,10 @@
-
-
您已提交了测验,请勿重复提交!
+ 
+
您已提交了测验,请勿重复提交! {
@@ -97,8 +98,9 @@
-
提交成功,请返回首页!
+
+ 1111提交成功,请返回首页! {
@@ -328,4 +330,13 @@ defineExpose({
}
}
}
+.answer-word{
+ color: #ff8710;
+ font-weight: bold;
+}
+.work-img-img {
+ margin: 0 auto;
+ width: 180px;
+ height: 139px;
+}
diff --git a/src/views/kc/wjxWjxx/components/WjxWjxxTmlbDjjgsModal.vue b/src/views/kc/wjxWjxx/components/WjxWjxxTmlbDjjgsModal.vue
index a9cf908..48cb084 100644
--- a/src/views/kc/wjxWjxx/components/WjxWjxxTmlbDjjgsModal.vue
+++ b/src/views/kc/wjxWjxx/components/WjxWjxxTmlbDjjgsModal.vue
@@ -15,7 +15,7 @@
import WjxWjxxTmlbAllDjjgsList from './WjxWjxxTmlbAllDjjgsList.vue'
const title = ref('');
- const width = ref('90%');
+ const width = ref('65%');
const visible = ref(false);
const disableSubmit = ref(false);
const registerForm = ref();