许静 hace 5 años
padre
commit
7d2d7599fd
Se han modificado 2 ficheros con 72 adiciones y 62 borrados
  1. 1
    1
      config/config.js
  2. 71
    61
      src/global.less

+ 1
- 1
config/config.js Ver fichero

@@ -455,7 +455,7 @@ export default {
455 455
 
456 456
   proxy: {
457 457
     '/api/': {
458
-      target: 'http://localhost:8080/',
458
+      target: 'http://192.168.0.84:8080/',
459 459
       changeOrigin: true,
460 460
       // pathRewrite: { '^/server': '' },
461 461
     },

+ 71
- 61
src/global.less Ver fichero

@@ -47,77 +47,87 @@ ol {
47 47
   }
48 48
 }
49 49
 
50
-.ant-pro-global-header{
50
+.ant-layout-header .ant-pro-global-header{
51 51
   background:#393C39;
52 52
 }
53
-.ant-pro-sider-menu-sider.light .ant-pro-sider-menu-logo{
53
+.ant-layout .ant-pro-sider-menu-sider.light .ant-pro-sider-menu-logo{
54 54
   background:#EF273A;
55 55
   box-shadow: none;
56 56
   border: none;
57
-}
58
-.ant-input-affix-wrapper .ant-input-prefix{
59
-  left:7px;
60
-}
61
-.ant-input-affix-wrapper .ant-input:not(:first-child) {
62
-  padding-left: 40px;
63
-}
64
-.ant-pro-global-header-trigger{
65
-  display: none;
66
-}
67
-.ant-pro-sider-menu-sider.light{
68
-  box-shadow: none;
69
-  .ant-pro-sider-menu-logo h1{
70
-    color: #fff;
57
+  a{
58
+    h1{
59
+      color: #fff;
60
+    }
71 61
   }
72 62
 }
73
-.ant-pro-page-header-wrap-page-header-warp{
74
-  background:rgba(240,240,240,1);
75
-}
76
-.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected{
77
-  background:rgb(230, 227, 227);
78
-  border: none;
79
-}
80
-.ant-menu-inline .ant-menu-selected::after, .ant-menu-inline .ant-menu-item-selected::after{
81
-  opacity: 0;
82
-}
83
-.ant-menu-inline > .ant-menu-item{
84
-  height: 45px;
85
-  line-height: 45px;
86
-  font-size: 16px;
87
-  margin: 0;
88
-}
89
-.ant-menu.ant-pro-sider-menu{
90
-  padding: 0!important;
91
-}
92
-
93
-.ant-breadcrumb + .ant-page-header-heading{
94
-  display: none;
63
+.antd-pro-layouts-user-layout-container{
64
+  .ant-input-affix-wrapper .ant-input-prefix{
65
+    left:7px;
66
+  }
67
+  .ant-input-affix-wrapper .ant-input:not(:first-child) {
68
+    padding-left: 40px;
69
+  }
95 70
 }
96
-.ant-page-header{
97
-  height: 50px;
98
-  padding:0 30px;
99
-  line-height: 50px;
71
+ 
72
+.ant-layout{
73
+  .ant-pro-global-header-trigger{
74
+    display: none;
75
+  }
76
+  .ant-pro-sider-menu-sider.light{
77
+    box-shadow: none;
78
+    .ant-pro-sider-menu-logo h1{
79
+      color: #fff;
80
+    }
81
+  }
82
+  .ant-pro-page-header-wrap-page-header-warp{
83
+    background:rgba(240,240,240,1);
84
+  }
85
+   .ant-menu:not(.ant-menu-horizontal)  .ant-menu-item-selected{
86
+    background:rgb(230, 227, 227)!important;
87
+    border: none!important;
88
+  }
89
+  .ant-menu-inline .ant-menu-selected::after, .ant-menu-inline .ant-menu-item-selected::after{
90
+    opacity: 0;
91
+  }
92
+  .ant-menu-inline > .ant-menu-item{
93
+    height: 45px;
94
+    line-height: 45px;
95
+    font-size: 16px;
96
+    margin: 0;
97
+  }
98
+  .ant-menu.ant-pro-sider-menu{
99
+    padding: 0!important;
100
+  }
100 101
   
101
-  .ant-breadcrumb{
102
-    color: #333;
102
+  .ant-breadcrumb + .ant-page-header-heading{
103
+    display: none;
103 104
   }
104
-}
105
-.ant-pro-sider-menu-logo img{
106
-  height: 41px;
107
-}
108
-.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active {
109
-  color: #FF7E48;
110
-}
111
-.ant-table{
112
-  line-height: 3;
113
-}
114
-.ant-modal-header{
115
-  border-bottom: none;
116
-  .ant-modal-title{
117
-    font-size: 24px;
105
+  .ant-page-header{
106
+    height: 50px;
107
+    padding:0 30px;
118 108
     line-height: 50px;
109
+    
110
+    .ant-breadcrumb{
111
+      color: #333;
112
+    }
113
+  }
114
+  .ant-pro-sider-menu-logo img{
115
+    height: 41px;
116
+  }
117
+  .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active {
118
+    color: #FF7E48;
119
+  }
120
+  .ant-table{
121
+    line-height: 3;
122
+  }
123
+  .ant-modal-header{
124
+    border-bottom: none;
125
+    .ant-modal-title{
126
+      font-size: 24px;
127
+      line-height: 50px;
128
+    }
129
+  }
130
+  .ant-modal-footer{
131
+    border-top:none;
119 132
   }
120 133
 }
121
-.ant-modal-footer{
122
-  border-top:none;
123
-}