许静 5 年之前
父節點
當前提交
ace81b2f67
共有 2 個檔案被更改,包括 5 行新增3 行删除
  1. 1
    1
      config/config.js
  2. 4
    2
      src/pages/staff/list/style.less

+ 1
- 1
config/config.js 查看文件

@@ -479,7 +479,7 @@ export default {
479 479
 
480 480
   proxy: {
481 481
     '/api/': {
482
-      target: 'http://localhost:8080/',
482
+      target: 'http://192.168.0.84:8080/',
483 483
       changeOrigin: true,
484 484
       // pathRewrite: { '^/server': '' },
485 485
     },

+ 4
- 2
src/pages/staff/list/style.less 查看文件

@@ -14,7 +14,7 @@
14 14
 
15 15
 .card {
16 16
   min-width: 330px;
17
-  margin-right: 20px;
17
+  margin-right: 2vw;
18 18
   height: 244px;
19 19
   background: rgba(255, 255, 255, 1);
20 20
   box-shadow: 0px 0px 16px 2px rgba(0, 0, 0, 0.12);
@@ -23,6 +23,7 @@
23 23
   position: relative;
24 24
 }
25 25
 
26
+
26 27
 .cardText {
27 28
   font-size: 20px;
28 29
   color: rgba(102, 102, 102, 1);
@@ -57,9 +58,10 @@
57 58
   font-size: 10px;
58 59
   border-radius: 4px;
59 60
   color: #ffffff;
60
-  line-height: 14px;
61
+  line-height: 16px;
61 62
   margin-top: 10px;
62 63
   padding: 1px 3px;
64
+
63 65
 }
64 66
 
65 67
 .title {