许静 5 gadus atpakaļ
vecāks
revīzija
65dc458489

+ 1
- 1
config/config.js Parādīt failu

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

+ 16
- 16
src/app.js Parādīt failu

@@ -1,20 +1,20 @@
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 >= 900) {
8
+        docEl.style.fontSize = '100px';
9
+      } else {
10
+        docEl.style.fontSize = 100 * (clientWidth / 900) + '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 19
 export const dva = {
20 20
   config: {

+ 9
- 3
src/global.less Parādīt failu

@@ -80,15 +80,21 @@ ol {
80 80
 .ant-menu-vertical-right .ant-menu-submenu-title,
81 81
 .ant-menu-inline .ant-menu-submenu-title,
82 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.16rem;
84
+}
85
+.ant-input{
86
+  height: 32px;
87
+  border-radius: 4px;
88
+  padding: 0 0 0 10px;
89
+  align-items: center;
84 90
 }
85 91
 .ant-row.ant-form-item .ant-form-item-label.ant-col-sm-3{
86 92
   min-width: 100px;
87 93
 }
88 94
 .ant-breadcrumb{
89
-  font-size: 16px;
95
+  font-size: 0.16rem;
90 96
   .anticon {
91
-    font-size: 16px;
97
+    font-size: 0.16rem;
92 98
   }
93 99
 } 
94 100
   .ant-pro-global-header-trigger{

+ 0
- 401
src/pages/building/list/add/amap.css Parādīt failu

@@ -1,401 +0,0 @@
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 Parādīt failu

@@ -13,7 +13,7 @@ html {
13 13
    overflow:auto;
14 14
    border-radius:0.4rem;
15 15
    border:1px solid #ced4da;
16
-   margin-bottom:1rem;
16
+   margin-bottom:0.1rem;
17 17
 }
18 18
 body {
19 19
   margin: 0;
@@ -44,7 +44,7 @@ label {
44 44
 
45 45
 label, .btn {
46 46
   margin-left: 0;
47
-  font-size: 1rem;
47
+  font-size: 0.18rem;
48 48
 }
49 49
 
50 50
 button, input, select {
@@ -75,312 +75,313 @@ h4 {
75 75
   line-height: 1.8;
76 76
   font-weight: 300;
77 77
   color: inherit;
78
-  font-size: 1.1rem;
78
+  font-size: 0.2rem;
79 79
   margin-top: 0;
80 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 222
 .infoBox {
223
-  padding: .75rem 1.25rem;
223
+  padding: .2rem 0.2rem;
224 224
   position: absolute;
225
-  top: 1rem;
225
+  top: 0.3rem;
226
+  left: 0.3rem;
226 227
   background-color: white;
227
-  width: auto;
228
-  min-width: 22rem;
229
-  left: 1rem;
228
+  width: 3.2rem;
230 229
   box-shadow: 0 2px 6px 0 rgba(114, 124, 245, .5);
231 230
   z-index: 100;
232 231
   .inputText{
233 232
     margin-right: 10px;
234 233
   }
235 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 386
 @media screen and (min-width: 40rem) {
386 387
   .native-toast:not(.native-toast-edge) {

+ 0
- 401
src/pages/building/list/add/amap.wxss Parādīt failu

@@ -1,401 +0,0 @@
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
-}

+ 1
- 1
src/pages/building/list/index.jsx Parādīt failu

@@ -137,7 +137,7 @@ function CartBody(props) {
137 137
         <span className={Styles.title}>录入时间</span>
138 138
         <span >:{data.createDate}</span>
139 139
       </p>
140
-      <p style={{ margin: '15px 0', position: 'relative', fontSize: '18px' }}>
140
+      <p style={{ margin: '15px 0', position: 'relative', fontSize: '0.18rem' }}>
141 141
         <span style={{ color: '#FF4A4A' }} onClick={() => pulicAndUnPulic(data)}>
142 142
           {/* 已发布的时候,需要显示取消发布的字样 */}
143 143
           {data.status === 1 ? '取消发布' : '发布'}

+ 0
- 53
src/pages/building/list/style.css Parādīt failu

@@ -1,53 +0,0 @@
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 Parādīt failu

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

+ 0
- 53
src/pages/building/list/style.wxss Parādīt failu

@@ -1,53 +0,0 @@
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
-}