浏览代码

修改弹窗样式

zengyicheng 2 年之前
父节点
当前提交
5ced8b0ada
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      src/components/studyStudent.vue

+ 6 - 2
src/components/studyStudent.vue

@@ -2129,7 +2129,7 @@
       </div>
     </el-dialog>
     <el-dialog title="选择填空" :visible.sync="dialogVisibleSelect" :append-to-body="true"
-      :width="isSelect ? '1000px' : '800px'" :before-close="handleClose" class="dialog_diy dialog_diy3">
+      :width="isSelect ? 'maxWidth' : '800px'" :before-close="handleClose" class="dialog_diy dialog_diy3">
       <div v-if="selectJson">
         <div class="select_box2">
           <div class="select_box2_title">
@@ -4719,8 +4719,9 @@ export default {
   }
 
   .dialog_diy3>>>.el-dialog {
-    width: 95% !important;
+    width: 100% !important;
   }
+  
 
   /* .textTitle >>> .el-form-item__label {
     width: 150px !important;
@@ -6960,4 +6961,7 @@ export default {
 .pzConText:focus-visible {
   border: none !important;
 }
+.maxWidth{
+  width: 1000px;
+}
 </style>