From bfb10b42c5fb6bc9f751f88f9351bfc19c6380a4 Mon Sep 17 00:00:00 2001
From: 黄何裕 <1053952480@qq.com>
Date: 星期二, 16 七月 2024 14:57:50 +0800
Subject: [PATCH] 样式调整

---
 src/layout/components/Navbar.vue |   25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index a122c07..2a5d731 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -38,15 +38,14 @@
       </el-dropdown>
 
     </div>
-    <div class="test-container">
-      <el-button-group style="vertical-align: text-bottom;">
-        <el-button @click="exchange(100)">鐪佸巺瑙掕壊</el-button>
-        <el-button @click="exchange(103)">鍖哄幙瑙掕壊</el-button>
-        <el-button @click="exchange(2)">杩愮淮瑙掕壊</el-button>
-      </el-button-group>
+    <div class="button-container">
+      <el-button type="primary" @click="toScreen" size="small">鍙鍖栧ぇ灞�</el-button>
     </div>
     <div class="button-container">
-      <el-button type="primary" @click="toScreen">鍙鍖栧ぇ灞�</el-button>
+      <el-button type="primary" @click="toSystemB" size="small">璺宠浆B绯荤粺</el-button>
+    </div>
+    <div class="button-container">
+      <el-button type="primary" @click="toSystemA" size="small">璺宠浆A绯荤粺</el-button>
     </div>
   </div>
 </template>
@@ -97,11 +96,6 @@
     }
   },
   methods: {
-    exchange(roleId) {
-      exchangeRole(roleId).then(response => {
-        this.$modal.msgSuccess("淇敼鎴愬姛");
-      }).catch(() => { });
-    },
     toggleSideBar() {
       this.$store.dispatch('app/toggleSideBar')
     },
@@ -121,6 +115,13 @@
       this.$router.push({
         path: '/screen'
       })
+    },
+
+    toSystemA() {
+      window.open('https://www.baidu.com/')
+    },
+    toSystemB() {
+      window.open('https://www.baidu.com/')
     }
   }
 }

--
Gitblit v1.8.0