Browse Source

下载链接移到首页

wuhb 4 months ago
parent
commit
c8ba40b3c4
2 changed files with 32 additions and 2 deletions
  1. 30 0
      ygtx-ui/src/layout/components/Navbar.vue
  2. 2 2
      ygtx-ui/src/views/login.vue

+ 30 - 0
ygtx-ui/src/layout/components/Navbar.vue

@@ -44,6 +44,25 @@
           </el-dropdown-menu>
         </template>
       </el-dropdown>
+
+      <el-dropdown class="app-header" trigger="hover">
+        <div>
+          <el-button type="primary">APP</el-button>
+        </div>
+        <template #dropdown>
+          <div style="width: 310px;padding-bottom: 10px;">
+            <div style="text-align: center;" class="app-body">
+              <img src="../../assets/images/gxt-release.png" alt="logo" style="width: 150px;"/>
+              <img src="../../assets/images/gxt-release-hm.png" alt="logo" style="width: 150px;"/>
+            </div>
+            <div style="padding-left: 10px;font-size: 16px;">1.连接龙源内网或VPN</div>
+            <div style="padding-left: 10px;font-size: 16px;">2.打开微信扫一扫</div>
+            <div style="padding-left: 10px;font-size: 16px;">3.点击右上角</div>
+            <div style="padding-left: 10px;font-size: 16px;">4.选择"在浏览器中打开"</div>
+            <div style="padding-left: 10px;font-size: 16px;">5.选择"继续安装"</div>
+          </div>
+        </template>
+      </el-dropdown>
     </div>
   </div>
 </template>
@@ -66,6 +85,7 @@ import {getAppInfo} from "@/api/system/dashboard";
 const appStore = useAppStore()
 const userStore = useUserStore()
 const settingsStore = useSettingsStore()
+const show = ref(false)
 
 const { proxy } = getCurrentInstance()
 
@@ -86,6 +106,10 @@ function handleCommand(command) {
   }
 }
 
+function close() {
+  show.value = false
+}
+
 function logout() {
   ElMessageBox.confirm('确定注销并退出系统吗?', '提示', {
     confirmButtonText: '确定',
@@ -231,6 +255,12 @@ function showViersion() {
         }
       }
     }
+    .app-header{
+      padding: 10px;
+    }
+    .app-body{
+      width: 200px;
+    }
   }
 }
 </style>

+ 2 - 2
ygtx-ui/src/views/login.vue

@@ -57,13 +57,13 @@
         </div>
       </el-form-item>
     </el-form>
-    <div>
+    <!-- <div>
       <img src="../assets/images/gxt-release.png" alt="logo"
       style="position: fixed; bottom: 10px; right: 10px; width: 120px;" />
 
       <img src="../assets/images/gxt-release-hm.png" alt="logo"
       style="position: fixed; bottom: 10px; right: 140px; width: 120px;" />
-    </div>
+    </div> -->
     <!--  底部  -->
     <div class="el-login-footer">
       <span>Copyright © 2025-2025 ygtxfj.com All Rights Reserved.</span>