dingxin 5 gadus atpakaļ
vecāks
revīzija
52fae58c0a
35 mainītis faili ar 470 papildinājumiem un 557 dzēšanām
  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. 4
    6
      src/pages/building/list/add/components/poster.jsx
  8. 7
    8
      src/pages/building/list/add/components/share.jsx
  9. 2
    2
      src/pages/building/list/index.jsx
  10. 56
    0
      src/pages/building/list/style.css
  11. 17
    14
      src/pages/building/list/style.less
  12. 53
    0
      src/pages/building/list/style.wxss
  13. 7
    6
      src/pages/building/type/style.css
  14. 8
    7
      src/pages/building/type/style.less
  15. 4
    4
      src/pages/building/type/style.wxss
  16. 4
    4
      src/pages/customer/customerlist/style.css
  17. 9
    8
      src/pages/customer/customerlist/style.less
  18. 4
    4
      src/pages/customer/customerlist/style.wxss
  19. 9
    8
      src/pages/customer/drift/style.less
  20. 4
    4
      src/pages/customer/independentList/style.css
  21. 8
    7
      src/pages/customer/independentList/style.less
  22. 4
    4
      src/pages/customer/independentList/style.wxss
  23. 4
    4
      src/pages/customer/recommendCustomer/style.css
  24. 6
    5
      src/pages/customer/recommendCustomer/style.less
  25. 4
    4
      src/pages/customer/recommendCustomer/style.wxss
  26. 4
    4
      src/pages/customer/report/style.css
  27. 9
    7
      src/pages/customer/report/style.less
  28. 4
    4
      src/pages/customer/report/style.wxss
  29. 9
    9
      src/pages/news/list/NewsList.jsx
  30. 8
    7
      src/pages/news/list/style.less
  31. 6
    6
      src/pages/staff/list/StaffList.jsx
  32. 14
    14
      src/pages/staff/list/style.less
  33. 1
    1
      src/pages/user/login/components/Login/index.jsx
  34. 1
    1
      src/pages/user/login/components/Login/index.less
  35. 96
    5
      src/services/apis.js

+ 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://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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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.4rem;
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 Parādīt failu

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

+ 4
- 6
src/pages/building/list/add/components/poster.jsx Parādīt failu

@@ -31,8 +31,7 @@ const Poster = props => {
31 31
     // eslint-disable-next-line react-hooks/rules-of-hooks
32 32
     useEffect(() => {
33 33
       request({
34
-        url: '/api/admin/poster',
35
-        method: 'GET',
34
+        ...apis.activity.poster,
36 35
         params: { targetId: buildingId, targetType: 'building' },
37 36
       }).then(data => {
38 37
         console.log(data, '2222')
@@ -64,8 +63,8 @@ const Poster = props => {
64 63
     if (buildingId) {
65 64
       if (posterId) {
66 65
         request({
67
-          url: `/api/admin/poster/${posterId}`,
68
-          method: 'PUT',
66
+          ...apis.activity.updatePoster,
67
+          urlData: { id: posterId },
69 68
           data: { targetId: buildingId, targetType: 'building', posterImg: imgValue, posterTitle: inputValue, posterDescription: textAreaValue },
70 69
         }).then(() => {
71 70
           message.info('保存成功')
@@ -74,8 +73,7 @@ const Poster = props => {
74 73
         })
75 74
       } else {
76 75
         request({
77
-          url: '/api/admin/poster',
78
-          method: 'POST',
76
+          ...apis.activity.addPoster,
79 77
           data: { targetId: buildingId, targetType: 'building', posterImg: imgValue, posterTitle: inputValue, posterDescription: textAreaValue },
80 78
         }).then(data => {
81 79
           setPosterId(data.posterId)

+ 7
- 8
src/pages/building/list/add/components/share.jsx Parādīt failu

@@ -14,6 +14,7 @@ import logo from '../../../../../assets/logo.png';
14 14
 import touxiang from '../../../../../assets/touxiang.jpg';
15 15
 import poster1 from '../../../../../assets/poster1.png';
16 16
 import poster2 from '../../../../../assets/poster2.png';
17
+import apis from '../../../../../services/apis';
17 18
 
18 19
 const Share = props => {
19 20
   const [inputValue, changeInput] = useState('')
@@ -25,8 +26,7 @@ const Share = props => {
25 26
     // eslint-disable-next-line react-hooks/rules-of-hooks
26 27
     useEffect(() => {
27 28
       request({
28
-        url: '/api/admin/shareContent',
29
-        method: 'GET',
29
+        ...apis.activity.shareContent,
30 30
         params: { targetId: buildingId, targetType: 'building' },
31 31
       }).then(data => {
32 32
         if (data.length > 0) {
@@ -44,9 +44,9 @@ const Share = props => {
44 44
     if (buildingId) {
45 45
       if (shareContentId) {
46 46
         request({
47
-          url: `/api/admin/shareContent/${shareContentId}`,
48
-          method: 'PUT',
49
-          data: { targetId: buildingId, shareContentType: 'building',shareContentImg: imgValue,shareContentTitle: inputValue },
47
+          ...apis.activity.updateShareContent,
48
+          urlData: { id: shareContentId },
49
+          data: { targetId: buildingId, shareContentType: 'building', shareContentImg: imgValue,shareContentTitle: inputValue },
50 50
         }).then(data => {
51 51
           message.info('保存成功')
52 52
         }).catch(err => {
@@ -54,9 +54,8 @@ const Share = props => {
54 54
         })
55 55
        } else {
56 56
         request({
57
-          url: '/api/admin/shareContent',
58
-          method: 'POST',
59
-          data: { targetId: buildingId, shareContentType: 'building',shareContentImg: imgValue,shareContentTitle: inputValue },
57
+          ...apis.activity.addShareContent,
58
+          data: { targetId: buildingId, shareContentType: 'building', shareContentImg: imgValue,shareContentTitle: inputValue },
60 59
         }).then(data => {
61 60
           setShareContentId(data.shareContentId)
62 61
           message.info('保存成功')

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

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

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

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

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

+ 96
- 5
src/services/apis.js Parādīt failu

@@ -15,11 +15,13 @@ export default {
15 15
     current: {
16 16
       method: 'GET',
17 17
       url: `${prefix}/taUser/current`,
18
+      action: 'admin.taUser.current.get',
18 19
     },
19 20
     signin: {
20 21
       method: 'POST',
21 22
       url: `${prefix}/taUser/signin`,
22
-      login: true
23
+      login: true,
24
+      action: 'admin.taUser.signin.post',
23 25
     },
24 26
     signout: {
25 27
       method: 'POST',
@@ -31,128 +33,158 @@ export default {
31 33
     getList: {
32 34
       method: 'GET',
33 35
       url: `${prefix}/buildinglist`,
36
+      action: 'admin.buildinglist.get',
34 37
     },
35 38
     updateStatus: {
36 39
       method: 'PUT',
37 40
       url: `${prefix}/building/update/status`,
41
+      action: 'admin.building.update.status.put',
38 42
     },
39 43
     addBuilding: {
40 44
       method: 'POST',
41 45
       url: `${prefix}/building/add`,
46
+      action: 'admin.building.add.post',
42 47
     },
43 48
     updateBuilding: {
44 49
       method: 'PUT',
45 50
       url: `${prefix}/building/update`,
51
+      action: 'admin.building.update.put',
46 52
     },
47 53
     buildingGetById: {
48 54
       method: 'GET',
49 55
       url: `${prefix}/buildingSelectId/id`,
56
+      action: 'admin.buildingSelectId.id.get',
50 57
     },
51 58
     deleteBuilding: {
52 59
       method: 'DELETE',
53 60
       url: `${prefix}/building/delete/id`,
61
+      action: 'admin.building.delete.id.delete',
54 62
     },
55 63
     buildingApartment: {
56 64
       method: 'GET',
57 65
       url: `${prefix}/buildingApartment/buildingId/id`,
66
+      action: 'admin.buildingApartment.buildingId.id.get',
58 67
     },
59 68
     buildingApartmentGetById: {
60 69
       method: 'GET',
61 70
       url: `${prefix}/buildingApartment/id`,
71
+      action: 'admin.buildingApartment.id.get',
62 72
     },
63 73
     buildingApartmentUpdate: {
64 74
       method: 'PUT',
65 75
       url: `${prefix}/buildingApartment/update`,
76
+      action: 'admin.buildingApartment.update.put',
66 77
     },
67 78
     buildingApartmentAdd: {
68 79
       method: 'POST',
69 80
       url: `${prefix}/buildingApartment/add`,
81
+      action: 'admin.buildingApartment.add.post',
70 82
     },
71 83
     buildingApartmentDelete: {
72 84
       method: 'DELETE',
73 85
       url: `${prefix}/apartment/deleted/id`,
86
+      action: 'admin.apartment.deleted.id.delete',
74 87
     },
75 88
   },
76 89
   buildingType: {
77 90
     getList: {
78 91
       method: 'GET',
79 92
       url: `${prefix}/tdBuildingType`,
93
+      action: 'admin.tdBuildingType.get',
80 94
     },
81 95
     delete: {
82 96
       method: 'DELETE',
83 97
       url: `${prefix}/tdBuildingType/id`,
98
+      action: 'admin.tdBuildingType.id.delete',
84 99
     },
85 100
     update: {
86 101
       method: 'PUT',
87 102
       url: `${prefix}/tdBuildingType/id`,
103
+      action: 'admin.tdBuildingType.id.put',
88 104
     },
89 105
     add: {
90 106
       method: 'POST',
91 107
       url: `${prefix}/tdBuildingType`,
108
+      action: 'admin.tdBuildingType.post',
92 109
     },
93 110
     getById: {
94 111
       method: 'GET',
95 112
       url: `${prefix}/tdBuildingType/id`,
113
+      action: 'admin.tdBuildingType.id.get',
96 114
     },
97 115
   },
98 116
   news: {
99 117
     getList: {
100 118
       method: 'GET',
101 119
       url: `${prefix}/taNews`,
120
+      action: 'admin.taNews.get',
102 121
     },
103 122
   },
104 123
   customer: {
105 124
     drift: {
106 125
       method: 'GET',
107 126
       url: `${prefix}/customer/recommend/drift`,
127
+      action: 'admin.customer.recommend.drift.get',
108 128
     },
109 129
     report: {
110 130
       method: 'GET',
111 131
       url: `${prefix}/customer/recommend/report`,
132
+      action: 'admin.customer.recommend.report.get',
112 133
     },
113 134
     recommender: {
114 135
       method: 'GET',
115 136
       url: `${prefix}/customer/recommend/recommender`,
137
+      action: 'admin.customer.recommend.recommender.get',
116 138
     },
117 139
     auto: {
118 140
       method: 'PUT',
119 141
       url: `${prefix}/customer/recommend/verify/id`,
142
+      action: 'admin.customer.recommend.verify.id.put',
120 143
     },
121 144
     recommendGetById: {
122 145
       method: 'GET',
123 146
       url: `${prefix}/customer/recommend/getById/id`,
147
+      action: 'admin.customer.recommend.getById.id.get',
124 148
     },
125 149
     agents: {
126 150
       method: 'GET',
127 151
       url: `${prefix}/customer/agents`,
152
+      action: 'admin.customer.agents.get',
128 153
     },
129 154
     customerRecommend: {
130 155
       method: 'GET',
131 156
       url: `${prefix}/customer/recommend`,
157
+      action: 'admin.customer.recommend.get',
132 158
     },
133 159
     consultant: {
134 160
       method: 'GET',
135 161
       url: `${prefix}/consultant`,
162
+      action: 'admin.consultant.get',
136 163
     },
137 164
     recommendEdit: {
138 165
       method: 'PUT',
139 166
       url: `${prefix}/customer/recommend/edit/id`,
167
+      action: 'admin.customer.recommend.edit.id.put',
140 168
     },
141 169
     taPointsRecords: {
142 170
       method: 'GET',
143 171
       url: `${prefix}/mine/taPointsRecords/id`,
172
+      action: 'admin.mine.taPointsRecords.id.get',
144 173
     },
145 174
     recommend: {
146 175
       method: 'GET',
147 176
       url: `${prefix}/customer/recommend/id`,
177
+      action: 'admin.customer.recommend.id.get',
148 178
     },
149 179
     InviteClientsList: {
150 180
       method: 'GET',
151 181
       url: `${prefix}/channel/InviteClientsList`,
182
+      action: 'admin.channel.InviteClientsList.get',
152 183
     },
153 184
     CustomerRecommendGet: {
154 185
       method: 'GET',
155 186
       url: `${prefix}/customer/recommend/get/id`,
187
+      action: 'admin.customer.recommend.get.id.get',
156 188
     },
157 189
   },
158 190
   indexEcharts: {
@@ -162,7 +194,8 @@ export default {
162 194
     },
163 195
     userCity: {
164 196
       method:'get',
165
-      url: `${prefix}/selectCityUser`
197
+      url: `${prefix}/selectCityUser`,
198
+      action: 'admin.selectCityUser.get'
166 199
     },
167 200
 
168 201
   },
@@ -170,251 +203,309 @@ export default {
170 203
       list: {
171 204
         method: 'GET',
172 205
         url: `${prefix}/iBuildingDynamicList`,
206
+        action: 'admin.iBuildingDynamicList.get',
173 207
       },
174 208
       weight: {
175 209
         method: 'PUT',
176 210
         url: `${prefix}/buildingDynamic/weight`,
211
+        action: 'admin.buildingDynamic.weight.put',
177 212
       },
178 213
       cancel: {
179 214
         method: 'PUT',
180 215
         url: `${prefix}/buildingDynamic/cancel/:id`,
216
+        action: 'admin.buildingDynamic.cancel.dynamicId.put'
181 217
       },
182 218
       send: {
183 219
         url: `${prefix}/buildingDynamic/send/:id`,
184 220
         method: 'PUT',
221
+        action: 'admin.buildingDynamic.send.dynamicId.put'
185 222
       },
186 223
       finish: {
187 224
         url: `${prefix}/buildingDynamic/finish`,
188 225
         method: 'PUT',
226
+        action: 'admin.buildingDynamic.finish.put'
189 227
       },
190 228
       details: {
191 229
         url: `${prefix}/buildingDynamic/Details`,
192 230
         method: 'GET',
231
+        action: 'admin.buildingDynamic.Details.get',
193 232
       },
194 233
       update: {
195 234
         url: `${prefix}/buildingDynamic/update`,
196 235
         method: 'PUT',
236
+        action: 'admin.buildingDynamic.update.put',
197 237
       },
198 238
       add: {
199 239
         url: `${prefix}/buildingDynamic/add`,
200 240
         method: 'POST',
241
+        action: 'admin.buildingDynamic.add.post',
201 242
       },
202 243
       poster: {
203 244
         url: `${prefix}/poster`,
204 245
         method: 'GET',
246
+        action: 'admin.poster.get',
205 247
       },
206 248
       updatePoster: {
207 249
         url: `${prefix}/poster/:id`,
208 250
         method: 'PUT',
251
+        action: 'admin.poster.id.put',
209 252
       },
210 253
       addPoster: {
211 254
         url: `${prefix}/poster`,
212 255
         method: 'POST',
256
+        action: 'admin.poster.post',
213 257
       },
214 258
       shareContent: {
215 259
         url: `${prefix}/shareContent`,
216 260
         method: 'GET',
261
+        action: 'admin.shareContent.get',
217 262
       },
218 263
       updateShareContent: {
219 264
         url: `${prefix}/shareContent/:id`,
220 265
         method: 'PUT',
266
+        action: 'admin.shareContent.id.put',
221 267
       },
222 268
       addShareContent: {
223 269
         url: `${prefix}/shareContent`,
224 270
         method: 'POST',
271
+        action: 'admin.shareContent.post',
225 272
       },
226 273
       signList: {
227 274
         url: `${prefix}/SignList`,
228 275
         method: 'GET',
276
+        action: 'admin.SignList.get',
229 277
       }
230 278
   },
231 279
   integralMall: {
232 280
     tdPointsRules: {
233 281
       url: `${prefix}/tdPointsRules`,
234 282
       method: 'GET',
283
+      action: 'admin.tdPointsRules.get',
235 284
     },
236 285
     change: {
237 286
       url: `${prefix}/tdPointsRules/change`,
238 287
       method: 'PUT',
288
+      action: 'admin.tdPointsRules.change.put',
239 289
     },
240 290
     taGoods: {
241 291
       url: `${prefix}/taGoods/:id`,
242 292
       method: 'GET',
293
+      action: 'admin.taGoods.id.get',
243 294
     },
244 295
     updateTaGoods: {
245 296
       url: `${prefix}/taGoods`,
246 297
       method: 'PUT',
298
+      action: 'admin.taGoods.put',
247 299
     },
248 300
     addTaGoods: {
249 301
       url: `${prefix}/taGoods/add`,
250 302
       method: 'POST',
303
+      action: 'admin.taGoods.add.post',
251 304
     },
252 305
     taPointsExchange: {
253 306
       url: `${prefix}/taPointsExchange`,
254
-        method: 'GET',
307
+      method: 'GET',
308
+      action: 'admin.taPointsExchange.get',
255 309
     },
256 310
     getTaGoods: {
257 311
       url: `${prefix}/taGoods`,
258 312
       method: 'GET',
313
+      action: 'admin.taGoods.get',
259 314
     },
260 315
     changeTaGoods: {
261 316
       url: `${prefix}/taGoods/change`,
262 317
       method: 'PUT',
318
+      action: 'admin.taGoods.change.put',
263 319
     },
264 320
     changeTaPointsExchange: {
265 321
       url: `${prefix}/taPointsExchange/change`,
266 322
       method: 'PUT',
323
+      action: 'admin.taPointsExchange.change.put',
267 324
     }
268 325
   },
269 326
   carsuseFigure: {
270 327
     extendContent: {
271 328
       url: `${prefix}/extendContent`,
272 329
       method: 'GET',
330
+      action: 'admin.extendContent.get',
273 331
     },
274 332
     finish: {
275 333
       url: `${prefix}/buildingDynamic/finish`,
276 334
       method: 'PUT',
335
+      action: 'admin.buildingDynamic.finish.put',
277 336
     },
278 337
     updataExtendContent: {
279 338
       url: `${prefix}/extendContent/:id`,
280 339
       method: 'PUT',
340
+      action: 'admin.extendContent.id.put',
281 341
     },
282 342
     getExtendContent: {
283 343
       url: `${prefix}/extendContent/:id`,
284 344
       method: 'GET',
345
+      action: 'admin.extendContent.id.get',
285 346
     },
286 347
     addExtendContent: {
287 348
       url: `${prefix}/extendContent`,
288 349
       method: 'POST',
350
+      action: 'admin.extendContent.post',
289 351
     }
290 352
   },
291 353
   system: {
292 354
     taPolicy: {
293 355
       url: `${prefix}/taPolicy/:id`,
294 356
       method: 'GET',
357
+      action: 'admin.taPolicy.id.get',
295 358
     },
296 359
     updateTaPolicy: {
297 360
       url: `${prefix}/taPolicy/:id`,
298 361
       method: 'PUT',
362
+      action: 'admin.taPolicy.id.put',
299 363
     },
300 364
     addTaPolicy: {
301 365
       url: `${prefix}/taPolicy`,
302 366
       method: 'POST',
367
+      action: 'admin.taPolicy.post',
303 368
     },
304 369
     getTaPolicy: {
305 370
       url: `${prefix}/taPolicy`,
306 371
       method: 'GET',
372
+      action: 'admin.taPolicy.get',
307 373
     },
308 374
     deleteTaPolicy: {
309 375
       url: `${prefix}/taPolicy/:id`,
310 376
       method: 'DELETE',
377
+      action: 'admin.taPolicy.id.delete',
311 378
     },
312 379
     tdBizEventIntention: {
313 380
       url: `${prefix}/tdBizEventIntention`,
314 381
       method: 'GET',
382
+      action: 'admin.tdBizEventIntention.get',
315 383
     },
316 384
     taBuildingIntentionAddOrUpdate: {
317 385
       url: `${prefix}/taBuildingIntentionAddOrUpdate/:id`,
318 386
       method: 'POST',
387
+      action: 'admin.taBuildingIntentionAddOrUpdate.buildingId.post',
319 388
     },
320 389
     taCustomerMessage: {
321 390
       url: `${prefix}/taCustomerMessage`,
322 391
       method: 'GET',
392
+      action: 'admin.taCustomerMessage.get',
323 393
     },
324 394
     tdReports: {
325 395
       url: `${prefix}/tdReports`,
326 396
       method: 'GET',
397
+      action: 'admin.tdReports.get',
327 398
     },
328 399
     taBuildingReports: {
329 400
       url: `${prefix}/taBuildingReports`,
330 401
       method: 'GET',
402
+      action: 'admin.taBuildingReports.get',
331 403
     },
332 404
     addTaBuildingReports: {
333 405
       url: `${prefix}/taBuildingReport/add`,
334 406
       method: 'POST',
407
+      action: 'admin.taBuildingReport.add.post',
335 408
     }
336 409
   },
337 410
   staff: {
338 411
     taUser: {
339 412
       url: `${prefix}/taUser`,
340 413
       method: 'GET',
414
+      action: 'admin.taUser.get',
341 415
     },
342 416
     taTags: {
343 417
       url: `${prefix}/taTags`,
344 418
       method: 'GET',
419
+      action: 'admin.taTags.get',
345 420
     },
346 421
     getTaUser: {
347 422
       url: `${prefix}/taUser/:id`,
348 423
       method: 'GET',
424
+      action: 'admin.taUser.id.get',
349 425
     },
350 426
     updateTaUser: {
351 427
       url: `${prefix}/taUser/:id`,
352 428
       method: 'PUT',
429
+      action: 'admin.taUser.id.put',
353 430
     },
354 431
     addTaUser: {
355 432
       url: `${prefix}/taUser`,
356 433
       method: 'POST',
434
+      action: 'admin.taUser.post',
357 435
     },
358 436
     change: {
359 437
       url: `${prefix}/turn/taUser/:id/:type`,
360 438
       method: 'PUT',
439
+      action: 'admin.turn.taUser.put',  
361 440
     },
362 441
   },
363
-
364 442
   channelList: {
365 443
     getList: {
366 444
       url: `${prefix}/channel`,
367 445
       method: 'GET',
446
+      action: 'admin.channel.get',
368 447
     },
369 448
     addChannel: {
370 449
       url: `${prefix}/channel`,
371 450
       method: 'POST',
451
+      action: 'admin.channel.post',
372 452
     },
373 453
     getById: {
374 454
       url: `${prefix}/channel/:id`,
375 455
       method: 'GET',
456
+      action: 'admin.channel.id.get',
376 457
     },
377 458
     editChannel: {
378 459
       url: `${prefix}/channel/:id`,
379 460
       method: 'PUT',
461
+      action: 'admin.channel.id.put',
380 462
     },
381 463
     getListBroker: {
382 464
       url: `${prefix}/channel/broker`,
383 465
       method: 'GET',
466
+      action: 'admin.channel.broker.get',
384 467
     },
385 468
     getListRecommend: {
386 469
       url: `${prefix}/customer/recommend/:id`,
387 470
       method: 'GET',
471
+      action: 'admin.customer.recommend.id.get',
388 472
     },
389 473
     getListInvite: {
390
-      url: `${prefix}/InviteClientsList`,
474
+      url: `${prefix}/channel/InviteClientsList`,
391 475
       method: 'GET',
476
+      action: 'admin.InviteClientsList.get',
392 477
     },
393 478
  },
394 479
  role: {
395 480
   getRoleList: {
396 481
     url: `${prefix}/taRole`,
397 482
     method: 'GET',
483
+    action: 'admin.taRole.get',
398 484
   },
399 485
   stop: {
400 486
     url: `${prefix}/taRole/stop/:id`,
401 487
     method: 'PUT',
488
+    action: 'admin.taRole.stop.id.PUT',
402 489
   },
403 490
   menuList: {
404 491
     url: `${prefix}/menuList`,
405 492
     method: 'GET',
493
+    action: 'admin.menuList.get',
406 494
   },
407 495
   buttonList: {
408 496
     url: `${prefix}/buttonList`,
409 497
     method: 'GET',
498
+    action: 'admin.buttonList.get',
410 499
   },
411 500
   buttonAndMenuList: {
412 501
     url: `${prefix}/taRole/details/:id`,
413 502
     method: 'GET',
503
+    action: 'admin.taRole.details.id.get'
414 504
   },
415 505
   updateAuthMenu: {
416 506
     url: `${prefix}/updateAuthMenu`,
417 507
     method: 'POST',
508
+    action: 'admin.updateAuthMenu.post',
418 509
   },
419 510
  },
420 511
   // indexEcharts:{