Browse Source

login引导

qinhouyu 1 year ago
parent
commit
4d0fd02f27
1 changed files with 21 additions and 3 deletions
  1. 21 3
      src/views/system/login.vue

+ 21 - 3
src/views/system/login.vue

@@ -22,11 +22,11 @@
       popper-class="sj-pop"
     >
       <div class="img-container">
-        <a class="img-list" onclick="window.open('https://pan.baidu.com/s/1MlWyhFw6pEYiaLvzsje-BA?pwd=3jps')">
+        <a class="img-list" :href="video_plugin_url" target="_blank">
           <img src="../../assets/images/login-b-1.png" alt="" />
           <span>视频插件</span>
         </a>
-        <a class="img-list" onclick="window.open('https://pan.baidu.com/s/1MlWyhFw6pEYiaLvzsje-BA?pwd=3jps')">
+        <a class="img-list" :href="video_plugin_url" target="_blank">
           <img src="../../assets/images/login-b-2.png" alt="" />
           <span>会议插件</span>
         </a>
@@ -37,7 +37,7 @@
             <span>手机APP</span>
           </div>
         </el-popover>
-        <a class="img-list" onclick="window.open('https://pan.baidu.com/s/1MlWyhFw6pEYiaLvzsje-BA?pwd=3jps')">
+        <a class="img-list" :href="video_plugin_url" target="_blank">
           <img src="../../assets/images/login-b-4.png" alt="" />
           <span>使用帮助</span>
         </a>
@@ -119,6 +119,9 @@
 <script>
   import StarBackground from "@/components/star";
   import {
+    getConfigKey
+  } from "@/api/system/config";
+  import {
     getCodeImg,
     fontConfig,
     getSecretKey
@@ -151,6 +154,9 @@
     },
     data() {
       return {
+        video_plugin_url: "",
+        meeting_plugin_url: "",
+        help_url: "",
         sliderOnOff: false,
         verified: true,
         popoverVisible:false,
@@ -208,6 +214,7 @@
       this.fontConfig();
     },
     mounted(){
+      this.getConfigKey();
       this.getVersionInfo();
     },
     methods: {
@@ -216,6 +223,17 @@
           this.QRCode = res.data.picUrl
         })
       },
+      getConfigKey(){
+        getConfigKey('video_plugin_url').then(response => {
+          this.video_plugin_url = response.msg
+        })
+        getConfigKey('meeting_plugin_url').then(response => {
+          this.meeting_plugin_url = response.msg
+        })
+        getConfigKey('help_url').then(response => {
+          this.help_url = response.msg
+        })
+      },
       fontConfig() {
         fontConfig().then((res) => {
           this.systemTitle.title = res.data.fontTitle;