yf_zd 4 лет назад
Родитель
Сommit
b746cddbeb
4 измененных файлов с 10 добавлено и 8 удалено
  1. 2 2
      config/index.js
  2. 3 1
      src/components/Login.vue
  3. 3 3
      src/components/index.vue
  4. 2 2
      src/util/server.js

+ 2 - 2
config/index.js

@@ -12,7 +12,7 @@ module.exports = {
     proxyTable: {
       '/api': {
         // target: 'http://182.92.193.64:8002/',
-        target: 'http://192.168.1.77:8000/',
+        target: 'http://192.168.1.77:8001/',
         changeOrigin: true,
         pathRewrite: {
           '^/api': '/api' //重写接口
@@ -21,7 +21,7 @@ module.exports = {
     },
 
     // Various Dev Server settings
-    host: '192.168.1.10', // can be overwritten by process.env.HOST
+    host: '192.168.1.3', // can be overwritten by process.env.HOST
     port: 8000, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
     autoOpenBrowser: false,
     errorOverlay: true,

+ 3 - 1
src/components/Login.vue

@@ -199,6 +199,8 @@ export default {
 				}
 			}
 			.loginBtn{
+				display: flex;
+    			justify-content: space-between;
 				button{
 					background: #eb959b;
 					border: none;
@@ -208,7 +210,7 @@ export default {
 					cursor: pointer;
 				}
 				button:nth-child(2){
-					margin-left: 14px;
+					// margin-left: 14px;
 					background: #15b6b4;
 				}
 				

+ 3 - 3
src/components/index.vue

@@ -234,9 +234,9 @@ export default {
         "11": 'icon-inbox-1',
         "12": 'icon-inbox-1',
         "13": 'icon-inbox-1',
-        "14": 'icon-inbox-1',
-        "15": 'icon-inbox-1',
-        "16": 'icon-inbox-1',
+        "14": 'icon-yonghu1',
+        "15": 'icon-xitong',
+        "16": 'icon-zhuti_tiaosepan_o',
         "17": 'icon-inbox-1',
         "18": 'icon-inbox-1',
         "19": 'icon-inbox-1',

+ 2 - 2
src/util/server.js

@@ -1,7 +1,7 @@
 //1.定义所有环境服务器地址
 const server = {
-    pro: "http://39.97.221.200:8002", //生产环境
-    dev: "http://182.92.193.64:8002", //测试环境
+    pro: "http://182.92.193.64:8004", //生产环境
+    dev: "http://182.92.193.64:8004", //测试环境
     util: "" //其他环境,可以为空,为空则适配到测试环境
   }
   //2.获取当前访问域名,并根据域名判断当前环境,然后获取指定环境的服务器地址