Selaa lähdekoodia

添加防火管理端帮助文档链接

xiaoxin 4 vuotta sitten
vanhempi
commit
c72f2a62c0
3 muutettua tiedostoa jossa 7 lisäystä ja 15 poistoa
  1. 2 2
      config/index.js
  2. 1 12
      src/components/index/index.css
  3. 4 1
      src/components/index/index.vue

+ 2 - 2
config/index.js

@@ -21,8 +21,8 @@ module.exports = {
       },
       '/diseaseRight': {
         // target: 'http://192.168.161.230:8089/disease-command',
-        // target: 'http://58.17.42.179:90/diseaseRight',
-        target: 'http://chuanghai-dev.natapp1.cc/disease-command',
+        target: 'http://58.17.42.179:90/diseaseRight',
+        // target: 'http://chuanghai-dev.natapp1.cc/disease-command',
         changeOrigin: true,
         pathRewrite: {
           '^/diseaseRight': ''

+ 1 - 12
src/components/index/index.css

@@ -138,6 +138,7 @@
 }
 
 .tx {
+	margin-left: 50px;
 	width: 54px;
 	height: 54px;
 	border-radius: 50%;
@@ -154,18 +155,6 @@
 	margin: 0 21px 0 23px;
 }
 
-.user-name {
-	height: 54px;
-	line-height: 54px;
-	font-size: 20px;
-	font-family: Microsoft YaHei-3970(82674968);
-	font-weight: 400;
-	color: #333333;
-	margin-left: 18px;
-	text-align: center;
-	white-space: nowrap;
-}
-
 .logout-btn {
 	width: 50px;
 	height: 90px;

+ 4 - 1
src/components/index/index.vue

@@ -82,8 +82,11 @@
         >
           <div class="wecome-text">{{ userName }} 您好,欢迎登陆!</div>
           <div class="right-items">
+            <div><a
+                href="http://58.17.42.179:90/smoke-explain"
+                target="_blank"
+              >帮助文档</a></div>
             <div class="tx"></div>
-            <!-- <div class="user-name">我是【{{unic}}】</div> -->
             <div class="shuxian"></div>
             <div
               class="logout-btn"