From f8b256ef152e54c19adb85856f62432d59c16b6e Mon Sep 17 00:00:00 2001
From: DESKTOP-CVS3R96\我恁爹 <11>
Date: Mon, 14 Nov 2022 19:00:29 +0800
Subject: [PATCH] wener~

---
 src/App.vue |   34 +++++++++++++++++++++++++++++++---
 1 files changed, 31 insertions(+), 3 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index 2e6466a..bc4a85e 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -22,18 +22,21 @@
         <router-view></router-view>
       </transition>
     </div>
-    <foot v-if="$route.meta.show !== true"></foot>
+    <foot v-if="$route.meta.show !== true" @close="footColse"></foot>
     <elalert></elalert>
+    <loginPopup  @close="dialogClose"/>
   </div>
 </template>
 
 <script>
 import elalert from "@/components/elalert.vue";
 import foot from "@/components/foot.vue";
+import loginPopup from "@/components/loginDialog.vue";
 export default {
   components: {
     foot,
-    elalert
+    elalert,
+    loginPopup
     },
   name: "App",
   created() {
@@ -60,7 +63,6 @@
   },
   watch: {
     $route(to, from) {
-      
       let title = to.meta.title || "首页";
       this.title = title;
       if (to.meta.iconRight) {
@@ -93,6 +95,14 @@
       is_Show:true,
       is_foot:true,
     };
+  },
+  methods: {
+    footColse(){
+      this.$store.commit('dialogVisible',true);
+    },
+    dialogClose(){
+      this.$store.commit('dialogVisible',false);
+    }
   }
 };
 </script>
@@ -235,4 +245,22 @@
 .topLeft{
   
 }
+
+/deep/.el-alert{
+  width: 75%!important;
+  height: 1.1rem!important;
+  position: absolute!important;
+  top: 0!important;
+  bottom: 0!important;
+  left: 0!important;
+  right: 0!important;
+  margin: auto!important;
+  font-size: 0.36rem!important;
+}
+/deep/.el-alert__title{
+  font-size: 0.36rem!important;
+}
+/deep/.el-icon-close::before{
+    display: none;
+}
 </style>

--
Gitblit v1.9.3