zhangjie 8 місяців тому
батько
коміт
627a07217b

+ 1 - 1
src/assets/styles/iview-custom.less

@@ -133,7 +133,7 @@
   box-shadow: 0px 0px 40px 0px rgba(4, 5, 17, 0.2);
   border-radius: 20px;
   &-mask {
-    background-color: transparent;
+    background-color: rgba(55, 55, 55, 0.3);
   }
 
   .ivu-modal-content {

+ 4 - 10
src/modules/client/components/ScanCoverWarningDialog.vue

@@ -4,23 +4,17 @@
     v-model="modalIsShow"
     :mask-closable="false"
     :closable="false"
-    :mask="false"
-    width="300px"
+    width="400px"
     @on-visible-change="visibleChange"
   >
     <div slot="header"></div>
 
-    <Form
-      ref="modalFormComp"
-      :model="modalForm"
-      :rules="rules"
-      :label-width="0"
-    >
+    <Form ref="modalFormComp" :model="modalForm" :rules="rules">
       <div class="warning-tips">
         <img src="@/assets/images/icon-error-big.png" />
         <p>试卷重复扫描作答有异常,请联系工作人员处理</p>
       </div>
-      <FormItem prop="password" label="密码">
+      <FormItem prop="password">
         <Input
           v-model.trim="modalForm.password"
           placeholder="请输入管理员密码"
@@ -30,7 +24,7 @@
       </FormItem>
     </Form>
 
-    <div slot="footer">
+    <div slot="footer" style="text-align: center;">
       <Button type="primary" :disabled="isSubmit" @click="submit">确认</Button>
     </div>
   </Modal>