许静 5 years ago
parent
commit
b1ff8d5588

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

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

@@ -5,7 +5,7 @@
5 5
   top: 20px;
6 6
   left: 20px;
7 7
   background-color: white;
8
-  width: 280px;
8
+  width: 290px;
9 9
   box-shadow: 0 2px 6px 0 rgba(114, 124, 245, .5);
10 10
   z-index: 100;
11 11
   .inputText{

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

+ 7
- 4
src/pages/building/list/style.css View File

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

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

@@ -17,34 +17,37 @@
17 17
 .cardText {
18 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 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 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;

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

@@ -26,20 +26,20 @@
26 26
   font-size: 0.11rem;
27 27
   font-weight: 400;
28 28
   color: #666;
29
-  line-height: 24px;
30 29
   display: flex;
31 30
   align-items: center;
31
+  margin-bottom: 0.08rem;
32 32
 }
33 33
 .ediText {
34 34
   font-size: 0.11rem;
35 35
   color: #ff925c;
36
-  line-height: 24px;
37 36
   position: absolute;
38 37
   right: 0;
38
+  margin-bottom: 0.08rem;
39 39
 }
40 40
 .title {
41 41
   display: inline-block;
42
-  width: 84px;
42
+   width: 0.54rem;
43 43
   justify-content: space-between;
44 44
   text-align: justify;
45 45
   text-align-last: justify;

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