Browse Source

更改消息通知的一些文本和按键功能

Q-ABAB 2 years ago
parent
commit
739ca8fd30
1 changed files with 8 additions and 9 deletions
  1. 8 9
      src/views/messageNotification.vue

+ 8 - 9
src/views/messageNotification.vue

@@ -103,13 +103,12 @@
       title="删除通知"
       :visible.sync="dialogVisible1"
       width="600px"
-      class="addDialog"
-      :before-close="init">
+      class="addDialog">
       <div class="addDialogLogo">LOGO</div>
       <span class="deleteContent">确定删除通知</span>
       <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="dialogVisible1=false" class="btn5" size="small">确认删除</el-button>
+        <el-button @click="dialogVisible1=false" class="btn5" style="background:#cccccc" size="small">取消</el-button>
       </span>
     </el-dialog>
 <!-- 删除通知结束-->
@@ -119,8 +118,7 @@
       title="查看通知"
       :visible.sync="dialogVisible2"
       width="600px"
-      class="addDialog"
-      :before-close="init">
+      class="addDialog">
       <div class="addDialogLogo">LOGO</div>
       <div class="addDialogMid">
         <div class="addDialogTit1">
@@ -138,7 +136,7 @@
         </div>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="init" class="btn5" size="small">关闭</el-button>
+        <el-button type="primary" @click="dialogVisible2=false" class="btn5" size="small">关闭</el-button>
       </span>
     </el-dialog>
 <!-- 查看通知结束 -->
@@ -187,7 +185,7 @@
       },
       methods:{
         deletes(){
-          this.dialogVisible1=false;
+          this.dialogVisible1=true;
         },
         init(){
           //重置
@@ -235,9 +233,10 @@
 
 
 .addDialog{
+  font-size: 18px;
   .deleteContent{
     margin: 30px 0;
-    font-size: 16px;
+    font-size: 22px;
     color: #000;
   }
   .addDialogLogo{