魏熙美 5 yıl önce
ebeveyn
işleme
3df8af824a

+ 43
- 0
src/pages/building/list/add/amap.css Dosyayı Görüntüle

@@ -0,0 +1,43 @@
1
+.infoBox {
2
+  padding: 10px;
3
+  position: absolute;
4
+  top: 20px;
5
+  left: 20px;
6
+  background-color: white;
7
+  width: 280px;
8
+  box-shadow: 0 2px 6px 0 rgba(114, 124, 245, 0.5);
9
+  z-index: 100;
10
+}
11
+.infoBox .inputText {
12
+  margin-right: 10px;
13
+}
14
+.infoBox .input {
15
+  width: 150px;
16
+  height: 32px;
17
+  font-size: 16px;
18
+}
19
+/* types */
20
+.native-toast-error {
21
+  background-color: #d92727;
22
+  color: white;
23
+}
24
+.native-toast-success {
25
+  background-color: #62a465;
26
+  color: white;
27
+}
28
+.native-toast-warning {
29
+  background-color: #fdaf17;
30
+  color: white;
31
+}
32
+.native-toast-info {
33
+  background-color: #5060ba;
34
+  color: white;
35
+}
36
+[class^="native-toast-icon-"] {
37
+  vertical-align: middle;
38
+  margin-right: 8px;
39
+}
40
+[class^="native-toast-icon-"] svg {
41
+  width: 16px;
42
+  height: 16px;
43
+}

+ 7
- 392
src/pages/building/list/add/amap.less Dosyayı Görüntüle

@@ -1,409 +1,24 @@
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:0.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
-
26
-// hr {
27
-//   margin: 0.5rem 0;
28
-//   box-sizing: content-box;
29
-//   height: 0;
30
-//   overflow: visible;
31
-//   border: 0;
32
-//   border-top: 1px solid rgba(0, 0, 0, .1)
33
-// }
34
-
35
-// p {
36
-//   margin-top: 0;
37
-//   margin-bottom: 0;
38
-// }
39
-
40
-// label {
41
-//   display: inline-block;
42
-//   margin-bottom: 0.1rem;
43
-// }
44
-
45
-// label, .btn {
46
-//   margin-left: 0;
47
-//   font-size: 0.18rem;
48
-// }
49
-
50
-// button, input, select {
51
-//   margin: 0;
52
-//   font-family: inherit;
53
-//   font-size: inherit;
54
-//   line-height: inherit;
55
-//   overflow: visible;
56
-//   text-transform: none
57
-// }
58
-
59
-// [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner {
60
-//   padding: 0;
61
-//   border-style: none;
62
-// }
63
-
64
-// input[type=checkbox], input[type=radio] {
65
-//   box-sizing: border-box;
66
-//   padding: 0;
67
-//   -webkit-box-sizing: border-box;
68
-//   box-sizing: border-box;
69
-//   padding: 0;
70
-//   margin: 0 0.5rem 0 0;
71
-// }
72
-
73
-// h4 {
74
-//   font-family: inherit;
75
-//   line-height: 1.8;
76
-//   font-weight: 300;
77
-//   color: inherit;
78
-//   font-size: 0.2rem;
79
-//   margin-top: 0;
80
-//   margin-bottom: .5rem
81
-// }
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
-// }
221 1
 
222 2
 .infoBox {
223
-  padding: .2rem 0.2rem;
3
+  padding: 10px;
224 4
   position: absolute;
225
-  top: 0.3rem;
226
-  left: 0.3rem;
5
+  top: 20px;
6
+  left: 20px;
227 7
   background-color: white;
228
-  width: 3.2rem;
8
+  width: 280px;
229 9
   box-shadow: 0 2px 6px 0 rgba(114, 124, 245, .5);
230 10
   z-index: 100;
231 11
   .inputText{
232 12
     margin-right: 10px;
233 13
   }
234 14
   .input{
235
-    width: 1.6rem;
236
-    height: 0.34rem;
237
-    font-size: 0.16rem;
15
+    width: 150px;
16
+    height: 32px;
17
+    font-size: 16px;
238 18
   }
239 19
  
240 20
 }
241 21
 
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
-// }
385
-
386
-// @media screen and (min-width: 40rem) {
387
-//   .native-toast:not(.native-toast-edge) {
388
-//     max-width: 18rem;
389
-//   }
390
-// }
391
-
392
-/*
393
-  max-width does not seem to work in small screen?
394
-*/
395
-
396
-/*@media screen and (max-width: 768px) {
397
-  .native-toast:not(.native-toast-edge) {
398
-    max-width: 400px;
399
-  }
400
-}
401
-
402
-@media screen and (max-width: 468px) {
403
-  .native-toast:not(.native-toast-edge) {
404
-    max-width: 300px;
405
-  }
406
-}*/
407 22
 
408 23
 /* types */
409 24
 

+ 43
- 0
src/pages/building/list/add/amap.wxss Dosyayı Görüntüle

@@ -0,0 +1,43 @@
1
+.infoBox {
2
+  padding: 10px;
3
+  position: absolute;
4
+  top: 20px;
5
+  left: 20px;
6
+  background-color: white;
7
+  width: 280px;
8
+  box-shadow: 0 2px 6px 0 rgba(114, 124, 245, 0.5);
9
+  z-index: 100;
10
+}
11
+.infoBox .inputText {
12
+  margin-right: 10px;
13
+}
14
+.infoBox .input {
15
+  width: 150px;
16
+  height: 32px;
17
+  font-size: 16px;
18
+}
19
+/* types */
20
+.native-toast-error {
21
+  background-color: #d92727;
22
+  color: white;
23
+}
24
+.native-toast-success {
25
+  background-color: #62a465;
26
+  color: white;
27
+}
28
+.native-toast-warning {
29
+  background-color: #fdaf17;
30
+  color: white;
31
+}
32
+.native-toast-info {
33
+  background-color: #5060ba;
34
+  color: white;
35
+}
36
+[class^="native-toast-icon-"] {
37
+  vertical-align: middle;
38
+  margin-right: 8px;
39
+}
40
+[class^="native-toast-icon-"] svg {
41
+  width: 16px;
42
+  height: 16px;
43
+}

+ 53
- 0
src/pages/building/list/style.css Dosyayı Görüntüle

@@ -0,0 +1,53 @@
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: 0.11rem;
19
+  color: #333;
20
+  line-height: 24px;
21
+  display: flex;
22
+  align-items: center;
23
+  position: relative;
24
+}
25
+.cardItem {
26
+  font-size: 0.11rem;
27
+  font-weight: 400;
28
+  color: #666;
29
+  line-height: 24px;
30
+  display: flex;
31
+  align-items: center;
32
+}
33
+.ediText {
34
+  font-size: 0.11rem;
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 Dosyayı Görüntüle

@@ -15,7 +15,7 @@
15 15
   margin: 10px 0px;
16 16
 }
17 17
 .cardText {
18
-  font-size: 1.1rem;
18
+  font-size: 0.11rem;
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: 1.1rem;
27
+  font-size: 0.11rem;
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: 1.1rem;
35
+  font-size: 0.11rem;
36 36
   color: #ff925c;
37 37
   line-height: 24px;
38 38
   position: absolute;

+ 53
- 0
src/pages/building/list/style.wxss Dosyayı Görüntüle

@@ -0,0 +1,53 @@
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: 0.11rem;
19
+  color: #333;
20
+  line-height: 24px;
21
+  display: flex;
22
+  align-items: center;
23
+  position: relative;
24
+}
25
+.cardItem {
26
+  font-size: 0.11rem;
27
+  font-weight: 400;
28
+  color: #666;
29
+  line-height: 24px;
30
+  display: flex;
31
+  align-items: center;
32
+}
33
+.ediText {
34
+  font-size: 0.11rem;
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
+}