Selaa lähdekoodia

修改了一些弹窗

Q-ABAB 2 vuotta sitten
vanhempi
commit
b8458cb348
2 muutettua tiedostoa jossa 12 lisäystä ja 14 poistoa
  1. 2 4
      src/views/ProjectManagement3_1.vue
  2. 10 10
      src/views/messageNotification.vue

+ 2 - 4
src/views/ProjectManagement3_1.vue

@@ -196,8 +196,6 @@
       <el-dialog
           title="添加成员"
           :visible.sync="addMemberDialog"
-          :modal="false"
-          :close-on-click-modal="false"
           class="AddMember"
           :before-close="handleClose">
 
@@ -222,8 +220,8 @@
               </div>
             </div>
             <div slot="footer" class="footer">
-              <el-button @click="commit" class="diaBtn" style="background: #0e72e6;color: #fff;" size="small">确认提交</el-button>
-              <el-button @click="handleClose" class="diaBtn" style="background: #cccccc;color: #000;" size="small">取消</el-button>
+              <el-button type="primary" @click="commit" class="diaBtn" >确认提交</el-button>
+              <el-button @click="handleClose" class="diaBtn" >取消</el-button>
             </div>
       </el-dialog>
       <!--添加成员dialog对话框结束 -->

+ 10 - 10
src/views/messageNotification.vue

@@ -57,7 +57,7 @@
             <div class="operations">
                 <!-- <el-button type="primary" > -->
                     <el-button type="primary"  size="mini" @click="lookIntro(scope)">查看信息</el-button>
-                    <el-button type="primary" size="mini" @click="deletes" >删除</el-button>
+                    <el-button type="primary" size="mini"  @click="deletes" >删除</el-button>
                 <!-- </el-button> -->
             </div>
         </template>
@@ -91,8 +91,8 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="init" class="btn5" size="small">确认添加</el-button>
-        <el-button @click="init" class="btn5" style="background:#cccccc" size="small">取 消</el-button>
+        <el-button type="primary" @click="init" class="btn5">确认添加</el-button>
+        <el-button @click="init" class="btn5">取 消</el-button>
       </span>
     </el-dialog>
 <!-- 添加全站通知结束-->
@@ -107,8 +107,8 @@
       <div class="addDialogLogo">LOGO</div>
       <span class="deleteContent">确定删除通知</span>
       <span slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="dialogVisible1=false" class="btn5" size="small">确认删除</el-button>
-        <el-button @click="dialogVisible1=false" class="btn5" style="background:#cccccc" size="small">取消</el-button>
+        <el-button type="primary" @click="dialogVisible1=false" class="btn5">确认删除</el-button>
+        <el-button @click="dialogVisible1=false" class="btn5" >取消</el-button>
       </span>
     </el-dialog>
 <!-- 删除通知结束-->
@@ -136,7 +136,7 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="dialogVisible2=false" class="btn5" size="small">关闭</el-button>
+        <el-button type="primary" @click="dialogVisible2=false" class="btn5">关闭</el-button>
       </span>
     </el-dialog>
 <!-- 查看通知结束 -->
@@ -285,11 +285,11 @@
   .dialog-footer{
     display: flex;
     justify-content: center;
+    box-sizing: border-box;
+    padding-left: 50px;
+    // background-color: red;
     .btn5{
-      background: #0e72e6;
-      height: 40px;
-      font-size: 14px;
-      width: 200px;
+      font-size: 16px;
     }
   }
 }