Browse Source

Merge branch 'master' of http://git.ycjcjy.com/zhiyuxing/estateagents-admin-manager

傅行帆 5 years ago
parent
commit
f078a640d8
33 changed files with 363 additions and 537 deletions
  1. 1
    1
      config/config.js
  2. 7
    4
      src/app.js
  3. 3
    3
      src/pages/Welcome.jsx
  4. 43
    0
      src/pages/building/list/add/amap.css
  5. 7
    392
      src/pages/building/list/add/amap.less
  6. 43
    0
      src/pages/building/list/add/amap.wxss
  7. 1
    1
      src/pages/building/list/index.jsx
  8. 56
    0
      src/pages/building/list/style.css
  9. 17
    14
      src/pages/building/list/style.less
  10. 53
    0
      src/pages/building/list/style.wxss
  11. 7
    6
      src/pages/building/type/style.css
  12. 8
    7
      src/pages/building/type/style.less
  13. 4
    4
      src/pages/building/type/style.wxss
  14. 4
    4
      src/pages/customer/customerlist/style.css
  15. 9
    8
      src/pages/customer/customerlist/style.less
  16. 4
    4
      src/pages/customer/customerlist/style.wxss
  17. 9
    8
      src/pages/customer/drift/style.less
  18. 4
    4
      src/pages/customer/independentList/style.css
  19. 8
    7
      src/pages/customer/independentList/style.less
  20. 4
    4
      src/pages/customer/independentList/style.wxss
  21. 4
    4
      src/pages/customer/recommendCustomer/style.css
  22. 6
    5
      src/pages/customer/recommendCustomer/style.less
  23. 4
    4
      src/pages/customer/recommendCustomer/style.wxss
  24. 4
    4
      src/pages/customer/report/style.css
  25. 9
    7
      src/pages/customer/report/style.less
  26. 4
    4
      src/pages/customer/report/style.wxss
  27. 9
    9
      src/pages/news/list/NewsList.jsx
  28. 8
    7
      src/pages/news/list/style.less
  29. 6
    6
      src/pages/staff/list/StaffList.jsx
  30. 14
    14
      src/pages/staff/list/style.less
  31. 1
    1
      src/pages/user/login/components/Login/index.jsx
  32. 1
    1
      src/pages/user/login/components/Login/index.less
  33. 1
    0
      src/services/apis.js

+ 1
- 1
config/config.js View File

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

+ 7
- 4
src/app.js View File

@@ -4,10 +4,13 @@
4 4
     recalc = function () {
5 5
       var clientWidth = docEl.clientWidth;
6 6
       if (!clientWidth) return;
7
-      if (clientWidth < 1200) {
8
-        docEl.style.fontSize = '100px';
9
-      } else {
10
-        docEl.style.fontSize = 100 * (clientWidth / 1200) + 'px';
7
+      if (clientWidth < 1700) {
8
+        docEl.style.fontSize = '150px';
9
+      } else if ( 1700>=clientWidth>2000 ){
10
+        docEl.style.fontSize = '170px';
11
+      }else{
12
+        docEl.style.fontSize = '170px';
13
+        // docEl.style.fontSize = 100 * (clientWidth / 1400) + 'px';
11 14
       }
12 15
     };
13 16
 

+ 3
- 3
src/pages/Welcome.jsx View File

@@ -23,7 +23,7 @@ export default () => (
23 23
     <div style={{ display: 'flex' }}>
24 24
       <div style={{
25 25
         textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: 'linear-gradient(144deg,rgba(241,43,62,1) 0%,rgba(254,144,155,1) 100%)', height: '100px',
26
-        boxShadow: '0px 18px 14px -15px rgba(241,43,62,1)',
26
+        boxShadow: '0px  0.11rem 14px -15px rgba(241,43,62,1)',
27 27
         borderRadius: '12px', width: '32%', marginRight: '2%'
28 28
       }}>
29 29
         <span style={{ fontSize: '24px', color: '#fff' }}>总用户 </span>
@@ -31,7 +31,7 @@ export default () => (
31 31
       </div>
32 32
       <div style={{
33 33
         textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: 'linear-gradient(144deg,rgba(255,126,74,1) 0%,rgba(255,196,168,1) 100%)', height: '100px',
34
-        boxShadow: '0px 18px 14px -15px rgba(255,126,74,1)',
34
+        boxShadow: '0px  0.11rem 14px -15px rgba(255,126,74,1)',
35 35
         borderRadius: '12px', width: '32%', marginRight: '2%'
36 36
       }}>
37 37
         <span style={{ fontSize: '24px', color: '#fff' }}>总注册用户 </span>
@@ -39,7 +39,7 @@ export default () => (
39 39
       </div>
40 40
       <div style={{
41 41
         textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: 'linear-gradient(137deg,rgba(107,130,230,1) 0%,rgba(152,175,251,1) 100%)', height: '100px',
42
-        boxShadow: '0px 18px 14px -15px rgba(107,130,230,1)',
42
+        boxShadow: '0px  0.11rem 14px -15px rgba(107,130,230,1)',
43 43
         borderRadius: '12px', width: '32%',
44 44
       }}>
45 45
         <span style={{ fontSize: '24px', color: '#fff' }}>最近7天新增 </span>

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

@@ -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 View File

@@ -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: 290px;
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 View File

@@ -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
+}

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

@@ -104,7 +104,7 @@ function CartBody(props) {
104 104
   return (
105 105
     <Card
106 106
       hoverable
107
-      style={{ minWidth: '400px', borderRadius: '12px', margin: '10px', boxShadow: '0px 0px 16px 2px rgba(0,0,0,0.12)' }}
107
+      style={{ minWidth: '330px', borderRadius: '12px', margin: '10px', boxShadow: '0px 0px 16px 2px rgba(0,0,0,0.12)' }}
108 108
       cover={<img alt="example" src={data.poster} style={{ borderRadius: '12px 12px 0 0', width: '100%', height: '14vw' }}></img>}
109 109
       bodyStyle={{ padding: '10px 20px' }}
110 110
     >

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

@@ -0,0 +1,56 @@
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: 1.5;
21
+  display: flex;
22
+  align-items: center;
23
+  position: relative;
24
+  margin-bottom: 0.08rem;
25
+}
26
+.cardItem {
27
+  font-size: 0.11rem;
28
+  font-weight: 400;
29
+  color: #666;
30
+  display: flex;
31
+  align-items: center;
32
+  line-height: 1.5;
33
+  font-size: 0.11rem;
34
+  margin-bottom: 0.08rem;
35
+
36
+}
37
+.ediText {
38
+  font-size: 0.11rem;
39
+  color: #ff925c;
40
+  position: absolute;
41
+  right: 0;
42
+}
43
+.title {
44
+  display: inline-block;
45
+  width: 0.54rem;
46
+  justify-content: space-between;
47
+  text-align: justify;
48
+  text-align-last: justify;
49
+}
50
+.address {
51
+  width: 400px;
52
+  height: 24px;
53
+  text-overflow: ellipsis;
54
+  white-space: nowrap;
55
+  overflow: hidden;
56
+}

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

@@ -15,36 +15,39 @@
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
-  line-height: 24px;
21 20
   display: flex;
22 21
   align-items: center;
23 22
   position: relative;
24
-
23
+  margin-bottom: 0.08rem;
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
-  line-height: 24px;
31 30
   display: flex;
32 31
   align-items: center;  
32
+  margin-bottom: 0.08rem;
33
+  .title{
34
+    display: inline-block;
35
+    width: 0.54rem;
36
+    min-width: 0.54rem;
37
+    justify-content: space-between;
38
+    text-align: justify;
39
+    text-align-last:justify
40
+  }
41
+  
33 42
 }
34 43
 .ediText {
35
-  font-size: 1.1rem;
44
+  font-size: 0.11rem;
36 45
   color: #ff925c;
37
-  line-height: 24px;
38 46
   position: absolute;
39 47
   right: 0;
48
+
40 49
 }
41
-.title{
42
-  display: inline-block;
43
-  width: 84px;
44
-  justify-content: space-between;
45
-  text-align: justify;
46
-  text-align-last:justify
47
-}
50
+
48 51
 
49 52
 .address { 
50 53
   width: 400px;

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

@@ -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
+  display: flex;
30
+  align-items: center;
31
+  margin-bottom: 0.08rem;
32
+}
33
+.ediText {
34
+  font-size: 0.11rem;
35
+  color: #ff925c;
36
+  position: absolute;
37
+  right: 0;
38
+  margin-bottom: 0.08rem;
39
+}
40
+.title {
41
+  display: inline-block;
42
+   width: 0.54rem;
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
+}

+ 7
- 6
src/pages/building/type/style.css View File

@@ -16,7 +16,7 @@
16 16
   margin: 10px 0px;
17 17
 }
18 18
 .cardText {
19
-  font-size: 18px;
19
+  font-size:  0.11rem;
20 20
   color: #333;
21 21
   line-height: 24px;
22 22
   display: flex;
@@ -24,15 +24,16 @@
24 24
   position: relative;
25 25
 }
26 26
 .cardItem {
27
-  font-size: 18px;
28
-  font-weight: 400;
27
+
29 28
   color: #666;
30
-  line-height: 24px;
31 29
   display: flex;
32 30
   align-items: center;
31
+  line-height: 1.5;
32
+  font-size: 0.11rem;
33
+  margin-bottom: 0.08rem;
33 34
 }
34 35
 .ediText {
35
-  font-size: 18px;
36
+  font-size: 0.11rem;
36 37
   color: #ff925c;
37 38
   line-height: 24px;
38 39
   position: absolute;
@@ -40,7 +41,7 @@
40 41
 }
41 42
 .title {
42 43
   display: inline-block;
43
-  width: 84px;
44
+  width: 0.54rem;
44 45
   justify-content: space-between;
45 46
   text-align: justify;
46 47
   text-align-last: justify;

+ 8
- 7
src/pages/building/type/style.less View File

@@ -16,24 +16,25 @@
16 16
   margin: 10px 0px;
17 17
 }
18 18
 .cardText {
19
-  font-size: 18px;
20 19
   color: #333;
21
-  line-height: 24px;
22 20
   display: flex;
23 21
   align-items: center;
24 22
   position: relative;
23
+  line-height: 1.5;
24
+  font-size: 0.11rem;
25
+  margin-bottom: 0.08rem;
25 26
 
26 27
 }
27 28
 .cardItem{
28
-  font-size: 18px;
29
-  font-weight: 400;
30 29
   color: #666;
31
-  line-height: 24px;
32 30
   display: flex;
33 31
   align-items: center;  
32
+  line-height: 1.5;
33
+  font-size: 0.11rem;
34
+  margin-bottom: 0.08rem;
34 35
 }
35 36
 .ediText {
36
-  font-size: 18px;
37
+  font-size: 0.11rem;
37 38
   color: #ff925c;
38 39
   line-height: 24px;
39 40
   position: absolute;
@@ -41,7 +42,7 @@
41 42
 }
42 43
 .title{
43 44
   display: inline-block;
44
-  width: 84px;
45
+  width: 0.54rem;
45 46
   justify-content: space-between;
46 47
   text-align: justify;
47 48
   text-align-last:justify

+ 4
- 4
src/pages/building/type/style.wxss View File

@@ -16,7 +16,7 @@
16 16
   margin: 10px 0px;
17 17
 }
18 18
 .cardText {
19
-  font-size: 18px;
19
+  font-size:  0.11rem;
20 20
   color: #333;
21 21
   line-height: 24px;
22 22
   display: flex;
@@ -24,7 +24,7 @@
24 24
   position: relative;
25 25
 }
26 26
 .cardItem {
27
-  font-size: 18px;
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: 18px;
35
+  font-size:  0.11rem;
36 36
   color: #ff925c;
37 37
   line-height: 24px;
38 38
   position: absolute;
@@ -40,7 +40,7 @@
40 40
 }
41 41
 .title {
42 42
   display: inline-block;
43
-  width: 84px;
43
+  width:  0.54rem;
44 44
   justify-content: space-between;
45 45
   text-align: justify;
46 46
   text-align-last: justify;

+ 4
- 4
src/pages/customer/customerlist/style.css View File

@@ -19,7 +19,7 @@
19 19
   margin: 10px 0px;
20 20
 }
21 21
 .cardText {
22
-  font-size: 18px;
22
+  font-size:  0.11rem;
23 23
   color: #333;
24 24
   line-height: 24px;
25 25
   display: flex;
@@ -27,7 +27,7 @@
27 27
   position: relative;
28 28
 }
29 29
 .cardItem {
30
-  font-size: 18px;
30
+  font-size:  0.11rem;
31 31
   font-weight: 400;
32 32
   color: #666;
33 33
   line-height: 24px;
@@ -35,7 +35,7 @@
35 35
   align-items: center;
36 36
 }
37 37
 .ediText {
38
-  font-size: 18px;
38
+  font-size:  0.11rem;
39 39
   color: #ff925c;
40 40
   line-height: 24px;
41 41
   position: absolute;
@@ -43,7 +43,7 @@
43 43
 }
44 44
 .title {
45 45
   display: inline-block;
46
-  width: 84px;
46
+  width:  0.54rem;
47 47
   justify-content: space-between;
48 48
   text-align: justify;
49 49
   text-align-last: justify;

+ 9
- 8
src/pages/customer/customerlist/style.less View File

@@ -19,24 +19,25 @@
19 19
   margin: 10px 0px;
20 20
 }
21 21
 .cardText {
22
-  font-size: 18px;
23 22
   color: #333;
24
-  line-height: 24px;
25 23
   display: flex;
26 24
   align-items: center;
27 25
   position: relative;
26
+  line-height: 1.5;
27
+  font-size: 0.11rem;
28
+  margin-bottom: 0.08rem;
28 29
 
29 30
 }
30 31
 .cardItem{
31
-  font-size: 18px;
32
-  font-weight: 400;
33 32
   color: #666;
34
-  line-height: 24px;
35 33
   display: flex;
36
-  align-items: center;  
34
+  align-items: center; 
35
+  line-height: 1.5;
36
+  font-size: 0.11rem;
37
+  margin-bottom: 0.08rem; 
37 38
 }
38 39
 .ediText {
39
-  font-size: 18px;
40
+  font-size: 0.11rem;
40 41
   color: #ff925c;
41 42
   line-height: 24px;
42 43
   position: absolute;
@@ -44,7 +45,7 @@
44 45
 }
45 46
 .title{
46 47
   display: inline-block;
47
-  width: 84px;
48
+  width:  0.54rem;
48 49
   justify-content: space-between;
49 50
   text-align: justify;
50 51
   text-align-last:justify

+ 4
- 4
src/pages/customer/customerlist/style.wxss View File

@@ -19,7 +19,7 @@
19 19
   margin: 10px 0px;
20 20
 }
21 21
 .cardText {
22
-  font-size: 18px;
22
+  font-size:  0.11rem;
23 23
   color: #333;
24 24
   line-height: 24px;
25 25
   display: flex;
@@ -27,7 +27,7 @@
27 27
   position: relative;
28 28
 }
29 29
 .cardItem {
30
-  font-size: 18px;
30
+  font-size:  0.11rem;
31 31
   font-weight: 400;
32 32
   color: #666;
33 33
   line-height: 24px;
@@ -35,7 +35,7 @@
35 35
   align-items: center;
36 36
 }
37 37
 .ediText {
38
-  font-size: 18px;
38
+  font-size:  0.11rem;
39 39
   color: #ff925c;
40 40
   line-height: 24px;
41 41
   position: absolute;
@@ -43,7 +43,7 @@
43 43
 }
44 44
 .title {
45 45
   display: inline-block;
46
-  width: 84px;
46
+  width:  0.54rem;
47 47
   justify-content: space-between;
48 48
   text-align: justify;
49 49
   text-align-last: justify;

+ 9
- 8
src/pages/customer/drift/style.less View File

@@ -16,24 +16,25 @@
16 16
   margin: 10px 0px;
17 17
 }
18 18
 .cardText {
19
-  font-size: 18px;
20 19
   color: #333;
21
-  line-height: 24px;
22 20
   display: flex;
23 21
   align-items: center;
24 22
   position: relative;
23
+  line-height: 1.5;
24
+  font-size: 0.11rem;
25
+  margin-bottom: 0.08rem;
25 26
 
26 27
 }
27 28
 .cardItem{
28
-  font-size: 18px;
29
-  font-weight: 400;
30 29
   color: #666;
31
-  line-height: 24px;
32 30
   display: flex;
33
-  align-items: center;  
31
+  align-items: center; 
32
+  line-height: 1.5;
33
+  font-size: 0.11rem;
34
+  margin-bottom: 0.08rem; 
34 35
 }
35 36
 .ediText {
36
-  font-size: 18px;
37
+  font-size: 0.11rem;
37 38
   color: #ff925c;
38 39
   line-height: 24px;
39 40
   position: absolute;
@@ -41,7 +42,7 @@
41 42
 }
42 43
 .title{
43 44
   display: inline-block;
44
-  width: 84px;
45
+  width:  0.54rem;
45 46
   justify-content: space-between;
46 47
   text-align: justify;
47 48
   text-align-last:justify

+ 4
- 4
src/pages/customer/independentList/style.css View File

@@ -16,7 +16,7 @@
16 16
   margin: 10px 0px;
17 17
 }
18 18
 .cardText {
19
-  font-size: 18px;
19
+  font-size:  0.11rem;
20 20
   color: #333;
21 21
   line-height: 24px;
22 22
   display: flex;
@@ -24,7 +24,7 @@
24 24
   position: relative;
25 25
 }
26 26
 .cardItem {
27
-  font-size: 18px;
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: 18px;
35
+  font-size:  0.11rem;
36 36
   color: #ff925c;
37 37
   line-height: 24px;
38 38
   position: absolute;
@@ -40,7 +40,7 @@
40 40
 }
41 41
 .title {
42 42
   display: inline-block;
43
-  width: 84px;
43
+  width:  0.54rem;
44 44
   justify-content: space-between;
45 45
   text-align: justify;
46 46
   text-align-last: justify;

+ 8
- 7
src/pages/customer/independentList/style.less View File

@@ -16,24 +16,25 @@
16 16
   margin: 10px 0px;
17 17
 }
18 18
 .cardText {
19
-  font-size: 18px;
20 19
   color: #333;
21
-  line-height: 24px;
22 20
   display: flex;
23 21
   align-items: center;
24 22
   position: relative;
23
+  line-height: 1.5;
24
+  font-size: 0.11rem;
25
+  margin-bottom: 0.08rem;
25 26
 
26 27
 }
27 28
 .cardItem{
28
-  font-size: 18px;
29
-  font-weight: 400;
30 29
   color: #666;
31
-  line-height: 24px;
32 30
   display: flex;
33 31
   align-items: center;  
32
+  line-height: 1.5;
33
+  font-size: 0.11rem;
34
+  margin-bottom: 0.08rem;
34 35
 }
35 36
 .ediText {
36
-  font-size: 18px;
37
+  font-size: 0.11rem;
37 38
   color: #ff925c;
38 39
   line-height: 24px;
39 40
   position: absolute;
@@ -41,7 +42,7 @@
41 42
 }
42 43
 .title{
43 44
   display: inline-block;
44
-  width: 84px;
45
+  width:  0.54rem;
45 46
   justify-content: space-between;
46 47
   text-align: justify;
47 48
   text-align-last:justify

+ 4
- 4
src/pages/customer/independentList/style.wxss View File

@@ -16,7 +16,7 @@
16 16
   margin: 10px 0px;
17 17
 }
18 18
 .cardText {
19
-  font-size: 18px;
19
+  font-size:  0.11rem;
20 20
   color: #333;
21 21
   line-height: 24px;
22 22
   display: flex;
@@ -24,7 +24,7 @@
24 24
   position: relative;
25 25
 }
26 26
 .cardItem {
27
-  font-size: 18px;
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: 18px;
35
+  font-size:  0.11rem;
36 36
   color: #ff925c;
37 37
   line-height: 24px;
38 38
   position: absolute;
@@ -40,7 +40,7 @@
40 40
 }
41 41
 .title {
42 42
   display: inline-block;
43
-  width: 84px;
43
+  width:  0.54rem;
44 44
   justify-content: space-between;
45 45
   text-align: justify;
46 46
   text-align-last: justify;

+ 4
- 4
src/pages/customer/recommendCustomer/style.css View File

@@ -16,7 +16,7 @@
16 16
   margin: 10px 0px;
17 17
 }
18 18
 .cardText {
19
-  font-size: 18px;
19
+  font-size:  0.11rem;
20 20
   color: #333;
21 21
   line-height: 24px;
22 22
   display: flex;
@@ -24,7 +24,7 @@
24 24
   position: relative;
25 25
 }
26 26
 .cardItem {
27
-  font-size: 18px;
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: 18px;
35
+  font-size:  0.11rem;
36 36
   color: #ff925c;
37 37
   line-height: 24px;
38 38
   position: absolute;
@@ -40,7 +40,7 @@
40 40
 }
41 41
 .title {
42 42
   display: inline-block;
43
-  width: 84px;
43
+  width:  0.54rem;
44 44
   justify-content: space-between;
45 45
   text-align: justify;
46 46
   text-align-last: justify;

+ 6
- 5
src/pages/customer/recommendCustomer/style.less View File

@@ -16,16 +16,17 @@
16 16
   margin: 10px 0px;
17 17
 }
18 18
 .cardText {
19
-  font-size: 18px;
20 19
   color: #333;
21
-  line-height: 24px;
22 20
   display: flex;
23 21
   align-items: center;
24 22
   position: relative;
23
+  line-height: 1.5;
24
+  font-size: 0.11rem;
25
+  margin-bottom: 0.08rem;
25 26
 
26 27
 }
27 28
 .cardItem{
28
-  font-size: 18px;
29
+  font-size: 0.11rem;
29 30
   font-weight: 400;
30 31
   color: #666;
31 32
   line-height: 24px;
@@ -33,7 +34,7 @@
33 34
   align-items: center;  
34 35
 }
35 36
 .ediText {
36
-  font-size: 18px;
37
+  font-size:  0.11rem;
37 38
   color: #ff925c;
38 39
   line-height: 24px;
39 40
   position: absolute;
@@ -41,7 +42,7 @@
41 42
 }
42 43
 .title{
43 44
   display: inline-block;
44
-  width: 84px;
45
+  width:  0.54rem;
45 46
   justify-content: space-between;
46 47
   text-align: justify;
47 48
   text-align-last:justify

+ 4
- 4
src/pages/customer/recommendCustomer/style.wxss View File

@@ -16,7 +16,7 @@
16 16
   margin: 10px 0px;
17 17
 }
18 18
 .cardText {
19
-  font-size: 18px;
19
+  font-size:  0.11rem;
20 20
   color: #333;
21 21
   line-height: 24px;
22 22
   display: flex;
@@ -24,7 +24,7 @@
24 24
   position: relative;
25 25
 }
26 26
 .cardItem {
27
-  font-size: 18px;
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: 18px;
35
+  font-size:  0.11rem;
36 36
   color: #ff925c;
37 37
   line-height: 24px;
38 38
   position: absolute;
@@ -40,7 +40,7 @@
40 40
 }
41 41
 .title {
42 42
   display: inline-block;
43
-  width: 84px;
43
+  width:  0.54rem;
44 44
   justify-content: space-between;
45 45
   text-align: justify;
46 46
   text-align-last: justify;

+ 4
- 4
src/pages/customer/report/style.css View File

@@ -16,7 +16,7 @@
16 16
   margin: 10px 0px;
17 17
 }
18 18
 .cardText {
19
-  font-size: 18px;
19
+  font-size:  0.11rem;
20 20
   color: #333;
21 21
   line-height: 24px;
22 22
   display: flex;
@@ -24,7 +24,7 @@
24 24
   position: relative;
25 25
 }
26 26
 .cardItem {
27
-  font-size: 18px;
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: 18px;
35
+  font-size:  0.11rem;
36 36
   color: #ff925c;
37 37
   line-height: 24px;
38 38
   position: absolute;
@@ -40,7 +40,7 @@
40 40
 }
41 41
 .title {
42 42
   display: inline-block;
43
-  width: 84px;
43
+  width:  0.54rem;
44 44
   justify-content: space-between;
45 45
   text-align: justify;
46 46
   text-align-last: justify;

+ 9
- 7
src/pages/customer/report/style.less View File

@@ -16,24 +16,26 @@
16 16
   margin: 10px 0px;
17 17
 }
18 18
 .cardText {
19
-  font-size: 18px;
20 19
   color: #333;
21
-  line-height: 24px;
22 20
   display: flex;
23 21
   align-items: center;
24 22
   position: relative;
23
+  line-height: 1.5;
24
+  font-size: 0.11rem;
25
+  margin-bottom: 0.08rem;
25 26
 
26 27
 }
27 28
 .cardItem{
28
-  font-size: 18px;
29
-  font-weight: 400;
29
+
30 30
   color: #666;
31
-  line-height: 24px;
32 31
   display: flex;
33 32
   align-items: center;  
33
+  line-height: 1.5;
34
+  font-size: 0.11rem;
35
+  margin-bottom: 0.08rem;
34 36
 }
35 37
 .ediText {
36
-  font-size: 18px;
38
+  font-size: 0.11rem;
37 39
   color: #ff925c;
38 40
   line-height: 24px;
39 41
   position: absolute;
@@ -41,7 +43,7 @@
41 43
 }
42 44
 .title{
43 45
   display: inline-block;
44
-  width: 84px;
46
+  width:  0.54rem;
45 47
   justify-content: space-between;
46 48
   text-align: justify;
47 49
   text-align-last:justify

+ 4
- 4
src/pages/customer/report/style.wxss View File

@@ -16,7 +16,7 @@
16 16
   margin: 10px 0px;
17 17
 }
18 18
 .cardText {
19
-  font-size: 18px;
19
+  font-size:  0.11rem;
20 20
   color: #333;
21 21
   line-height: 24px;
22 22
   display: flex;
@@ -24,7 +24,7 @@
24 24
   position: relative;
25 25
 }
26 26
 .cardItem {
27
-  font-size: 18px;
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: 18px;
35
+  font-size:  0.11rem;
36 36
   color: #ff925c;
37 37
   line-height: 24px;
38 38
   position: absolute;
@@ -40,7 +40,7 @@
40 40
 }
41 41
 .title {
42 42
   display: inline-block;
43
-  width: 84px;
43
+  width:  0.54rem;
44 44
   justify-content: space-between;
45 45
   text-align: justify;
46 46
   text-align-last: justify;

+ 9
- 9
src/pages/news/list/NewsList.jsx View File

@@ -167,48 +167,48 @@ function body(props) {
167 167
         cover={<img alt="example" src={data.newsImg} style={{ borderRadius: '12px 0 0 12px', width: '260px', height: '253px' }}></img>}
168 168
         bodyStyle={{ padding: '10px 20px' }}
169 169
       >
170
-        <span style={{ position: 'absolute', right: '20px', top: '20px', fontSize: '18px', color: '#FF7E48' }} onClick={toEditList(data.newsId)}>
170
+        <span style={{ position: 'absolute', right: '20px', top: '20px', fontSize: ' 0.11rem', color: '#FF7E48' }} onClick={toEditList(data.newsId)}>
171 171
           编辑
172 172
                 <Icon type="form" style={{ color: '#C0C4CC', marginLeft: '10px' }} />
173 173
         </span>
174 174
         {data.newsStatus === 0 ?
175
-          <span style={{ position: 'absolute', left: '280px', bottom: '18px', fontSize: '18px', color: '#FF7E48' }} onClick={cancelRelease.bind(this, data.newsId, 1, data.buildingId, data.newsType.newsTypeId)}>
175
+          <span style={{ position: 'absolute', left: '280px', bottom: ' 0.11rem', fontSize: ' 0.11rem', color: '#FF7E48' }} onClick={cancelRelease.bind(this, data.newsId, 1, data.buildingId, data.newsType.newsTypeId)}>
176 176
             取消发布
177 177
               <Icon type="close-circle" style={{ color: '#C0C4CC', marginLeft: '8px' }} />
178 178
           </span> :
179
-          <span style={{ position: 'absolute', left: '280px', bottom: '18px', fontSize: '18px', color: '#FF7E48' }} onClick={cancelRelease.bind(this, data.newsId, 0, data.buildingId, data.newsType.newsTypeId)}>
179
+          <span style={{ position: 'absolute', left: '280px', bottom: ' 0.11rem', fontSize: ' 0.11rem', color: '#FF7E48' }} onClick={cancelRelease.bind(this, data.newsId, 0, data.buildingId, data.newsType.newsTypeId)}>
180 180
             发布
181 181
               <Icon type="form" style={{ color: '#C0C4CC', marginLeft: '8px' }} />
182 182
           </span>
183 183
         }
184 184
 
185
-        <span style={{ position: 'absolute', right: '20px', bottom: '18px', fontSize: '18px', color: '#FF7E48' }} onClick={changeNewsListStatus(data.newsId)}>
185
+        <span style={{ position: 'absolute', right: '20px', bottom: ' 0.11rem', fontSize: ' 0.11rem', color: '#FF7E48' }} onClick={changeNewsListStatus(data.newsId)}>
186 186
           删除
187 187
                 <Icon type="rest" style={{ color: '#C0C4CC', marginLeft: '8px' }} />
188 188
         </span>
189 189
         <div style={{ position: 'absolute', left: '260px', top: '0px', padding: '20px' }}>
190 190
           <p style={{
191
-            fontSize: '18px', color: '#333', fontWeight: '600', marginBottom: '10px', overflow: 'hidden',
191
+            fontSize: ' 0.11rem', color: '#333', fontWeight: '600', marginBottom: '10px', overflow: 'hidden',
192 192
             textOverflow: 'ellipsis',
193 193
             whiteSpace: 'nowrap',
194 194
             width: '300px',
195 195
           }}>{data.newsName}</p>
196
-          <p style={{ fontSize: '18px', color: '#555', marginBottom: '10px' }}>
196
+          <p style={{ fontSize: ' 0.11rem', color: '#555', marginBottom: '10px' }}>
197 197
             <span style={{ display: 'inline-block', width: '190px' }}>咨询类型:{data.newsType.newsTypeName}</span>
198 198
             <span>状态:{data.newsStatus == 0 ? "已发布" : "未发布"}</span>
199 199
           </p>
200 200
 
201
-          <p style={{ fontSize: '18px', color: '#555', marginBottom: '10px' }}>
201
+          <p style={{ fontSize: ' 0.11rem', color: '#555', marginBottom: '10px' }}>
202 202
             <span style={{ display: 'inline-block', width: '190px' }}>阅读数量:{data.pvNum}</span>
203 203
             <span>转发数量:{data.shareNum}</span>
204 204
           </p>
205 205
 
206
-          <p style={{ fontSize: '18px', color: '#555', marginBottom: '10px' }}>
206
+          <p style={{ fontSize: ' 0.11rem', color: '#555', marginBottom: '10px' }}>
207 207
             <span style={{ display: 'inline-block', width: '190px' }}>点赞数量:{data.favorNum}</span>
208 208
             <span>收藏数量:{data.saveNum}</span>
209 209
           </p>
210 210
 
211
-          <p style={{ fontSize: '18px', color: '#999', marginBottom: '10px' }}>发布时间:{data.createDate}</p>
211
+          <p style={{ fontSize: ' 0.11rem', color: '#999', marginBottom: '10px' }}>发布时间:{data.createDate}</p>
212 212
         </div>
213 213
       </Card>
214 214
     )

+ 8
- 7
src/pages/news/list/style.less View File

@@ -16,24 +16,25 @@
16 16
     margin: 10px 0px;
17 17
   }
18 18
   .cardText {
19
-    font-size: 18px;
20 19
     color: #333;
21
-    line-height: 24px;
22 20
     display: flex;
23 21
     align-items: center;
24 22
     position: relative;
23
+    line-height: 1.5;
24
+    font-size: 0.11rem;
25
+    margin-bottom: 0.08rem;
25 26
   
26 27
   }
27 28
   .cardItem{
28
-    font-size: 18px;
29
-    font-weight: 400;
30 29
     color: #666;
31
-    line-height: 24px;
32 30
     display: flex;
33 31
     align-items: center;  
32
+    line-height: 1.5;
33
+    font-size: 0.11rem;
34
+    margin-bottom: 0.08rem;
34 35
   }
35 36
   .ediText {
36
-    font-size: 18px;
37
+    font-size: 0.11rem;
37 38
     color: #ff925c;
38 39
     line-height: 24px;
39 40
     position: absolute;
@@ -41,7 +42,7 @@
41 42
   }
42 43
   .title{
43 44
     display: inline-block;
44
-    width: 84px;
45
+    width:  0.54rem;
45 46
     justify-content: space-between;
46 47
     text-align: justify;
47 48
     text-align-last:justify

+ 6
- 6
src/pages/staff/list/StaffList.jsx View File

@@ -66,16 +66,16 @@ const CartBody = (props) => {
66 66
     <Card className={Styles.card}>
67 67
       <div>
68 68
 
69
-        <Avatar src={data.avatar} style={{ width: 94, height: 94 }} />
70
-        <Button type="link" style={{ marginLeft: '10px', color: '#FF925C', fontSize: '18px' }} onClick={toEditStaff(data.userId)}>
69
+        <Avatar src={data.avatar} style={{ width: '0.48rem', height: '0.48rem' }} />
70
+        <Button type="link" style={{ marginLeft: '0.04rem', color: '#FF925C', fontSize: '0.11rem' }} onClick={toEditStaff(data.userId)}>
71 71
           编辑
72
-                <Icon type="form" style={{ color: '#C0C4CC', marginLeft: '8px' }} />
72
+                <Icon type="form" style={{ color: '#C0C4CC', marginLeft: '0.04rem' }} />
73 73
         </Button>
74
-        <Button type="link" style={{ fontSize: '18px', color: '#cacaca', position: 'absolute', top: '50px', right: '0' }} onClick={confirm(data)}>
74
+        <Button type="link" style={{ fontSize: ' 0.11rem', color: '#cacaca', position: 'absolute', top: '40px', right: '0' }} onClick={confirm(data)}>
75 75
           {data.status === 1 ? '停用' : '启用'}
76
-                <Icon type={data.status===1?'close-circle':'form'} style={{ color: '#C0C4CC', marginLeft: '8px' }} />
76
+                <Icon type={data.status===1?'close-circle':'form'} style={{ color: '#C0C4CC', marginLeft: '0.04rem' }} />
77 77
         </Button>
78
-        {/* <Button type="link" style={{ fontSize: '18px', color: '#FF925C', position: 'absolute', top: '50px', right: '0' }} onClick={confirm}>
78
+        {/* <Button type="link" style={{ fontSize: ' 0.11rem', color: '#FF925C', position: 'absolute', top: '50px', right: '0' }} onClick={confirm}>
79 79
           启用
80 80
                 <Icon type="form" style={{ color: '#C0C4CC', marginLeft: '8px' }} />
81 81
         </Button> */}

+ 14
- 14
src/pages/staff/list/style.less View File

@@ -13,44 +13,44 @@
13 13
 
14 14
 
15 15
 .card {
16
-  min-width: 330px;
17
-  margin-right: 2vw;
18
-  height: 244px;
16
+  min-width: 240px;
17
+  margin-right: 0.1rem;
18
+  height: 240px;
19 19
   background: rgba(255, 255, 255, 1);
20 20
   box-shadow: 0px 0px 16px 2px rgba(0, 0, 0, 0.12);
21 21
   border-radius: 12px;
22 22
   margin-bottom: 40px;
23 23
   position: relative;
24
+  
24 25
 }
25 26
 
26
-
27 27
 .cardText {
28
-  font-size: 20px;
28
+  font-size: 0.12rem;
29 29
   color: rgba(102, 102, 102, 1);
30 30
   position: absolute;
31
-  bottom:52px;
31
+  bottom:0.28rem;
32 32
 }
33 33
 .statusText {
34
-  font-size: 20px;
34
+  font-size: 0.12rem;
35 35
   color: rgba(102, 102, 102, 1);
36 36
   position: absolute;
37
-  bottom:52px;
37
+  bottom:0.28rem;
38 38
   right: 20px;
39 39
 }
40 40
 .phoneText{
41
-  font-size: 20px;
41
+  font-size: 0.12rem;
42 42
   color: rgba(102, 102, 102, 1);
43 43
   position: absolute;
44
-  bottom:16px;
44
+  bottom:0.05rem;
45 45
 }
46 46
 
47 47
 .cardItem {
48
-  font-size: 18px;
49
-  font-weight: 400;
50 48
   color: #666;
51
-  line-height: 24px;
52 49
   display: flex;
53 50
   align-items: center;
51
+  line-height: 1.5;
52
+  font-size: 0.11rem;
53
+  margin-bottom: 0.08rem;
54 54
 }
55 55
 
56 56
 
@@ -66,7 +66,7 @@
66 66
 
67 67
 .title {
68 68
   display: inline-block;
69
-  width: 84px;
69
+  width:  0.54rem;
70 70
   justify-content: space-between;
71 71
   text-align: justify;
72 72
   text-align-last: justify;

+ 1
- 1
src/pages/user/login/components/Login/index.jsx View File

@@ -118,7 +118,7 @@ class Login extends Component {
118 118
           <div className={styles.con}>
119 119
             <p className={styles.welcome}>Welcome</p>
120 120
             <div className={styles.title}>
121
-              <span style={{fontSize:'18px',lineHeight:'18px'}}>ying xiao yun</span>
121
+              <span style={{fontSize:' 0.11rem',lineHeight:' 0.11rem'}}>ying xiao yun</span>
122 122
               <p className={styles.name}>营销云·系统</p>
123 123
             </div>
124 124
           </div>

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

@@ -91,7 +91,7 @@ position: relative;
91 91
 
92 92
   .prefixIcon {
93 93
     color: #fff;
94
-    font-size: 18px;
94
+    font-size:  0.11rem;
95 95
     background-color: #EF273A;
96 96
     padding: 3px 4px;
97 97
   }

+ 1
- 0
src/services/apis.js View File

@@ -101,6 +101,7 @@ export default {
101 101
     getList: {
102 102
       method: 'GET',
103 103
       url: `${prefix}/taNews`,
104
+      action: '/api/admin/taNews'
104 105
     },
105 106
   },
106 107
   customer: {