|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div v-if="!dataError" class="tw-h-screen">
|
|
|
+ <div v-if="!dataError" class="tw-h-screen confirm-paper">
|
|
|
<header
|
|
|
class="tw-flex tw-gap-2 tw-justify-between tw-items-center header-container"
|
|
|
>
|
|
@@ -51,14 +51,14 @@
|
|
|
class="tw-flex tw-flex-col tw-justify-between"
|
|
|
>
|
|
|
<div class="tw-m-2 tw-flex-1 tw-overflow-auto">
|
|
|
- <div v-if="pageType === 'DATA_CHECK'">
|
|
|
+ <div v-if="pageType === 'DATA_CHECK'" class="tw-my-2 top-block">
|
|
|
是否缺考:
|
|
|
<a-radio-group v-if="student" v-model:value="student.absent">
|
|
|
<a-radio :value="true">是</a-radio>
|
|
|
<a-radio :value="false">否</a-radio>
|
|
|
</a-radio-group>
|
|
|
</div>
|
|
|
- <div v-if="pageType === 'DATA_CHECK'" class="tw-my-2">
|
|
|
+ <div v-if="pageType === 'DATA_CHECK'" class="tw-my-2 top-block">
|
|
|
试卷类型:
|
|
|
<a-input
|
|
|
v-if="student"
|
|
@@ -90,7 +90,8 @@
|
|
|
<a-input
|
|
|
class="normal-input"
|
|
|
:class="{
|
|
|
- 'long-input': group.mainTitle.match(/多选|多项|不定项/),
|
|
|
+ 'long-input': group.mainTitle.match(/单选|多选|多项|不定项/),
|
|
|
+ 'middle-input': group.mainTitle.match(/判断/),
|
|
|
}"
|
|
|
:value="question.answer"
|
|
|
:maxLength="
|
|
@@ -501,6 +502,10 @@ function rotateRight() {
|
|
|
width: 94px;
|
|
|
padding: 4px;
|
|
|
}
|
|
|
+.normal-input.middle-input{
|
|
|
+ width: 61px !important;
|
|
|
+ padding: 4px;
|
|
|
+}
|
|
|
.header-container {
|
|
|
position: relative;
|
|
|
height: 56px;
|
|
@@ -537,4 +542,12 @@ function rotateRight() {
|
|
|
visibility: hidden;
|
|
|
opacity: 0;
|
|
|
}
|
|
|
-</style>
|
|
|
+.confirm-paper .top-block{
|
|
|
+ background-color:#fff;
|
|
|
+ height:50px;
|
|
|
+ padding:0 20px;
|
|
|
+ display:flex;
|
|
|
+ align-items:center;
|
|
|
+ border-radius:6px;
|
|
|
+}
|
|
|
+</style>
|