dingxin 5 years ago
parent
commit
1ba634b848

+ 355
- 5
config/config.js View File

2
 
2
 
3
 import slash from 'slash2';
3
 import slash from 'slash2';
4
 import webpackPlugin from './plugin.config';
4
 import webpackPlugin from './plugin.config';
5
-import routes from './routes';
6
-import proxy from './proxy';
7
-
8
 const { pwa, primaryColor } = defaultSettings; // preview.pro.ant.design only do not use in your production ;
5
 const { pwa, primaryColor } = defaultSettings; // preview.pro.ant.design only do not use in your production ;
9
 // preview.pro.ant.design 专用环境变量,请不要在你的项目中使用它。
6
 // preview.pro.ant.design 专用环境变量,请不要在你的项目中使用它。
10
 
7
 
85
   },
82
   },
86
   devtool: isAntDesignProPreview ? 'source-map' : false,
83
   devtool: isAntDesignProPreview ? 'source-map' : false,
87
   // umi routes: https://umijs.org/zh/guide/router.html
84
   // umi routes: https://umijs.org/zh/guide/router.html
88
-  routes,
85
+  routes: [
86
+    {
87
+      path: '/user',
88
+      component: '../layouts/UserLayout',
89
+      routes: [
90
+        {
91
+          name: 'login',
92
+          path: '/user/login',
93
+          component: './user/login',
94
+        },
95
+      ],
96
+    },
97
+    {
98
+      path: '/',
99
+      component: '../layouts/SecurityLayout',
100
+      routes: [
101
+        {
102
+          path: '/',
103
+          component: '../layouts/BasicLayout',
104
+          authority: ['admin', 'user'],
105
+          routes: [
106
+            {
107
+              path: '/',
108
+              redirect: '/welcome',
109
+            },
110
+            {
111
+              path: '/welcome',
112
+              name: '首页',
113
+              component: './Welcome',
114
+            },
115
+            {
116
+              path: '/building',
117
+              name: '项目管理',
118
+              component: '../layouts/BlankLayout',
119
+              routes: [
120
+                {
121
+                  path: '/building/list',
122
+                  name: '项目列表',
123
+                  component: './building/list/index',
124
+                },
125
+                {
126
+                  path: '/building/list/add',
127
+                  name: '项目添加', // 项目添加
128
+                  hideInMenu: true,
129
+                  component: './building/list/add/index',
130
+                },
131
+                {
132
+                  path: '/building/type',
133
+                  name: '项目类型',
134
+                  component: './building/type/index',
135
+                },
136
+                {
137
+                  path: '/building/type/edi',
138
+                  name: '项目类型编辑',
139
+                  hideInMenu: true,
140
+                  component: './building/type/edi',
141
+                },
142
+              ],
143
+            },
144
+            {
145
+              path: '/customer',
146
+              name: '客户管理',
147
+              component: '../layouts/BlankLayout',
148
+              routes: [
149
+                {
150
+                  path: '/customer/customerlist/list',
151
+                  name: '客户列表',
152
+                  component: './customer/customerlist/index',
153
+                },
154
+                {
155
+                  path: '/customer/customerlist/customerDetail',
156
+                  name: '客户编辑',
157
+                  hideInMenu: true,
158
+                  component: './customer/customerlist/customerDetail',
159
+                },
160
+                {
161
+                  path: '/customer/drift/list',
162
+                  name: '游客列表',
163
+                  component: './customer/drift/index',
164
+                },
165
+                {
166
+                  path: '/customer/report/list',
167
+                  name: '报备客户',
168
+                  component: './customer/report/index',
169
+                },
170
+                {
171
+                  path: '/customer/recommendCustomer/list',
172
+                  name: '推荐客户',
173
+                  component: './customer/recommendCustomer/index',
174
+                },
175
+                {
176
+                  path: '/customer/recommendCustomer/audit',
177
+                  name: '客户审核', 
178
+                  hideInMenu: true,
179
+                  component: './customer/recommendCustomer/audit',
180
+                },
181
+                {
182
+                  path: '/customer/independentList',
183
+                  name: '经纪人',
184
+                  component: './customer/independentList/index',
185
+                },
186
+              ],
187
+            },
188
+            {
189
+              path: '/integralMall',
190
+              name: '积分商城',
191
+              component: '../layouts/BlankLayout',
192
+              routes: [
193
+                {
194
+                  path: '/integralMall/GoodsList',
195
+                  name: '商品列表',
196
+                  component: './integralMall/GoodsList',
197
+                },
198
+                {
199
+                  path: '/integralMall/achieve',
200
+                  name: '积分获取',
201
+                  component: './integralMall/achieve',
202
+                },
203
+                {
204
+                  path: '/integralMall/editGoods',
205
+                  name: '商品编辑',
206
+                  hideInMenu: true,
207
+                  component: './integralMall/editGoods',
208
+                },
209
+                {
210
+                  path: '/integralMall/exchangeRecords',
211
+                  name: '兑换记录',
212
+                  component: './integralMall/exchangeRecords',
213
+                },
214
+                {
215
+                  path: '/integralMall/writeOff',
216
+                  name: '商品核销',
217
+                  component: './integralMall/writeOff',
218
+                },
219
+                {
220
+                  path: '/integralMall/verifyList',
221
+                  name: '商品核销列表',
222
+                  hideInMenu: true,
223
+                  component: './integralMall/verifyList',
224
+                },
225
+              ],
226
+            },
227
+            {
228
+              path: '/channel',
229
+              name: '渠道管理',
230
+              component: '../layouts/BlankLayout',
231
+              routes: [
232
+                {
233
+                  path: '/channel/channelList',
234
+                  name: '渠道管理',
235
+                  component: './channel/channelList',
236
+                },
237
+                {
238
+                  path: '/channel/addChannel',
239
+                  name: '添加渠道',
240
+                  hideInMenu: true,
241
+                  component: './channel/addChannel',
242
+                },
243
+                {
244
+                  path: '/channel/editChannel',
245
+                  name: '编辑渠道',
246
+                  hideInMenu: true,
247
+                  component: './channel/editChannel',
248
+                },
249
+                {
250
+                  path: '/channel/brokerList',
251
+                  name: '经纪人',
252
+                  component: './channel/brokerList',
253
+                },
254
+                {
255
+                  path: '/channel/recommendClients',
256
+                  name: '渠道推荐',
257
+                  hideInMenu: true,
258
+                  component: './channel/recommendClients',
259
+                },
260
+                {
261
+                  path: '/channel/InviteClients',
262
+                  name: '邀请客户',
263
+                  hideInMenu: true,
264
+                  component: './channel/InviteClients',
265
+                },
266
+              ],
267
+            },
268
+            {
269
+              path: '/news',
270
+              name: '资讯管理',
271
+              component: '../layouts/BlankLayout',
272
+              routes: [
273
+                {
274
+                  path: '/news/type/NewsType',
275
+                  name: '资讯类型',
276
+                  component: './news/type/NewsType',
277
+                },
278
+                {
279
+                  path: '/news/type/editNews',
280
+                  name: '编辑资讯类型',
281
+                  hideInMenu: true,
282
+                  component: './news/type/editNews',
283
+                },
284
+                {
285
+                  path: '/news/list/NewsList',
286
+                  name: '资讯列表',
287
+                  component: './news/list/NewsList',
288
+                },
289
+                {
290
+                  path: '/news/list/editNewsList',
291
+                  name: '编辑资讯',
292
+                  hideInMenu: true,
293
+                  component: './news/list/editNewsList',
294
+                },
295
+              ],
296
+            },
297
+            {
298
+              path: '/activity',
299
+              name: '活动管理',
300
+              component: '../layouts/BlankLayout',
301
+              routes: [
302
+                {
303
+                  path: '/activity/ActivityList',
304
+                  name: '活动列表',
305
+                  component: './activity/ActivityList',
306
+                },
307
+                {
308
+                  path: '/activity/editActivity',
309
+                  name: '编辑活动',
310
+                  hideInMenu: true,
311
+                  component: './activity/editActivity',
312
+                },
313
+                {
314
+                  path: '/activity/SignList',
315
+                  name: '报名列表',
316
+                  hideInMenu: true,
317
+                  component: './activity/SignList',
318
+                },
319
+              ],
320
+            },
321
+            {
322
+              path: '/staff',
323
+              name: '员工管理',
324
+              component: '../layouts/BlankLayout',
325
+              routes: [
326
+                {
327
+                  path: '/staff/StaffList',
328
+                  name: '员工列表',
329
+                  component: './staff/list/StaffList',
330
+                },
331
+                {
332
+                  path: '/staff/editStaff',
333
+                  name: '编辑员工',
334
+                  hideInMenu: true,
335
+                  component: './staff/list/editStaff',
336
+                },
337
+
338
+                {
339
+                  path: '/staff/RoleList',
340
+                  name: '角色管理',
341
+                  component: './staff/list/RoleList',
342
+                },
343
+                {
344
+                  path: '/staff/editRole',
345
+                  name: '编辑角色',
346
+                  hideInMenu: true,
347
+                  component: './staff/list/editRole',
348
+                },
349
+                {
350
+                  path: '/staff/list/addRole',
351
+                  name: '添加角色',
352
+                  hideInMenu: true,
353
+                  component: './staff/list/addRole',
354
+                },  
355
+              ],
356
+            },
357
+            {
358
+              path: '/carouselFigure',
359
+              name: '轮播图管理',
360
+              component: '../layouts/BlankLayout',
361
+              routes: [
362
+                {
363
+                  path: '/carouselFigure/carouselFigureList',
364
+                  name: '轮播图列表',
365
+                  component: './carouselFigure/carouselFigureList',
366
+                },
367
+                {
368
+                  path: '/carouselFigure/editCarousel',
369
+                  name: '轮播图编辑',
370
+                  hideInMenu: true,
371
+                  component: './carouselFigure/editCarousel',
372
+                },
373
+                {
374
+                  path: '/carouselFigure/advertisingList',
375
+                  name: '开屏广告',
376
+                  component: './carouselFigure/advertisingList',
377
+                },
378
+                {
379
+                  path: '/carouselFigure/editAdvertising',
380
+                  name: '开屏广告编辑',
381
+                  hideInMenu: true,
382
+                  component: './carouselFigure/editAdvertising',
383
+                },
384
+              ],
385
+            },
386
+            {
387
+              path: '/system',
388
+              name: '系统管理',
389
+              component: '../layouts/BlankLayout',
390
+              routes: [
391
+                {
392
+                  path: '/system/messageList',
393
+                  name: '客户留言',
394
+                  component: './system/messageList',
395
+                },
396
+                {
397
+                  path: '/system/report',
398
+                  name: '报表数据',
399
+                  component: './system/report',
400
+                },
401
+                {
402
+                  path: '/system/intention',
403
+                  name: '意向值',
404
+                  component: './system/intention',
405
+                },
406
+                {
407
+                  path: '/system/housingPolicy',
408
+                  name: '购房政策维护',
409
+                  component: './system/housingPolicy',
410
+                },
411
+                {
412
+                  path: '/system/editPolicy',
413
+                  name: '购房政策编辑',
414
+                  hideInMenu: true,
415
+                  component: './system/editPolicy',
416
+                },
417
+              ],
418
+            },
419
+            {
420
+              component: './404',
421
+            },
422
+          ],
423
+        },
424
+        {
425
+          component: './404',
426
+        },
427
+      ],
428
+    },
429
+    {
430
+      component: './404',
431
+    },
432
+  ],
89
   // Theme for antd: https://ant.design/docs/react/customize-theme-cn
433
   // Theme for antd: https://ant.design/docs/react/customize-theme-cn
90
   theme: {
434
   theme: {
91
     'primary-color': primaryColor,
435
     'primary-color': primaryColor,
133
   },
477
   },
134
   chainWebpack: webpackPlugin,
478
   chainWebpack: webpackPlugin,
135
 
479
 
136
-  proxy,
480
+  proxy: {
481
+    '/api/': {
482
+      target: 'http://localhost:8080/',
483
+      changeOrigin: true,
484
+      // pathRewrite: { '^/server': '' },
485
+    },
486
+  },
137
 };
487
 };

+ 16
- 16
src/app.js View File

1
-// (function (doc, win) {
2
-//   var docEl = doc.documentElement,
3
-//     resizeEvt = 'onorientationchange' in window ? 'onorientationchange' : 'resize',
4
-//     recalc = function () {
5
-//       var clientWidth = docEl.clientWidth;
6
-//       if (!clientWidth) return;
7
-//       if (clientWidth >= 750) {
8
-//         docEl.style.fontSize = '100px';
9
-//       } else {
10
-//         docEl.style.fontSize = 100 * (clientWidth / 750) + 'px';
11
-//       }
12
-//     };
1
+(function (doc, win) {
2
+  var docEl = doc.documentElement,
3
+    resizeEvt = 'onorientationchange' in window ? 'onorientationchange' : 'resize',
4
+    recalc = function () {
5
+      var clientWidth = docEl.clientWidth;
6
+      if (!clientWidth) return;
7
+      if (clientWidth < 1200) {
8
+        docEl.style.fontSize = '100px';
9
+      } else {
10
+        docEl.style.fontSize = 100 * (clientWidth / 1200) + 'px';
11
+      }
12
+    };
13
 
13
 
14
-//   if (!doc.addEventListener) return;
15
-//   win.addEventListener(resizeEvt, recalc, false);
16
-//   doc.addEventListener('DOMContentLoaded', recalc, false);
17
-// })(document, window);
14
+  if (!doc.addEventListener) return;
15
+  win.addEventListener(resizeEvt, recalc, false);
16
+  doc.addEventListener('DOMContentLoaded', recalc, false);
17
+})(document, window);
18
 
18
 
19
 export const dva = {
19
 export const dva = {
20
   config: {
20
   config: {

+ 10
- 3
src/global.less View File

80
 .ant-menu-vertical-right .ant-menu-submenu-title,
80
 .ant-menu-vertical-right .ant-menu-submenu-title,
81
 .ant-menu-inline .ant-menu-submenu-title,
81
 .ant-menu-inline .ant-menu-submenu-title,
82
 .ant-input ,.ant-btn,.ant-select,.ant-table,.ant-form-item,.ant-form label,.ant-tabs-nav-container {
82
 .ant-input ,.ant-btn,.ant-select,.ant-table,.ant-form-item,.ant-form label,.ant-tabs-nav-container {
83
-  font-size: 16px;
83
+  font-size: 0.1rem;
84
+  
85
+}
86
+.ant-input{
87
+  height: 32px;
88
+  border-radius: 4px;
89
+  padding: 0 0 0 10px;
90
+  align-items: center;
84
 }
91
 }
85
 .ant-row.ant-form-item .ant-form-item-label.ant-col-sm-3{
92
 .ant-row.ant-form-item .ant-form-item-label.ant-col-sm-3{
86
   min-width: 100px;
93
   min-width: 100px;
87
 }
94
 }
88
 .ant-breadcrumb{
95
 .ant-breadcrumb{
89
-  font-size: 16px;
96
+  font-size: 0.1rem;
90
   .anticon {
97
   .anticon {
91
-    font-size: 16px;
98
+    font-size: 0.1rem;
92
   }
99
   }
93
 } 
100
 } 
94
   .ant-pro-global-header-trigger{
101
   .ant-pro-global-header-trigger{

+ 0
- 401
src/pages/building/list/add/amap.css View File

1
-html {
2
-  font-size: 12px;
3
-}
4
-.amap-copyright {
5
-  box-sizing: content-box;
6
-}
7
-* {
8
-  box-sizing: border-box;
9
-}
10
-.input-textarea {
11
-  color: grey;
12
-  height: 8em;
13
-  overflow: auto;
14
-  border-radius: 0.4rem;
15
-  border: 1px solid #ced4da;
16
-  margin-bottom: 1rem;
17
-}
18
-body {
19
-  margin: 0;
20
-  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
21
-  line-height: 1.5;
22
-  font-weight: 300;
23
-  color: #111213;
24
-}
25
-hr {
26
-  margin: 0.5rem 0;
27
-  box-sizing: content-box;
28
-  height: 0;
29
-  overflow: visible;
30
-  border: 0;
31
-  border-top: 1px solid rgba(0, 0, 0, 0.1);
32
-}
33
-p {
34
-  margin-top: 0;
35
-  margin-bottom: 0;
36
-}
37
-label {
38
-  display: inline-block;
39
-  margin-bottom: 0.4rem;
40
-}
41
-label,
42
-.btn {
43
-  margin-left: 0;
44
-  font-size: 1rem;
45
-}
46
-button,
47
-input,
48
-select {
49
-  margin: 0;
50
-  font-family: inherit;
51
-  font-size: inherit;
52
-  line-height: inherit;
53
-  overflow: visible;
54
-  text-transform: none;
55
-}
56
-[type=button]::-moz-focus-inner,
57
-[type=reset]::-moz-focus-inner,
58
-[type=submit]::-moz-focus-inner,
59
-button::-moz-focus-inner {
60
-  padding: 0;
61
-  border-style: none;
62
-}
63
-input[type=checkbox],
64
-input[type=radio] {
65
-  -webkit-box-sizing: border-box;
66
-  box-sizing: border-box;
67
-  padding: 0;
68
-  margin: 0 0.5rem 0 0;
69
-}
70
-h4 {
71
-  font-family: inherit;
72
-  line-height: 1.8;
73
-  font-weight: 300;
74
-  color: inherit;
75
-  font-size: 1.1rem;
76
-  margin-top: 0;
77
-  margin-bottom: 0.5rem;
78
-}
79
-.btn {
80
-  display: inline-block;
81
-  font-weight: 400;
82
-  text-align: center;
83
-  white-space: nowrap;
84
-  vertical-align: middle;
85
-  -webkit-user-select: none;
86
-  -moz-user-select: none;
87
-  -ms-user-select: none;
88
-  user-select: none;
89
-  border: 1px solid transparent;
90
-  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
91
-  background-color: transparent;
92
-  background-image: none;
93
-  color: #25A5F7;
94
-  border-color: #25A5F7;
95
-  padding: .25rem .5rem;
96
-  line-height: 1.5;
97
-  border-radius: 1rem;
98
-  -webkit-appearance: button;
99
-  cursor: pointer;
100
-}
101
-.btn:hover {
102
-  color: #fff;
103
-  background-color: #25A5F7;
104
-  border-color: #25A5F7;
105
-}
106
-.btn:hover {
107
-  text-decoration: none;
108
-}
109
-.input-item {
110
-  position: relative;
111
-  display: -ms-flexbox;
112
-  display: flex;
113
-  -ms-flex-wrap: wrap;
114
-  flex-wrap: wrap;
115
-  -ms-flex-align: center;
116
-  align-items: center;
117
-  width: 100%;
118
-  height: 3rem;
119
-}
120
-.input-item:last-child {
121
-  margin-bottom: 0;
122
-}
123
-.input-item > select,
124
-.input-item > input[type=text],
125
-.input-item > input[type=date] {
126
-  position: relative;
127
-  -ms-flex: 1 1 auto;
128
-  flex: 1 1 auto;
129
-  width: 1%;
130
-  margin-bottom: 0;
131
-}
132
-.input-item > select:not(:last-child),
133
-.input-item > input[type=text]:not(:last-child),
134
-.input-item > input[type=date]:not(:last-child) {
135
-  border-top-right-radius: 0;
136
-  border-bottom-right-radius: 0;
137
-}
138
-.input-item > select:not(:first-child),
139
-.input-item > input[type=text]:not(:first-child),
140
-.input-item > input[type=date]:not(:first-child) {
141
-  border-top-left-radius: 0;
142
-  border-bottom-left-radius: 0;
143
-}
144
-.input-item-prepend {
145
-  margin-right: -1px;
146
-}
147
-.input-item-text,
148
-input[type=text],
149
-input[type=date],
150
-select {
151
-  height: calc(4.2rem);
152
-}
153
-.input-item-text {
154
-  width: 6rem;
155
-  text-align: justify;
156
-  padding: 0.4rem 0.7rem;
157
-  display: inline-block;
158
-  text-justify: distribute-all-lines;
159
-  /*ie6-8*/
160
-  text-align-last: justify;
161
-  /* ie9*/
162
-  -moz-text-align-last: justify;
163
-  /*ff*/
164
-  -webkit-text-align-last: justify;
165
-  /*chrome 20+*/
166
-  -ms-flex-align: center;
167
-  align-items: center;
168
-  margin-bottom: 0;
169
-  font-size: 1rem;
170
-  font-weight: 400;
171
-  line-height: 1.5;
172
-  color: #495057;
173
-  text-align: center;
174
-  white-space: nowrap;
175
-  background-color: #e9ecef;
176
-  border: 1px solid #ced4da;
177
-  border-radius: .25rem;
178
-  border-bottom-right-radius: 0;
179
-  border-top-right-radius: 0;
180
-}
181
-.input-item-text input[type=checkbox],
182
-.input-item-text input[type=radio] {
183
-  margin-top: 0;
184
-}
185
-.input-card {
186
-  display: flex;
187
-  flex-direction: column;
188
-  min-width: 0;
189
-  word-wrap: break-word;
190
-  background-color: #fff;
191
-  background-clip: border-box;
192
-  border-radius: .25rem;
193
-  width: 22rem;
194
-  border-width: 0;
195
-  border-radius: 0.4rem;
196
-  box-shadow: 0 2px 6px 0 rgba(114, 124, 245, 0.5);
197
-  position: fixed;
198
-  bottom: 1rem;
199
-  right: 1rem;
200
-  -ms-flex: 1 1 auto;
201
-  flex: 1 1 auto;
202
-  padding: 0.75rem 1.25rem;
203
-}
204
-.input-text {
205
-  line-height: 2rem;
206
-  margin-right: 2rem;
207
-}
208
-.info hr {
209
-  margin-right: 0;
210
-  margin-left: 0;
211
-  border-top-color: grey;
212
-}
213
-.info {
214
-  padding: .75rem 1.25rem;
215
-  margin-bottom: 1rem;
216
-  border-radius: .25rem;
217
-  position: fixed;
218
-  top: 1rem;
219
-  background-color: white;
220
-  width: auto;
221
-  min-width: 22rem;
222
-  border-width: 0;
223
-  right: 1rem;
224
-  box-shadow: 0 2px 6px 0 rgba(114, 124, 245, 0.5);
225
-  position: absolute;
226
-  z-index: 100;
227
-}
228
-.code {
229
-  left: 1.5rem;
230
-  right: 1.5rem;
231
-  top: 1.5rem;
232
-  bottom: 1.5rem;
233
-  overflow: auto;
234
-  margin-bottom: 0rem;
235
-}
236
-.code .btn {
237
-  top: 1rem;
238
-  position: absolute;
239
-  right: 1rem;
240
-}
241
-.code .result {
242
-  border: 1px solid rgba(0, 0, 0, 0.1);
243
-  border-radius: 0.5rem;
244
-  padding: 1rem;
245
-  bottom: 1rem;
246
-  position: absolute;
247
-  top: 5.5rem;
248
-  right: 1rem;
249
-  left: 1rem;
250
-  overflow: auto;
251
-}
252
-.code .status {
253
-  color: #80adff;
254
-  display: inline-block;
255
-  font-size: 14px;
256
-}
257
-.code h4 {
258
-  display: inline-block;
259
-  max-width: 20rem;
260
-  margin-right: 1rem;
261
-  margin-bottom: 1rem;
262
-}
263
-select,
264
-input[type=text],
265
-input[type=date] {
266
-  display: inline-block;
267
-  width: 100%;
268
-  padding: .375rem 1.75rem .375rem .75rem;
269
-  line-height: 1.5;
270
-  color: #495057;
271
-  vertical-align: middle;
272
-  background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
273
-  background-size: 8px 10px;
274
-  border: 1px solid #ced4da;
275
-  border-radius: .25rem;
276
-  -webkit-appearance: none;
277
-  -moz-appearance: none;
278
-  appearance: none;
279
-}
280
-input[type=text],
281
-input[type=date] {
282
-  background: #fff;
283
-  padding: .375rem .75rem;
284
-}
285
-select:focus,
286
-input[type=text]:focus,
287
-input[type=date]:focus {
288
-  border-color: #80bdff;
289
-  outline: 0;
290
-  box-shadow: 0 0 0 0.1rem rgba(128, 189, 255, 0.1);
291
-}
292
-.btn:focus {
293
-  outline: 0;
294
-  box-shadow: none;
295
-}
296
-select:focus::-ms-value,
297
-input[type=text]:focus::-ms-value,
298
-input[type=date]:focus::-ms-value {
299
-  color: #495057;
300
-  background-color: #fff;
301
-}
302
-/* native toastr */
303
-.native-toast {
304
-  position: fixed;
305
-  background-color: rgba(50, 50, 50, 0.8);
306
-  border-radius: 33px;
307
-  color: white;
308
-  left: 50%;
309
-  text-align: center;
310
-  padding: 6px 12px;
311
-  opacity: 0;
312
-  z-index: 99999;
313
-  transition: transform .25s, opacity .25s, top .25s;
314
-  box-sizing: border-box;
315
-}
316
-.native-toast-bottom {
317
-  bottom: 50px;
318
-  -ms-transform: translateX(-50%) translateY(50px);
319
-  transform: translateX(-50%) translateY(50px);
320
-}
321
-.native-toast-bottom.native-toast-shown {
322
-  opacity: 1;
323
-  -ms-transform: translateX(-50%) translateY(0);
324
-  transform: translateX(-50%) translateY(0);
325
-}
326
-.native-toast-bottom.native-toast-edge {
327
-  bottom: 0;
328
-}
329
-.native-toast-top {
330
-  top: 50px;
331
-  -ms-transform: translateX(-50%) translateY(-50px);
332
-  transform: translateX(-50%) translateY(-50px);
333
-}
334
-.native-toast-top.native-toast-shown {
335
-  opacity: 1;
336
-  -ms-transform: translateX(-50%) translateY(0);
337
-  transform: translateX(-50%) translateY(0);
338
-}
339
-.native-toast-top.native-toast-edge {
340
-  top: 0;
341
-}
342
-.native-toast-center {
343
-  top: 0;
344
-  -ms-transform: translateX(-50%) translateY(-50px);
345
-  transform: translateX(-50%) translateY(-50px);
346
-}
347
-.native-toast-center.native-toast-shown {
348
-  opacity: 1;
349
-  top: 50%;
350
-  -ms-transform: translateX(-50%) translateY(-50%);
351
-  transform: translateX(-50%) translateY(-50%);
352
-}
353
-.native-toast-edge {
354
-  border-radius: 0;
355
-  width: 100%;
356
-  text-align: left;
357
-}
358
-@media screen and (min-width: 40rem) {
359
-  .native-toast:not(.native-toast-edge) {
360
-    max-width: 18rem;
361
-  }
362
-}
363
-/*
364
-  max-width does not seem to work in small screen?
365
-*/
366
-/*@media screen and (max-width: 768px) {
367
-  .native-toast:not(.native-toast-edge) {
368
-    max-width: 400px;
369
-  }
370
-}
371
-
372
-@media screen and (max-width: 468px) {
373
-  .native-toast:not(.native-toast-edge) {
374
-    max-width: 300px;
375
-  }
376
-}*/
377
-/* types */
378
-.native-toast-error {
379
-  background-color: #d92727;
380
-  color: white;
381
-}
382
-.native-toast-success {
383
-  background-color: #62a465;
384
-  color: white;
385
-}
386
-.native-toast-warning {
387
-  background-color: #fdaf17;
388
-  color: white;
389
-}
390
-.native-toast-info {
391
-  background-color: #5060ba;
392
-  color: white;
393
-}
394
-[class^="native-toast-icon-"] {
395
-  vertical-align: middle;
396
-  margin-right: 8px;
397
-}
398
-[class^="native-toast-icon-"] svg {
399
-  width: 16px;
400
-  height: 16px;
401
-}

+ 291
- 290
src/pages/building/list/add/amap.less View File

13
    overflow:auto;
13
    overflow:auto;
14
    border-radius:0.4rem;
14
    border-radius:0.4rem;
15
    border:1px solid #ced4da;
15
    border:1px solid #ced4da;
16
-   margin-bottom:1rem;
16
+   margin-bottom:0.1rem;
17
 }
17
 }
18
 body {
18
 body {
19
   margin: 0;
19
   margin: 0;
44
 
44
 
45
 label, .btn {
45
 label, .btn {
46
   margin-left: 0;
46
   margin-left: 0;
47
-  font-size: 1rem;
47
+  font-size: 0.18rem;
48
 }
48
 }
49
 
49
 
50
 button, input, select {
50
 button, input, select {
75
   line-height: 1.8;
75
   line-height: 1.8;
76
   font-weight: 300;
76
   font-weight: 300;
77
   color: inherit;
77
   color: inherit;
78
-  font-size: 1.1rem;
78
+  font-size: 0.2rem;
79
   margin-top: 0;
79
   margin-top: 0;
80
   margin-bottom: .5rem
80
   margin-bottom: .5rem
81
 }
81
 }
82
 
82
 
83
-.btn {
84
-  display: inline-block;
85
-  font-weight: 400;
86
-  text-align: center;
87
-  white-space: nowrap;
88
-  vertical-align: middle;
89
-  -webkit-user-select: none;
90
-  -moz-user-select: none;
91
-  -ms-user-select: none;
92
-  user-select: none;
93
-  border: 1px solid transparent;
94
-  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
95
-  background-color: transparent;
96
-  background-image: none;
97
-  color: #25A5F7;
98
-  border-color: #25A5F7;
99
-  padding: .25rem .5rem;
100
-  line-height: 1.5;
101
-  border-radius: 1rem;
102
-  -webkit-appearance: button;
103
-  cursor:pointer;
104
-}
105
-
106
-.btn:hover {
107
-  color: #fff;
108
-  background-color: #25A5F7;
109
-  border-color: #25A5F7
110
-}
111
-
112
-.btn:hover {
113
-  text-decoration: none
114
-}
115
-
116
-.input-item {
117
-  position: relative;
118
-  display: -ms-flexbox;
119
-  display: flex;
120
-  -ms-flex-wrap: wrap;
121
-  flex-wrap: wrap;
122
-  -ms-flex-align: center;
123
-  align-items: center;
124
-  width: 100%;
125
-  height: 3rem;
126
-}
127
-
128
-.input-item:last-child {
129
-  margin-bottom: 0;
130
-}
131
-
132
-.input-item>select, .input-item>input[type=text], .input-item>input[type=date] {
133
-  position: relative;
134
-  -ms-flex: 1 1 auto;
135
-  flex: 1 1 auto;
136
-  width: 1%;
137
-  margin-bottom: 0;
138
-}
139
-
140
-.input-item>select:not(:last-child), .input-item>input[type=text]:not(:last-child), .input-item>input[type=date]:not(:last-child) {
141
-  border-top-right-radius: 0;
142
-  border-bottom-right-radius: 0
143
-}
144
-
145
-.input-item>select:not(:first-child), .input-item>input[type=text]:not(:first-child), .input-item>input[type=date]:not(:first-child) {
146
-  border-top-left-radius: 0;
147
-  border-bottom-left-radius: 0
148
-}
149
-
150
-.input-item-prepend {
151
-  margin-right: -1px;
152
-}
153
-
154
-.input-item-text, input[type=text],input[type=date], select {
155
-  height: calc(2.2rem + 2px);
156
-}
157
-
158
-.input-item-text {
159
-  width: 6rem;
160
-  text-align: justify;
161
-  padding: 0.4rem 0.7rem;
162
-  display: inline-block;
163
-  text-justify: distribute-all-lines;
164
-  /*ie6-8*/
165
-  text-align-last: justify;
166
-  /* ie9*/
167
-  -moz-text-align-last: justify;
168
-  /*ff*/
169
-  -webkit-text-align-last: justify;
170
-  /*chrome 20+*/
171
-  -ms-flex-align: center;
172
-  align-items: center;
173
-  margin-bottom: 0;
174
-  font-size: 1rem;
175
-  font-weight: 400;
176
-  line-height: 1.5;
177
-  color: #495057;
178
-  text-align: center;
179
-  white-space: nowrap;
180
-  background-color: #e9ecef;
181
-  border: 1px solid #ced4da;
182
-  border-radius: .25rem;
183
-  border-bottom-right-radius: 0;
184
-  border-top-right-radius: 0;
185
-}
186
-
187
-.input-item-text input[type=checkbox], .input-item-text input[type=radio] {
188
-  margin-top: 0
189
-}
190
-
191
-.input-card {
192
-  display: flex;
193
-  flex-direction: column;
194
-  min-width: 0;
195
-  word-wrap: break-word;
196
-  background-color: #fff;
197
-  background-clip: border-box;
198
-  border-radius: .25rem;
199
-  width: 22rem;
200
-  border-width: 0;
201
-  border-radius: 0.4rem;
202
-  box-shadow: 0 2px 6px 0 rgba(114, 124, 245, .5);
203
-  position: fixed;
204
-  bottom: 1rem;
205
-  right: 1rem;
206
-  -ms-flex: 1 1 auto;
207
-  flex: 1 1 auto;
208
-  padding: 0.75rem 1.25rem;
209
-}
210
-
211
-.input-text {
212
-  line-height: 2rem;
213
-  margin-right: 2rem;
214
-}
215
-
216
-.info hr {
217
-  margin-right: 0;
218
-  margin-left: 0;
219
-  border-top-color: grey;
220
-}
83
+// .btn {
84
+//   display: inline-block;
85
+//   font-weight: 400;
86
+//   text-align: center;
87
+//   white-space: nowrap;
88
+//   vertical-align: middle;
89
+//   -webkit-user-select: none;
90
+//   -moz-user-select: none;
91
+//   -ms-user-select: none;
92
+//   user-select: none;
93
+//   border: 1px solid transparent;
94
+//   transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
95
+//   background-color: transparent;
96
+//   background-image: none;
97
+//   color: #25A5F7;
98
+//   border-color: #25A5F7;
99
+//   padding: .25rem .5rem;
100
+//   line-height: 1.5;
101
+//   border-radius: 1rem;
102
+//   -webkit-appearance: button;
103
+//   cursor:pointer;
104
+// }
105
+
106
+// .btn:hover {
107
+//   color: #fff;
108
+//   background-color: #25A5F7;
109
+//   border-color: #25A5F7
110
+// }
111
+
112
+// .btn:hover {
113
+//   text-decoration: none
114
+// }
115
+
116
+// .input-item {
117
+//   position: relative;
118
+//   display: -ms-flexbox;
119
+//   display: flex;
120
+//   -ms-flex-wrap: wrap;
121
+//   flex-wrap: wrap;
122
+//   -ms-flex-align: center;
123
+//   align-items: center;
124
+//   width: 100%;
125
+//   height: 3rem;
126
+// }
127
+
128
+// .input-item:last-child {
129
+//   margin-bottom: 0;
130
+// }
131
+
132
+// .input-item>select, .input-item>input[type=text], .input-item>input[type=date] {
133
+//   position: relative;
134
+//   -ms-flex: 1 1 auto;
135
+//   flex: 1 1 auto;
136
+//   width: 1%;
137
+//   margin-bottom: 0;
138
+// }
139
+
140
+// .input-item>select:not(:last-child), .input-item>input[type=text]:not(:last-child), .input-item>input[type=date]:not(:last-child) {
141
+//   border-top-right-radius: 0;
142
+//   border-bottom-right-radius: 0
143
+// }
144
+
145
+// .input-item>select:not(:first-child), .input-item>input[type=text]:not(:first-child), .input-item>input[type=date]:not(:first-child) {
146
+//   border-top-left-radius: 0;
147
+//   border-bottom-left-radius: 0
148
+// }
149
+
150
+// .input-item-prepend {
151
+//   margin-right: -1px;
152
+// }
153
+
154
+// .input-item-text, input[type=text],input[type=date], select {
155
+//   height: calc(2.2rem + 2px);
156
+// }
157
+
158
+// .input-item-text {
159
+//   width: 6rem;
160
+//   text-align: justify;
161
+//   padding: 0.4rem 0.7rem;
162
+//   display: inline-block;
163
+//   text-justify: distribute-all-lines;
164
+//   /*ie6-8*/
165
+//   text-align-last: justify;
166
+//   /* ie9*/
167
+//   -moz-text-align-last: justify;
168
+//   /*ff*/
169
+//   -webkit-text-align-last: justify;
170
+//   /*chrome 20+*/
171
+//   -ms-flex-align: center;
172
+//   align-items: center;
173
+//   margin-bottom: 0;
174
+//   font-size: 1rem;
175
+//   font-weight: 400;
176
+//   line-height: 1.5;
177
+//   color: #495057;
178
+//   text-align: center;
179
+//   white-space: nowrap;
180
+//   background-color: #e9ecef;
181
+//   border: 1px solid #ced4da;
182
+//   border-radius: .25rem;
183
+//   border-bottom-right-radius: 0;
184
+//   border-top-right-radius: 0;
185
+// }
186
+
187
+// .input-item-text input[type=checkbox], .input-item-text input[type=radio] {
188
+//   margin-top: 0
189
+// }
190
+
191
+// .input-card {
192
+//   display: flex;
193
+//   flex-direction: column;
194
+//   min-width: 0;
195
+//   word-wrap: break-word;
196
+//   background-color: #fff;
197
+//   background-clip: border-box;
198
+//   border-radius: .25rem;
199
+//   width: 22rem;
200
+//   border-width: 0;
201
+//   border-radius: 0.4rem;
202
+//   box-shadow: 0 2px 6px 0 rgba(114, 124, 245, .5);
203
+//   position: fixed;
204
+//   bottom: 1rem;
205
+//   right: 1rem;
206
+//   -ms-flex: 1 1 auto;
207
+//   flex: 1 1 auto;
208
+//   padding: 0.75rem 1.25rem;
209
+// }
210
+
211
+// .input-text {
212
+//   line-height: 2rem;
213
+//   margin-right: 2rem;
214
+// }
215
+
216
+// .info hr {
217
+//   margin-right: 0;
218
+//   margin-left: 0;
219
+//   border-top-color: grey;
220
+// }
221
 
221
 
222
 .infoBox {
222
 .infoBox {
223
-  padding: .75rem 1.25rem;
223
+  padding: .2rem 0.2rem;
224
   position: absolute;
224
   position: absolute;
225
-  top: 1rem;
225
+  top: 0.3rem;
226
+  left: 0.3rem;
226
   background-color: white;
227
   background-color: white;
227
-  width: auto;
228
-  min-width: 22rem;
229
-  left: 1rem;
228
+  width: 3.2rem;
230
   box-shadow: 0 2px 6px 0 rgba(114, 124, 245, .5);
229
   box-shadow: 0 2px 6px 0 rgba(114, 124, 245, .5);
231
   z-index: 100;
230
   z-index: 100;
232
   .inputText{
231
   .inputText{
233
     margin-right: 10px;
232
     margin-right: 10px;
234
   }
233
   }
235
   .input{
234
   .input{
236
-    width: 200px;
235
+    width: 1.6rem;
236
+    height: 0.34rem;
237
+    font-size: 0.16rem;
237
   }
238
   }
238
  
239
  
239
 }
240
 }
240
 
241
 
241
-.code {
242
-  left: 1.5rem;
243
-  right: 1.5rem;
244
-  top: 1.5rem;
245
-  bottom: 1.5rem;
246
-  overflow: auto;
247
-  margin-bottom: 0rem;
248
-}
249
-
250
-.code .btn {
251
-  top: 1rem;
252
-  position: absolute;
253
-  right: 1rem;
254
-}
255
-
256
-.code .result {
257
-  border: 1px solid rgba(0, 0, 0, 0.1);
258
-  border-radius: 0.5rem;
259
-  padding: 1rem;
260
-  bottom: 1rem;
261
-  position: absolute;
262
-  top: 5.5rem;
263
-  right: 1rem;
264
-  left: 1rem;
265
-  overflow: auto;
266
-}
267
-
268
-.code .status {
269
-  color: #80adff;
270
-  display: inline-block;
271
-  font-size: 14px;
272
-}
273
-
274
-.code h4 {
275
-  display: inline-block;
276
-  max-width: 20rem;
277
-  margin-right: 1rem;
278
-  margin-bottom: 1rem;
279
-}
280
-
281
-select, input[type=text], input[type=date] {
282
-  display: inline-block;
283
-  // width: 100%;
284
-  padding: .375rem 1.75rem .375rem .75rem;
285
-  line-height: 1.5;
286
-  color: #495057;
287
-  vertical-align: middle;
288
-  background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right .75rem center;
289
-  background-size: 8px 10px;
290
-  border: 1px solid #ced4da;
291
-  border-radius: .25rem;
292
-  -webkit-appearance: none;
293
-  -moz-appearance: none;
294
-  appearance: none
295
-}
296
-
297
-input[type=text],input[type=date] {
298
-  background: #fff;
299
-  padding: .375rem .75rem;
300
-}
301
-
302
-select:focus, input[type=text]:focus, input[type=date]:focus {
303
-  border-color: #80bdff;
304
-  outline: 0;
305
-  box-shadow: 0 0 0 .1rem rgba(128, 189, 255, .1)
306
-}
307
-
308
-.btn:focus {
309
-  outline: 0;
310
-  box-shadow: none;
311
-}
312
-
313
-select:focus::-ms-value, input[type=text]:focus::-ms-value,input[type=date]:focus::-ms-value {
314
-  color: #495057;
315
-  background-color: #fff
316
-}
317
-
318
-
319
-/* native toastr */
320
-.native-toast {
321
-  position: fixed;
322
-  background-color: rgba(50, 50, 50, .8);
323
-  border-radius: 33px;
324
-  color: white;
325
-  left: 50%;
326
-  text-align: center;
327
-  padding: 6px 12px;
328
-  opacity: 0;
329
-  z-index: 99999;
330
-  transition: transform .25s, opacity .25s, top .25s;
331
-  box-sizing: border-box;
332
-}
333
-
334
-.native-toast-bottom {
335
-  bottom: 50px;
336
-  -ms-transform: translateX(-50%) translateY(50px);
337
-      transform: translateX(-50%) translateY(50px)
338
-}
339
-
340
-.native-toast-bottom.native-toast-shown {
341
-  opacity: 1;
342
-  -ms-transform: translateX(-50%) translateY(0);
343
-      transform: translateX(-50%) translateY(0);
344
-}
345
-
346
-.native-toast-bottom.native-toast-edge {
347
-  bottom: 0;
348
-}
349
-
350
-.native-toast-top {
351
-  top: 50px;
352
-  -ms-transform: translateX(-50%) translateY(-50px);
353
-      transform: translateX(-50%) translateY(-50px)
354
-}
355
-
356
-.native-toast-top.native-toast-shown {
357
-  opacity: 1;
358
-  -ms-transform: translateX(-50%) translateY(0);
359
-      transform: translateX(-50%) translateY(0);
360
-}
361
-
362
-.native-toast-top.native-toast-edge {
363
-  top: 0;
364
-}
365
-
366
-.native-toast-center {
367
-  top: 0;
368
-  -ms-transform: translateX(-50%) translateY(-50px);
369
-      transform: translateX(-50%) translateY(-50px)
370
-}
371
-
372
-.native-toast-center.native-toast-shown {
373
-  opacity: 1;
374
-  top: 50%;
375
-  -ms-transform: translateX(-50%) translateY(-50%);
376
-      transform: translateX(-50%) translateY(-50%);
377
-}
378
-
379
-.native-toast-edge {
380
-  border-radius: 0;
381
-  width: 100%;
382
-  text-align: left;
383
-}
242
+// .code {
243
+//   left: 1.5rem;
244
+//   right: 1.5rem;
245
+//   top: 1.5rem;
246
+//   bottom: 1.5rem;
247
+//   overflow: auto;
248
+//   margin-bottom: 0rem;
249
+// }
250
+
251
+// .code .btn {
252
+//   top: 1rem;
253
+//   position: absolute;
254
+//   right: 1rem;
255
+// }
256
+
257
+// .code .result {
258
+//   border: 1px solid rgba(0, 0, 0, 0.1);
259
+//   border-radius: 0.5rem;
260
+//   padding: 1rem;
261
+//   bottom: 1rem;
262
+//   position: absolute;
263
+//   top: 5.5rem;
264
+//   right: 1rem;
265
+//   left: 1rem;
266
+//   overflow: auto;
267
+// }
268
+
269
+// .code .status {
270
+//   color: #80adff;
271
+//   display: inline-block;
272
+//   font-size: 14px;
273
+// }
274
+
275
+// .code h4 {
276
+//   display: inline-block;
277
+//   max-width: 20rem;
278
+//   margin-right: 1rem;
279
+//   margin-bottom: 1rem;
280
+// }
281
+
282
+// select, input[type=text], input[type=date] {
283
+//   display: inline-block;
284
+//   // width: 100%;
285
+//   padding: .375rem 1.75rem .375rem .75rem;
286
+//   line-height: 1.5;
287
+//   color: #495057;
288
+//   vertical-align: middle;
289
+//   background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right .75rem center;
290
+//   background-size: 8px 10px;
291
+//   border: 1px solid #ced4da;
292
+//   border-radius: .25rem;
293
+//   -webkit-appearance: none;
294
+//   -moz-appearance: none;
295
+//   appearance: none
296
+// }
297
+
298
+// input[type=text],input[type=date] {
299
+//   background: #fff;
300
+//   padding: .375rem .75rem;
301
+// }
302
+
303
+// select:focus, input[type=text]:focus, input[type=date]:focus {
304
+//   border-color: #80bdff;
305
+//   outline: 0;
306
+//   box-shadow: 0 0 0 .1rem rgba(128, 189, 255, .1)
307
+// }
308
+
309
+// .btn:focus {
310
+//   outline: 0;
311
+//   box-shadow: none;
312
+// }
313
+
314
+// select:focus::-ms-value, input[type=text]:focus::-ms-value,input[type=date]:focus::-ms-value {
315
+//   color: #495057;
316
+//   background-color: #fff
317
+// }
318
+
319
+
320
+// /* native toastr */
321
+// .native-toast {
322
+//   position: fixed;
323
+//   background-color: rgba(50, 50, 50, .8);
324
+//   border-radius: 33px;
325
+//   color: white;
326
+//   left: 50%;
327
+//   text-align: center;
328
+//   padding: 6px 12px;
329
+//   opacity: 0;
330
+//   z-index: 99999;
331
+//   transition: transform .25s, opacity .25s, top .25s;
332
+//   box-sizing: border-box;
333
+// }
334
+
335
+// .native-toast-bottom {
336
+//   bottom: 50px;
337
+//   -ms-transform: translateX(-50%) translateY(50px);
338
+//       transform: translateX(-50%) translateY(50px)
339
+// }
340
+
341
+// .native-toast-bottom.native-toast-shown {
342
+//   opacity: 1;
343
+//   -ms-transform: translateX(-50%) translateY(0);
344
+//       transform: translateX(-50%) translateY(0);
345
+// }
346
+
347
+// .native-toast-bottom.native-toast-edge {
348
+//   bottom: 0;
349
+// }
350
+
351
+// .native-toast-top {
352
+//   top: 50px;
353
+//   -ms-transform: translateX(-50%) translateY(-50px);
354
+//       transform: translateX(-50%) translateY(-50px)
355
+// }
356
+
357
+// .native-toast-top.native-toast-shown {
358
+//   opacity: 1;
359
+//   -ms-transform: translateX(-50%) translateY(0);
360
+//       transform: translateX(-50%) translateY(0);
361
+// }
362
+
363
+// .native-toast-top.native-toast-edge {
364
+//   top: 0;
365
+// }
366
+
367
+// .native-toast-center {
368
+//   top: 0;
369
+//   -ms-transform: translateX(-50%) translateY(-50px);
370
+//       transform: translateX(-50%) translateY(-50px)
371
+// }
372
+
373
+// .native-toast-center.native-toast-shown {
374
+//   opacity: 1;
375
+//   top: 50%;
376
+//   -ms-transform: translateX(-50%) translateY(-50%);
377
+//       transform: translateX(-50%) translateY(-50%);
378
+// }
379
+
380
+// .native-toast-edge {
381
+//   border-radius: 0;
382
+//   width: 100%;
383
+//   text-align: left;
384
+// }
384
 
385
 
385
 @media screen and (min-width: 40rem) {
386
 @media screen and (min-width: 40rem) {
386
   .native-toast:not(.native-toast-edge) {
387
   .native-toast:not(.native-toast-edge) {

+ 0
- 401
src/pages/building/list/add/amap.wxss View File

1
-html {
2
-  font-size: 12px;
3
-}
4
-.amap-copyright {
5
-  box-sizing: content-box;
6
-}
7
-* {
8
-  box-sizing: border-box;
9
-}
10
-.input-textarea {
11
-  color: grey;
12
-  height: 8em;
13
-  overflow: auto;
14
-  border-radius: 0.4rem;
15
-  border: 1px solid #ced4da;
16
-  margin-bottom: 1rem;
17
-}
18
-body {
19
-  margin: 0;
20
-  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
21
-  line-height: 1.5;
22
-  font-weight: 300;
23
-  color: #111213;
24
-}
25
-hr {
26
-  margin: 0.5rem 0;
27
-  box-sizing: content-box;
28
-  height: 0;
29
-  overflow: visible;
30
-  border: 0;
31
-  border-top: 1px solid rgba(0, 0, 0, 0.1);
32
-}
33
-p {
34
-  margin-top: 0;
35
-  margin-bottom: 0;
36
-}
37
-label {
38
-  display: inline-block;
39
-  margin-bottom: 0.4rem;
40
-}
41
-label,
42
-.btn {
43
-  margin-left: 0;
44
-  font-size: 1rem;
45
-}
46
-button,
47
-input,
48
-select {
49
-  margin: 0;
50
-  font-family: inherit;
51
-  font-size: inherit;
52
-  line-height: inherit;
53
-  overflow: visible;
54
-  text-transform: none;
55
-}
56
-[type=button]::-moz-focus-inner,
57
-[type=reset]::-moz-focus-inner,
58
-[type=submit]::-moz-focus-inner,
59
-button::-moz-focus-inner {
60
-  padding: 0;
61
-  border-style: none;
62
-}
63
-input[type=checkbox],
64
-input[type=radio] {
65
-  -webkit-box-sizing: border-box;
66
-  box-sizing: border-box;
67
-  padding: 0;
68
-  margin: 0 0.5rem 0 0;
69
-}
70
-h4 {
71
-  font-family: inherit;
72
-  line-height: 1.8;
73
-  font-weight: 300;
74
-  color: inherit;
75
-  font-size: 1.1rem;
76
-  margin-top: 0;
77
-  margin-bottom: 0.5rem;
78
-}
79
-.btn {
80
-  display: inline-block;
81
-  font-weight: 400;
82
-  text-align: center;
83
-  white-space: nowrap;
84
-  vertical-align: middle;
85
-  -webkit-user-select: none;
86
-  -moz-user-select: none;
87
-  -ms-user-select: none;
88
-  user-select: none;
89
-  border: 1px solid transparent;
90
-  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
91
-  background-color: transparent;
92
-  background-image: none;
93
-  color: #25A5F7;
94
-  border-color: #25A5F7;
95
-  padding: .25rem .5rem;
96
-  line-height: 1.5;
97
-  border-radius: 1rem;
98
-  -webkit-appearance: button;
99
-  cursor: pointer;
100
-}
101
-.btn:hover {
102
-  color: #fff;
103
-  background-color: #25A5F7;
104
-  border-color: #25A5F7;
105
-}
106
-.btn:hover {
107
-  text-decoration: none;
108
-}
109
-.input-item {
110
-  position: relative;
111
-  display: -ms-flexbox;
112
-  display: flex;
113
-  -ms-flex-wrap: wrap;
114
-  flex-wrap: wrap;
115
-  -ms-flex-align: center;
116
-  align-items: center;
117
-  width: 100%;
118
-  height: 3rem;
119
-}
120
-.input-item:last-child {
121
-  margin-bottom: 0;
122
-}
123
-.input-item > select,
124
-.input-item > input[type=text],
125
-.input-item > input[type=date] {
126
-  position: relative;
127
-  -ms-flex: 1 1 auto;
128
-  flex: 1 1 auto;
129
-  width: 1%;
130
-  margin-bottom: 0;
131
-}
132
-.input-item > select:not(:last-child),
133
-.input-item > input[type=text]:not(:last-child),
134
-.input-item > input[type=date]:not(:last-child) {
135
-  border-top-right-radius: 0;
136
-  border-bottom-right-radius: 0;
137
-}
138
-.input-item > select:not(:first-child),
139
-.input-item > input[type=text]:not(:first-child),
140
-.input-item > input[type=date]:not(:first-child) {
141
-  border-top-left-radius: 0;
142
-  border-bottom-left-radius: 0;
143
-}
144
-.input-item-prepend {
145
-  margin-right: -1px;
146
-}
147
-.input-item-text,
148
-input[type=text],
149
-input[type=date],
150
-select {
151
-  height: calc(4.2rem);
152
-}
153
-.input-item-text {
154
-  width: 6rem;
155
-  text-align: justify;
156
-  padding: 0.4rem 0.7rem;
157
-  display: inline-block;
158
-  text-justify: distribute-all-lines;
159
-  /*ie6-8*/
160
-  text-align-last: justify;
161
-  /* ie9*/
162
-  -moz-text-align-last: justify;
163
-  /*ff*/
164
-  -webkit-text-align-last: justify;
165
-  /*chrome 20+*/
166
-  -ms-flex-align: center;
167
-  align-items: center;
168
-  margin-bottom: 0;
169
-  font-size: 1rem;
170
-  font-weight: 400;
171
-  line-height: 1.5;
172
-  color: #495057;
173
-  text-align: center;
174
-  white-space: nowrap;
175
-  background-color: #e9ecef;
176
-  border: 1px solid #ced4da;
177
-  border-radius: .25rem;
178
-  border-bottom-right-radius: 0;
179
-  border-top-right-radius: 0;
180
-}
181
-.input-item-text input[type=checkbox],
182
-.input-item-text input[type=radio] {
183
-  margin-top: 0;
184
-}
185
-.input-card {
186
-  display: flex;
187
-  flex-direction: column;
188
-  min-width: 0;
189
-  word-wrap: break-word;
190
-  background-color: #fff;
191
-  background-clip: border-box;
192
-  border-radius: .25rem;
193
-  width: 22rem;
194
-  border-width: 0;
195
-  border-radius: 0.4rem;
196
-  box-shadow: 0 2px 6px 0 rgba(114, 124, 245, 0.5);
197
-  position: fixed;
198
-  bottom: 1rem;
199
-  right: 1rem;
200
-  -ms-flex: 1 1 auto;
201
-  flex: 1 1 auto;
202
-  padding: 0.75rem 1.25rem;
203
-}
204
-.input-text {
205
-  line-height: 2rem;
206
-  margin-right: 2rem;
207
-}
208
-.info hr {
209
-  margin-right: 0;
210
-  margin-left: 0;
211
-  border-top-color: grey;
212
-}
213
-.info {
214
-  padding: .75rem 1.25rem;
215
-  margin-bottom: 1rem;
216
-  border-radius: .25rem;
217
-  position: fixed;
218
-  top: 1rem;
219
-  background-color: white;
220
-  width: auto;
221
-  min-width: 22rem;
222
-  border-width: 0;
223
-  right: 1rem;
224
-  box-shadow: 0 2px 6px 0 rgba(114, 124, 245, 0.5);
225
-  position: absolute;
226
-  z-index: 100;
227
-}
228
-.code {
229
-  left: 1.5rem;
230
-  right: 1.5rem;
231
-  top: 1.5rem;
232
-  bottom: 1.5rem;
233
-  overflow: auto;
234
-  margin-bottom: 0rem;
235
-}
236
-.code .btn {
237
-  top: 1rem;
238
-  position: absolute;
239
-  right: 1rem;
240
-}
241
-.code .result {
242
-  border: 1px solid rgba(0, 0, 0, 0.1);
243
-  border-radius: 0.5rem;
244
-  padding: 1rem;
245
-  bottom: 1rem;
246
-  position: absolute;
247
-  top: 5.5rem;
248
-  right: 1rem;
249
-  left: 1rem;
250
-  overflow: auto;
251
-}
252
-.code .status {
253
-  color: #80adff;
254
-  display: inline-block;
255
-  font-size: 14px;
256
-}
257
-.code h4 {
258
-  display: inline-block;
259
-  max-width: 20rem;
260
-  margin-right: 1rem;
261
-  margin-bottom: 1rem;
262
-}
263
-select,
264
-input[type=text],
265
-input[type=date] {
266
-  display: inline-block;
267
-  width: 100%;
268
-  padding: .375rem 1.75rem .375rem .75rem;
269
-  line-height: 1.5;
270
-  color: #495057;
271
-  vertical-align: middle;
272
-  background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
273
-  background-size: 8px 10px;
274
-  border: 1px solid #ced4da;
275
-  border-radius: .25rem;
276
-  -webkit-appearance: none;
277
-  -moz-appearance: none;
278
-  appearance: none;
279
-}
280
-input[type=text],
281
-input[type=date] {
282
-  background: #fff;
283
-  padding: .375rem .75rem;
284
-}
285
-select:focus,
286
-input[type=text]:focus,
287
-input[type=date]:focus {
288
-  border-color: #80bdff;
289
-  outline: 0;
290
-  box-shadow: 0 0 0 0.1rem rgba(128, 189, 255, 0.1);
291
-}
292
-.btn:focus {
293
-  outline: 0;
294
-  box-shadow: none;
295
-}
296
-select:focus::-ms-value,
297
-input[type=text]:focus::-ms-value,
298
-input[type=date]:focus::-ms-value {
299
-  color: #495057;
300
-  background-color: #fff;
301
-}
302
-/* native toastr */
303
-.native-toast {
304
-  position: fixed;
305
-  background-color: rgba(50, 50, 50, 0.8);
306
-  border-radius: 33px;
307
-  color: white;
308
-  left: 50%;
309
-  text-align: center;
310
-  padding: 6px 12px;
311
-  opacity: 0;
312
-  z-index: 99999;
313
-  transition: transform .25s, opacity .25s, top .25s;
314
-  box-sizing: border-box;
315
-}
316
-.native-toast-bottom {
317
-  bottom: 50px;
318
-  -ms-transform: translateX(-50%) translateY(50px);
319
-  transform: translateX(-50%) translateY(50px);
320
-}
321
-.native-toast-bottom.native-toast-shown {
322
-  opacity: 1;
323
-  -ms-transform: translateX(-50%) translateY(0);
324
-  transform: translateX(-50%) translateY(0);
325
-}
326
-.native-toast-bottom.native-toast-edge {
327
-  bottom: 0;
328
-}
329
-.native-toast-top {
330
-  top: 50px;
331
-  -ms-transform: translateX(-50%) translateY(-50px);
332
-  transform: translateX(-50%) translateY(-50px);
333
-}
334
-.native-toast-top.native-toast-shown {
335
-  opacity: 1;
336
-  -ms-transform: translateX(-50%) translateY(0);
337
-  transform: translateX(-50%) translateY(0);
338
-}
339
-.native-toast-top.native-toast-edge {
340
-  top: 0;
341
-}
342
-.native-toast-center {
343
-  top: 0;
344
-  -ms-transform: translateX(-50%) translateY(-50px);
345
-  transform: translateX(-50%) translateY(-50px);
346
-}
347
-.native-toast-center.native-toast-shown {
348
-  opacity: 1;
349
-  top: 50%;
350
-  -ms-transform: translateX(-50%) translateY(-50%);
351
-  transform: translateX(-50%) translateY(-50%);
352
-}
353
-.native-toast-edge {
354
-  border-radius: 0;
355
-  width: 100%;
356
-  text-align: left;
357
-}
358
-@media screen and (min-width: 40rem) {
359
-  .native-toast:not(.native-toast-edge) {
360
-    max-width: 18rem;
361
-  }
362
-}
363
-/*
364
-  max-width does not seem to work in small screen?
365
-*/
366
-/*@media screen and (max-width: 768px) {
367
-  .native-toast:not(.native-toast-edge) {
368
-    max-width: 400px;
369
-  }
370
-}
371
-
372
-@media screen and (max-width: 468px) {
373
-  .native-toast:not(.native-toast-edge) {
374
-    max-width: 300px;
375
-  }
376
-}*/
377
-/* types */
378
-.native-toast-error {
379
-  background-color: #d92727;
380
-  color: white;
381
-}
382
-.native-toast-success {
383
-  background-color: #62a465;
384
-  color: white;
385
-}
386
-.native-toast-warning {
387
-  background-color: #fdaf17;
388
-  color: white;
389
-}
390
-.native-toast-info {
391
-  background-color: #5060ba;
392
-  color: white;
393
-}
394
-[class^="native-toast-icon-"] {
395
-  vertical-align: middle;
396
-  margin-right: 8px;
397
-}
398
-[class^="native-toast-icon-"] svg {
399
-  width: 16px;
400
-  height: 16px;
401
-}

+ 7
- 7
src/pages/building/list/add/components/base.jsx View File

11
 import TagGroup from './tags'
11
 import TagGroup from './tags'
12
 import Amap from './amap'
12
 import Amap from './amap'
13
 import BudildingProjectType from './buildingProjectType'
13
 import BudildingProjectType from './buildingProjectType'
14
+import SelectCity from '../../../../../components/SelectButton/CitySelect'
14
 
15
 
15
 const { Option } = Select
16
 const { Option } = Select
16
 const { TabPane } = Tabs;
17
 const { TabPane } = Tabs;
116
             {getFieldDecorator('dynamic')(<Input />)}
117
             {getFieldDecorator('dynamic')(<Input />)}
117
           </Form.Item>
118
           </Form.Item>
118
           <Form.Item label="物业类型" hasFeedback>
119
           <Form.Item label="物业类型" hasFeedback>
119
-            {getFieldDecorator('buildingProperty')(
120
-              <Select mode="multiple" placeholder="物业类型" style={{ width: '1016px' }}>
121
-                <Option value="未知">未知</Option>
122
-              </Select>,
120
+            {getFieldDecorator('propertyType')(
121
+              // <Select mode="multiple" placeholder="物业类型" style={{ width: '1016px' }}>
122
+              //   <Option value="未知">未知</Option>
123
+              // </Select>,
124
+              <Input />,
123
             )}
125
             )}
124
           </Form.Item>
126
           </Form.Item>
125
           <Form.Item label="销售状态" hasFeedback>
127
           <Form.Item label="销售状态" hasFeedback>
163
           </Form.Item>
165
           </Form.Item>
164
           <Form.Item label="所在城市" hasFeedback>
166
           <Form.Item label="所在城市" hasFeedback>
165
             {getFieldDecorator('cityId')(
167
             {getFieldDecorator('cityId')(
166
-              <Select placeholder="选择城市" style={{ width: '200px' }}>
167
-                <Option value="red">Red</Option>
168
-              </Select>,
168
+              <SelectCity />,
169
             )}
169
             )}
170
           </Form.Item>
170
           </Form.Item>
171
           <Form.Item label="楼盘区域" hasFeedback>
171
           <Form.Item label="楼盘区域" hasFeedback>

+ 3
- 5
src/pages/building/list/index.jsx View File

6
 import Styles from './style.less';
6
 import Styles from './style.less';
7
 import { router } from 'umi';
7
 import { router } from 'umi';
8
 import AuthButton from '@/components/AuthButton';
8
 import AuthButton from '@/components/AuthButton';
9
+import SelectCity from '../../../components/SelectButton/CitySelect'
9
 
10
 
10
 
11
 
11
 const { Option } = Select;
12
 const { Option } = Select;
137
         <span className={Styles.title}>录入时间</span>
138
         <span className={Styles.title}>录入时间</span>
138
         <span >:{data.createDate}</span>
139
         <span >:{data.createDate}</span>
139
       </p>
140
       </p>
140
-      <p style={{ margin: '15px 0', position: 'relative', fontSize: '18px' }}>
141
+      <p style={{ margin: '15px 0', position: 'relative', fontSize: '1.1remrem' }}>
141
         <span style={{ color: '#FF4A4A' }} onClick={() => pulicAndUnPulic(data)}>
142
         <span style={{ color: '#FF4A4A' }} onClick={() => pulicAndUnPulic(data)}>
142
           {/* 已发布的时候,需要显示取消发布的字样 */}
143
           {/* 已发布的时候,需要显示取消发布的字样 */}
143
           {data.status === 1 ? '取消发布' : '发布'}
144
           {data.status === 1 ? '取消发布' : '发布'}
266
         </Form.Item>
267
         </Form.Item>
267
         <Form.Item>
268
         <Form.Item>
268
           {getFieldDecorator('cityId')(
269
           {getFieldDecorator('cityId')(
269
-            <Select style={{ width: '180px' }} placeholder="城市" onChange={handleSelectChange}>
270
-              <Option value="male">male</Option>
271
-              <Option value="female">female</Option>
272
-            </Select>,
270
+             <SelectCity />,
273
           )}
271
           )}
274
         </Form.Item>
272
         </Form.Item>
275
         <Form.Item>
273
         <Form.Item>

+ 0
- 53
src/pages/building/list/style.css View File

1
-.SubmitButton {
2
-  background: #3a91d5;
3
-  border-radius: 7px;
4
-  border: 0px;
5
-}
6
-.SelectFrom {
7
-  width: 180px;
8
-  background: #ffffff;
9
-  border-radius: 7px;
10
-  border: 1px solid #dbdbdb;
11
-}
12
-.addButton {
13
-  border-radius: 4px;
14
-  border: 0px;
15
-  margin: 10px 0px;
16
-}
17
-.cardText {
18
-  font-size: 18px;
19
-  color: #333;
20
-  line-height: 24px;
21
-  display: flex;
22
-  align-items: center;
23
-  position: relative;
24
-}
25
-.cardItem {
26
-  font-size: 18px;
27
-  font-weight: 400;
28
-  color: #666;
29
-  line-height: 24px;
30
-  display: flex;
31
-  align-items: center;
32
-}
33
-.ediText {
34
-  font-size: 18px;
35
-  color: #ff925c;
36
-  line-height: 24px;
37
-  position: absolute;
38
-  right: 0;
39
-}
40
-.title {
41
-  display: inline-block;
42
-  width: 84px;
43
-  justify-content: space-between;
44
-  text-align: justify;
45
-  text-align-last: justify;
46
-}
47
-.address {
48
-  width: 400px;
49
-  height: 24px;
50
-  text-overflow: ellipsis;
51
-  white-space: nowrap;
52
-  overflow: hidden;
53
-}

+ 3
- 3
src/pages/building/list/style.less View File

15
   margin: 10px 0px;
15
   margin: 10px 0px;
16
 }
16
 }
17
 .cardText {
17
 .cardText {
18
-  font-size: 18px;
18
+  font-size: 1.1rem;
19
   color: #333;
19
   color: #333;
20
   line-height: 24px;
20
   line-height: 24px;
21
   display: flex;
21
   display: flex;
24
 
24
 
25
 }
25
 }
26
 .cardItem{
26
 .cardItem{
27
-  font-size: 18px;
27
+  font-size: 1.1rem;
28
   font-weight: 400;
28
   font-weight: 400;
29
   color: #666;
29
   color: #666;
30
   line-height: 24px;
30
   line-height: 24px;
32
   align-items: center;  
32
   align-items: center;  
33
 }
33
 }
34
 .ediText {
34
 .ediText {
35
-  font-size: 18px;
35
+  font-size: 1.1rem;
36
   color: #ff925c;
36
   color: #ff925c;
37
   line-height: 24px;
37
   line-height: 24px;
38
   position: absolute;
38
   position: absolute;

+ 0
- 53
src/pages/building/list/style.wxss View File

1
-.SubmitButton {
2
-  background: #3a91d5;
3
-  border-radius: 7px;
4
-  border: 0px;
5
-}
6
-.SelectFrom {
7
-  width: 180px;
8
-  background: #ffffff;
9
-  border-radius: 7px;
10
-  border: 1px solid #dbdbdb;
11
-}
12
-.addButton {
13
-  border-radius: 4px;
14
-  border: 0px;
15
-  margin: 10px 0px;
16
-}
17
-.cardText {
18
-  font-size: 18px;
19
-  color: #333;
20
-  line-height: 24px;
21
-  display: flex;
22
-  align-items: center;
23
-  position: relative;
24
-}
25
-.cardItem {
26
-  font-size: 18px;
27
-  font-weight: 400;
28
-  color: #666;
29
-  line-height: 24px;
30
-  display: flex;
31
-  align-items: center;
32
-}
33
-.ediText {
34
-  font-size: 18px;
35
-  color: #ff925c;
36
-  line-height: 24px;
37
-  position: absolute;
38
-  right: 0;
39
-}
40
-.title {
41
-  display: inline-block;
42
-  width: 84px;
43
-  justify-content: space-between;
44
-  text-align: justify;
45
-  text-align-last: justify;
46
-}
47
-.address {
48
-  width: 400px;
49
-  height: 24px;
50
-  text-overflow: ellipsis;
51
-  white-space: nowrap;
52
-  overflow: hidden;
53
-}

+ 2
- 3
src/pages/customer/customerlist/index.jsx View File

9
 import Attribution from './components/attribution'
9
 import Attribution from './components/attribution'
10
 import IntegralRecord from './components/integralRecord'
10
 import IntegralRecord from './components/integralRecord'
11
 import ChangeStatus from './components/changeStatus'
11
 import ChangeStatus from './components/changeStatus'
12
+import BuildSelect from '../../../components/SelectButton/BuildSelect'
12
 
13
 
13
 
14
 
14
 const { Option } = Select;
15
 const { Option } = Select;
207
       <Form layout="inline" onSubmit={e => handleSubmit(e, props)}>
208
       <Form layout="inline" onSubmit={e => handleSubmit(e, props)}>
208
         <Form.Item>
209
         <Form.Item>
209
           {getFieldDecorator('buildingId')(
210
           {getFieldDecorator('buildingId')(
210
-            <Select style={{ width: '180px' }} placeholder="意向项目" onChange={handleSelectChange}>
211
-              <Option value="male">male</Option>
212
-            </Select>,
211
+            <BuildSelect />,
213
           )}
212
           )}
214
         </Form.Item>
213
         </Form.Item>
215
         <Form.Item>
214
         <Form.Item>

+ 2
- 3
src/pages/customer/report/index.jsx View File

4
 import request from '../../../utils/request';
4
 import request from '../../../utils/request';
5
 import apis from '../../../services/apis';
5
 import apis from '../../../services/apis';
6
 import Styles from './style.less';
6
 import Styles from './style.less';
7
+import BuildSelect from '../../../components/SelectButton/BuildSelect'
7
 
8
 
8
 
9
 
9
 const { Option } = Select;
10
 const { Option } = Select;
148
         </Form.Item>
149
         </Form.Item>
149
         <Form.Item>
150
         <Form.Item>
150
           {getFieldDecorator('buildingId')(
151
           {getFieldDecorator('buildingId')(
151
-            <Select style={{ width: '180px' }} placeholder="意向项目" onChange={handleSelectChange}>
152
-              <Option value="male">male</Option>
153
-            </Select>,
152
+            <BuildSelect />,
154
           )}
153
           )}
155
         </Form.Item>
154
         </Form.Item>
156
         <Form.Item>
155
         <Form.Item>

+ 10
- 3
src/pages/user/login/components/Login/index.less View File

38
 }
38
 }
39
 .login {
39
 .login {
40
   background-color: #fff;
40
   background-color: #fff;
41
-  width:580px;
42
-  height:480px;
43
-  padding:120px 50px;
41
+  width:100%;
42
+  height:58vh;
44
   border-radius:0px 30px 30px 0px;
43
   border-radius:0px 30px 30px 0px;
45
   margin: 0 auto;
44
   margin: 0 auto;
45
+  padding: 10vh 0;
46
   :global {
46
   :global {
47
     .ant-tabs .ant-tabs-bar {
47
     .ant-tabs .ant-tabs-bar {
48
       margin-bottom: 24px;
48
       margin-bottom: 24px;
52
     .ant-form-item {
52
     .ant-form-item {
53
       margin: 0 2px 24px;
53
       margin: 0 2px 24px;
54
     }
54
     }
55
+    .ant-input-affix-wrapper,.ant-form-item-control{ 
56
+      width: 36vw;
57
+      max-width: 600px;
58
+      min-width: 200px;
59
+      margin: 0 auto;
60
+      display: block;
61
+      }
55
   }
62
   }
56
 
63
 
57
   .getCaptcha {
64
   .getCaptcha {

+ 1
- 1
src/pages/user/login/style.less View File

4
   // width: 368px;
4
   // width: 368px;
5
   margin: 0 auto;
5
   margin: 0 auto;
6
   @media screen and (max-width: @screen-sm) {
6
   @media screen and (max-width: @screen-sm) {
7
-    width: 95%;
7
+    width: 100%;
8
   }
8
   }
9
 
9
 
10
   .icon {
10
   .icon {