许静 5 år sedan
förälder
incheckning
a08acc53c0

+ 3
- 3
src/global.less Visa fil

@@ -80,7 +80,7 @@ ol {
80 80
 .ant-menu-vertical-right .ant-menu-submenu-title,
81 81
 .ant-menu-inline .ant-menu-submenu-title,
82 82
 .ant-input ,.ant-btn,.ant-select,.ant-table,.ant-form-item,.ant-form label,.ant-tabs-nav-container {
83
-  font-size: 0.1rem;
83
+  font-size: 0.096rem;
84 84
   
85 85
 }
86 86
 .ant-input{
@@ -120,9 +120,9 @@ ol {
120 120
   margin-bottom: 40px;
121 121
 }
122 122
 .ant-breadcrumb{
123
-  font-size: 0.1rem;
123
+  font-size: 0.096rem;
124 124
   .anticon {
125
-    font-size: 0.1rem;
125
+    font-size: 0.096rem;
126 126
   }
127 127
 } 
128 128
   .ant-pro-global-header-trigger{

+ 1
- 1
src/layouts/BasicLayout.jsx Visa fil

@@ -89,7 +89,7 @@ const BasicLayout = props => {
89 89
       }}
90 90
       breadcrumbRender={(routers = []) => [
91 91
         {
92
-          path: '/',
92
+          path: '/welcome',
93 93
           breadcrumbName: formatMessage({
94 94
             id: 'menu.home',
95 95
             defaultMessage: 'Home',

+ 3
- 3
src/pages/Welcome.jsx Visa fil

@@ -29,7 +29,7 @@ const welcome = (props) => {
29 29
       <div style={{ display: 'flex', marginBottom: '33px' }}>
30 30
         <div style={{
31 31
           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',
32
-          boxShadow: '0px  0.11rem 14px -15px rgba(241,43,62,1)',
32
+          boxShadow: '0px  0.106rem 14px -15px rgba(241,43,62,1)',
33 33
           borderRadius: '12px', width: '32%', marginRight: '2%'
34 34
         }}>
35 35
           <span style={{ fontSize: '24px', color: '#fff' }}>总用户 </span>
@@ -37,7 +37,7 @@ const welcome = (props) => {
37 37
         </div>
38 38
         <div style={{
39 39
           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',
40
-          boxShadow: '0px  0.11rem 14px -15px rgba(255,126,74,1)',
40
+          boxShadow: '0px  0.106rem 14px -15px rgba(255,126,74,1)',
41 41
           borderRadius: '12px', width: '32%', marginRight: '2%'
42 42
         }}>
43 43
           <span style={{ fontSize: '24px', color: '#fff' }}>总注册用户 </span>
@@ -45,7 +45,7 @@ const welcome = (props) => {
45 45
         </div>
46 46
         <div onClick={() => router.push('/indexEcharts/newUsers')} style={{
47 47
           textAlign: 'center', display: 'flex', justifyContent: 'center', background: 'linear-gradient(137deg,rgba(107,130,230,1) 0%,rgba(152,175,251,1) 100%)', height: '100px',
48
-          boxShadow: '0px  0.11rem 14px -15px rgba(107,130,230,1)',
48
+          boxShadow: '0px  0.106rem 14px -15px rgba(107,130,230,1)',
49 49
           borderRadius: '12px', width: '32%',
50 50
         }}>
51 51
           <span style={{ fontSize: '24px', color: '#fff', borderBottom: '1px solid #fff', margin: '30px 0',cursor: 'pointer' }}>最近7天新增 </span>

+ 1
- 1
src/pages/building/list/index.jsx Visa fil

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

+ 4
- 4
src/pages/building/list/style.css Visa fil

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

+ 3
- 3
src/pages/building/list/style.less Visa fil

@@ -15,7 +15,7 @@
15 15
   margin: 10px 0px;
16 16
 }
17 17
 .cardText {
18
-  font-size: 0.11rem;
18
+  font-size: 0.106rem;
19 19
   color: #333;
20 20
   display: flex;
21 21
   align-items: center;
@@ -24,7 +24,7 @@
24 24
   
25 25
 }
26 26
 .cardItem{
27
-  font-size: 0.11rem;
27
+  font-size: 0.106rem;
28 28
   font-weight: 400;
29 29
   color: #666;
30 30
   display: flex;
@@ -41,7 +41,7 @@
41 41
   
42 42
 }
43 43
 .ediText {
44
-  font-size: 0.11rem;
44
+  font-size: 0.106rem;
45 45
   color: #ff925c;
46 46
   position: absolute;
47 47
   right: 0;

+ 3
- 3
src/pages/building/list/style.wxss Visa fil

@@ -15,7 +15,7 @@
15 15
   margin: 10px 0px;
16 16
 }
17 17
 .cardText {
18
-  font-size: 0.11rem;
18
+  font-size: 0.106rem;
19 19
   color: #333;
20 20
   line-height: 24px;
21 21
   display: flex;
@@ -23,7 +23,7 @@
23 23
   position: relative;
24 24
 }
25 25
 .cardItem {
26
-  font-size: 0.11rem;
26
+  font-size: 0.106rem;
27 27
   font-weight: 400;
28 28
   color: #666;
29 29
   display: flex;
@@ -31,7 +31,7 @@
31 31
   margin-bottom: 0.08rem;
32 32
 }
33 33
 .ediText {
34
-  font-size: 0.11rem;
34
+  font-size: 0.106rem;
35 35
   color: #ff925c;
36 36
   position: absolute;
37 37
   right: 0;

+ 3
- 3
src/pages/building/type/style.css Visa fil

@@ -16,7 +16,7 @@
16 16
   margin: 10px 0px;
17 17
 }
18 18
 .cardText {
19
-  font-size:  0.11rem;
19
+  font-size:  0.106rem;
20 20
   color: #333;
21 21
   line-height: 24px;
22 22
   display: flex;
@@ -29,11 +29,11 @@
29 29
   display: flex;
30 30
   align-items: center;
31 31
   line-height: 1.5;
32
-  font-size: 0.11rem;
32
+  font-size: 0.106rem;
33 33
   margin-bottom: 0.08rem;
34 34
 }
35 35
 .ediText {
36
-  font-size: 0.11rem;
36
+  font-size: 0.106rem;
37 37
   color: #ff925c;
38 38
   line-height: 24px;
39 39
   position: absolute;

+ 3
- 3
src/pages/building/type/style.less Visa fil

@@ -21,7 +21,7 @@
21 21
   align-items: center;
22 22
   position: relative;
23 23
   line-height: 1.5;
24
-  font-size: 0.11rem;
24
+  font-size: 0.106rem;
25 25
   margin-bottom: 0.08rem;
26 26
 
27 27
 }
@@ -30,11 +30,11 @@
30 30
   display: flex;
31 31
   align-items: center;  
32 32
   line-height: 1.5;
33
-  font-size: 0.11rem;
33
+  font-size: 0.106rem;
34 34
   margin-bottom: 0.08rem;
35 35
 }
36 36
 .ediText {
37
-  font-size: 0.11rem;
37
+  font-size: 0.106rem;
38 38
   color: #ff925c;
39 39
   line-height: 24px;
40 40
   position: absolute;

+ 3
- 3
src/pages/building/type/style.wxss Visa fil

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

+ 3
- 3
src/pages/customer/customerlist/style.css Visa fil

@@ -19,7 +19,7 @@
19 19
   margin: 10px 0px;
20 20
 }
21 21
 .cardText {
22
-  font-size:  0.11rem;
22
+  font-size:  0.106rem;
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:  0.11rem;
30
+  font-size:  0.106rem;
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:  0.11rem;
38
+  font-size:  0.106rem;
39 39
   color: #ff925c;
40 40
   line-height: 24px;
41 41
   position: absolute;

+ 3
- 3
src/pages/customer/customerlist/style.less Visa fil

@@ -24,7 +24,7 @@
24 24
   align-items: center;
25 25
   position: relative;
26 26
   line-height: 1.5;
27
-  font-size: 0.11rem;
27
+  font-size: 0.106rem;
28 28
   margin-bottom: 0.08rem;
29 29
 
30 30
 }
@@ -33,11 +33,11 @@
33 33
   display: flex;
34 34
   align-items: center; 
35 35
   line-height: 1.5;
36
-  font-size: 0.11rem;
36
+  font-size: 0.106rem;
37 37
   margin-bottom: 0.08rem; 
38 38
 }
39 39
 .ediText {
40
-  font-size: 0.11rem;
40
+  font-size: 0.106rem;
41 41
   color: #ff925c;
42 42
   line-height: 24px;
43 43
   position: absolute;

+ 3
- 3
src/pages/customer/customerlist/style.wxss Visa fil

@@ -19,7 +19,7 @@
19 19
   margin: 10px 0px;
20 20
 }
21 21
 .cardText {
22
-  font-size:  0.11rem;
22
+  font-size:  0.106rem;
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:  0.11rem;
30
+  font-size:  0.106rem;
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:  0.11rem;
38
+  font-size:  0.106rem;
39 39
   color: #ff925c;
40 40
   line-height: 24px;
41 41
   position: absolute;

+ 3
- 3
src/pages/customer/drift/style.less Visa fil

@@ -21,7 +21,7 @@
21 21
   align-items: center;
22 22
   position: relative;
23 23
   line-height: 1.5;
24
-  font-size: 0.11rem;
24
+  font-size: 0.106rem;
25 25
   margin-bottom: 0.08rem;
26 26
 
27 27
 }
@@ -30,11 +30,11 @@
30 30
   display: flex;
31 31
   align-items: center; 
32 32
   line-height: 1.5;
33
-  font-size: 0.11rem;
33
+  font-size: 0.106rem;
34 34
   margin-bottom: 0.08rem; 
35 35
 }
36 36
 .ediText {
37
-  font-size: 0.11rem;
37
+  font-size: 0.106rem;
38 38
   color: #ff925c;
39 39
   line-height: 24px;
40 40
   position: absolute;

+ 3
- 3
src/pages/customer/independentList/style.css Visa fil

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

+ 3
- 3
src/pages/customer/independentList/style.less Visa fil

@@ -21,7 +21,7 @@
21 21
   align-items: center;
22 22
   position: relative;
23 23
   line-height: 1.5;
24
-  font-size: 0.11rem;
24
+  font-size: 0.106rem;
25 25
   margin-bottom: 0.08rem;
26 26
 
27 27
 }
@@ -30,11 +30,11 @@
30 30
   display: flex;
31 31
   align-items: center;  
32 32
   line-height: 1.5;
33
-  font-size: 0.11rem;
33
+  font-size: 0.106rem;
34 34
   margin-bottom: 0.08rem;
35 35
 }
36 36
 .ediText {
37
-  font-size: 0.11rem;
37
+  font-size: 0.106rem;
38 38
   color: #ff925c;
39 39
   line-height: 24px;
40 40
   position: absolute;

+ 3
- 3
src/pages/customer/independentList/style.wxss Visa fil

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

+ 3
- 3
src/pages/customer/recommendCustomer/style.css Visa fil

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

+ 3
- 3
src/pages/customer/recommendCustomer/style.less Visa fil

@@ -21,12 +21,12 @@
21 21
   align-items: center;
22 22
   position: relative;
23 23
   line-height: 1.5;
24
-  font-size: 0.11rem;
24
+  font-size: 0.106rem;
25 25
   margin-bottom: 0.08rem;
26 26
 
27 27
 }
28 28
 .cardItem{
29
-  font-size: 0.11rem;
29
+  font-size: 0.106rem;
30 30
   font-weight: 400;
31 31
   color: #666;
32 32
   line-height: 24px;
@@ -34,7 +34,7 @@
34 34
   align-items: center;  
35 35
 }
36 36
 .ediText {
37
-  font-size:  0.11rem;
37
+  font-size:  0.106rem;
38 38
   color: #ff925c;
39 39
   line-height: 24px;
40 40
   position: absolute;

+ 3
- 3
src/pages/customer/recommendCustomer/style.wxss Visa fil

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

+ 3
- 3
src/pages/customer/report/style.css Visa fil

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

+ 3
- 3
src/pages/customer/report/style.less Visa fil

@@ -21,7 +21,7 @@
21 21
   align-items: center;
22 22
   position: relative;
23 23
   line-height: 1.5;
24
-  font-size: 0.11rem;
24
+  font-size: 0.106rem;
25 25
   margin-bottom: 0.08rem;
26 26
 
27 27
 }
@@ -31,11 +31,11 @@
31 31
   display: flex;
32 32
   align-items: center;  
33 33
   line-height: 1.5;
34
-  font-size: 0.11rem;
34
+  font-size: 0.106rem;
35 35
   margin-bottom: 0.08rem;
36 36
 }
37 37
 .ediText {
38
-  font-size: 0.11rem;
38
+  font-size: 0.106rem;
39 39
   color: #ff925c;
40 40
   line-height: 24px;
41 41
   position: absolute;

+ 3
- 3
src/pages/customer/report/style.wxss Visa fil

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

+ 26
- 26
src/pages/news/list/NewsList.jsx Visa fil

@@ -97,7 +97,7 @@ function body(props) {
97 97
         okText: '确认',
98 98
         cancelText: '取消',
99 99
         onOk() {
100
-          request({ ...apis.news.delete, urlData: { id: newsId },}).then((data) => {
100
+          request({ ...apis.news.delete, urlData: { id: newsId }, }).then((data) => {
101 101
             message.info('操作成功!')
102 102
             getList({ pageNum: 1, pageSize: 10 });
103 103
           }).catch((err) => {
@@ -126,7 +126,7 @@ function body(props) {
126 126
           okText: '确认',
127 127
           cancelText: '取消',
128 128
           onOk() {
129
-            request({ ...apis.news.cancel, data:{"newsStatus": newsStatus, "buildingId": buildingId, "newsTypeId": newsTypeId}, urlData: { id: newsId },}).then((data) => {
129
+            request({ ...apis.news.cancel, data: { "newsStatus": newsStatus, "buildingId": buildingId, "newsTypeId": newsTypeId }, urlData: { id: newsId }, }).then((data) => {
130 130
               message.info('操作成功!')
131 131
               getList({ pageNum: 1, pageSize: 10 });
132 132
             }).catch((err) => {
@@ -144,7 +144,7 @@ function body(props) {
144 144
           okText: '确认',
145 145
           cancelText: '取消',
146 146
           onOk() {
147
-            request({ ...apis.news.cancel, data:{"newsStatus": newsStatus, "buildingId": buildingId, "newsTypeId": newsTypeId}, urlData: { id: newsId },}).then((data) => {
147
+            request({ ...apis.news.cancel, data: { "newsStatus": newsStatus, "buildingId": buildingId, "newsTypeId": newsTypeId }, urlData: { id: newsId }, }).then((data) => {
148 148
               message.info('操作成功!')
149 149
               getList({ pageNum: 1, pageSize: 10 });
150 150
             }).catch((err) => {
@@ -162,55 +162,55 @@ function body(props) {
162 162
     return (
163 163
       <Card
164 164
         hoverable
165
-        style={{ height: '255px', minWidth: '640px', borderRadius: '12px', margin: '10px', boxShadow: '0px 0px 16px 2px rgba(0,0,0,0.12)', position: 'relative' }}
166
-        cover={<img alt="example" src={data.newsImg} style={{ borderRadius: '12px 0 0 12px', width: '260px', height: '253px' }}></img>}
165
+        style={{ height: '230px', minWidth: '570px', borderRadius: '12px', margin: '10px', boxShadow: '0px 0px 16px 2px rgba(0,0,0,0.12)', position: 'relative' }}
166
+        cover={<img alt="example" src={data.newsImg} style={{ borderRadius: '12px 0 0 12px', width: '230px', height: '228px' }}></img>}
167 167
         bodyStyle={{ padding: '10px 20px' }}
168 168
       >
169 169
         <AuthButton name="admin.taNews.id.put" noRight={null}>
170
-          <span style={{ position: 'absolute', right: '20px', top: '20px', fontSize: ' 0.11rem', color: '#FF7E48', cursor: 'pointer' }} onClick={toEditList(data.newsId)}>
170
+          <span style={{ position: 'absolute', right: '20px', top: '20px', fontSize: ' 0.106rem', color: '#FF7E48', cursor: 'pointer' }} 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: ' 0.11rem', fontSize: ' 0.11rem', color: '#FF7E48',zIndex:1, cursor: 'pointer' }} onClick={cancelRelease.bind(this, data.newsId, 1, data.buildingId, data.newsType.newsTypeId)}>
175
+            <span style={{ position: 'absolute', left: '250px', bottom: ' 10px', fontSize: ' 0.106rem', color: '#FF7E48', zIndex: 1, cursor: 'pointer' }} 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: ' 0.11rem', fontSize: ' 0.11rem', color: '#FF7E48',zIndex:1, cursor: 'pointer' }} onClick={cancelRelease.bind(this, data.newsId, 0, data.buildingId, data.newsType.newsTypeId)}>
179
+            <span style={{ position: 'absolute', left: '250px', bottom: ' 10px', fontSize: ' 0.106rem', color: '#FF7E48', zIndex: 1, cursor: 'pointer' }} 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
         </AuthButton>
185 185
         <AuthButton name="admin.taNews.id.delete" noRight={null}>
186
-            <span style={{ position: 'absolute', right: '20px', bottom: ' 0.11rem', fontSize: ' 0.11rem', color: '#FF7E48', cursor: 'pointer' }} onClick={changeNewsListStatus(data.newsId)}>
187
-                  删除
186
+          <span style={{ position: 'absolute', right: '20px', bottom: ' 10px', fontSize: ' 0.106rem', color: '#FF7E48', cursor: 'pointer' }} onClick={changeNewsListStatus(data.newsId)}>
187
+            删除
188 188
                 <Icon type="rest" style={{ color: '#C0C4CC', marginLeft: '8px' }} />
189
-            </span>
189
+          </span>
190 190
         </AuthButton>
191
-        <div style={{ position: 'absolute', left: '260px', top: '0px', padding: '20px' }}>
191
+        <div style={{ position: 'absolute', left: '240px', top: '0px', padding: '16px 10px', width: '64%' }}>
192 192
           <p style={{
193
-            fontSize: ' 0.11rem', color: '#333', fontWeight: '600', marginBottom: '10px', overflow: 'hidden',
193
+            fontSize: ' 0.106rem', color: '#333', fontWeight: '600', marginBottom: '10px', overflow: 'hidden',
194 194
             textOverflow: 'ellipsis',
195 195
             whiteSpace: 'nowrap',
196
-            width: '300px',
196
+            width: '75%',
197 197
           }}>{data.newsName}</p>
198
-          <p style={{ fontSize: ' 0.11rem', color: '#555', marginBottom: '8px',display:'flex' }}>
199
-            <span style={{ display: 'inline-block', width: '180px',overflow: 'hidden',textOverflow: 'ellipsis',whiteSpace: 'nowrap' }}>资讯类型:{data.newsType.newsTypeName}</span>
198
+          <p style={{ fontSize: ' 0.106rem', color: '#555', marginBottom: '8px', display: 'flex' }}>
199
+            <span style={{ display: 'inline-block', width: '50%', overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>资讯类型:{data.newsType.newsTypeName}</span>
200 200
             <span>状态:{data.newsStatus == 0 ? "已发布" : "未发布"}</span>
201 201
           </p>
202 202
 
203
-          <p style={{ fontSize: ' 0.11rem', color: '#555', marginBottom: '8px' }}>
204
-            <span style={{ display: 'inline-block', width: '180px',overflow: 'hidden',textOverflow: 'ellipsis',whiteSpace: 'nowrap' }}>阅读数量:{data.pvNum}</span>
203
+          <p style={{ fontSize: ' 0.106rem', color: '#555', marginBottom: '8px', display: 'flex', alignItems: 'center' }}>
204
+            <span style={{ display: 'inline-block', width: '50%', overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>阅读数量:{data.pvNum}</span>
205 205
             <span>转发数量:{data.shareNum}</span>
206 206
           </p>
207 207
 
208
-          <p style={{ fontSize: ' 0.11rem', color: '#555', marginBottom: '8px' }}>
209
-            <span style={{ display: 'inline-block', width: '180px',overflow: 'hidden',textOverflow: 'ellipsis',whiteSpace: 'nowrap' }}>点赞数量:{data.favorNum}</span>
208
+          <p style={{ fontSize: ' 0.106rem', color: '#555', marginBottom: '8px', display: 'flex', alignItems: 'center' }}>
209
+            <span style={{ display: 'inline-block', width: '50%', overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>点赞数量:{data.favorNum}</span>
210 210
             <span>收藏数量:{data.saveNum}</span>
211 211
           </p>
212 212
 
213
-          <p style={{ fontSize: ' 0.11rem', color: '#999', marginBottom: '8px' }}>发布时间:{data.createDate}</p>
213
+          <p style={{ fontSize: ' 0.106rem', color: '#999', marginBottom: '8px' }}>发布时间:{data.createDate}</p>
214 214
         </div>
215 215
       </Card>
216 216
     )
@@ -229,11 +229,11 @@ function body(props) {
229 229
     getList({ pageNum: pageNumber, pageSize: 6 })
230 230
   }
231 231
 
232
-   //重置搜索
233
-   function handleReset() {
232
+  //重置搜索
233
+  function handleReset() {
234 234
     props.form.resetFields();
235 235
   }
236
-  
236
+
237 237
   function getDate(value, dateString) {
238 238
     // moment(value).format('YYYY-MM-DD HH:mm:ss')
239 239
     console.log(value, dateString)
@@ -279,7 +279,7 @@ function body(props) {
279 279
             搜索
280 280
           </Button>
281 281
           <Button style={{ marginLeft: 8 }} onClick={handleReset}>
282
-              重置
282
+            重置
283 283
             </Button>
284 284
         </Form.Item>
285 285
       </Form>
@@ -290,7 +290,7 @@ function body(props) {
290 290
       </AuthButton>
291 291
 
292 292
       {/* 卡片内容,显示楼盘项目  */}
293
-      <Row style={{ padding: ' 0 10px' }}>
293
+      <Row>
294 294
         {
295 295
           dataSource.records.map((item, index) => (
296 296
             <Col span={12}>

+ 3
- 3
src/pages/news/list/style.less Visa fil

@@ -21,7 +21,7 @@
21 21
     align-items: center;
22 22
     position: relative;
23 23
     line-height: 1.5;
24
-    font-size: 0.11rem;
24
+    font-size: 0.106rem;
25 25
     margin-bottom: 0.08rem;
26 26
   
27 27
   }
@@ -30,11 +30,11 @@
30 30
     display: flex;
31 31
     align-items: center;  
32 32
     line-height: 1.5;
33
-    font-size: 0.11rem;
33
+    font-size: 0.106rem;
34 34
     margin-bottom: 0.08rem;
35 35
   }
36 36
   .ediText {
37
-    font-size: 0.11rem;
37
+    font-size: 0.106rem;
38 38
     color: #ff925c;
39 39
     line-height: 24px;
40 40
     position: absolute;

+ 3
- 3
src/pages/staff/list/StaffList.jsx Visa fil

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

+ 1
- 1
src/pages/staff/list/style.less Visa fil

@@ -50,7 +50,7 @@
50 50
   display: flex;
51 51
   align-items: center;
52 52
   line-height: 1.5;
53
-  font-size: 0.11rem;
53
+  font-size: 0.106rem;
54 54
   margin-bottom: 0.08rem;
55 55
 }
56 56
 

+ 1
- 1
src/pages/user/login/components/Login/index.jsx Visa fil

@@ -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:' 0.11rem',lineHeight:' 0.11rem'}}>ying xiao yun</span>
121
+              <span style={{fontSize:' 0.106rem',lineHeight:' 0.106rem'}}>ying xiao yun</span>
122 122
               <p className={styles.name}>营销云·系统</p>
123 123
             </div>
124 124
           </div>

+ 4
- 2
src/pages/user/login/components/Login/index.less Visa fil

@@ -19,9 +19,10 @@ position: relative;
19 19
       font-style: italic;
20 20
       margin-bottom: 0;
21 21
       font-family: initial;
22
+      position: relative;
22 23
     }
23 24
     .title{
24
-      width: 260px;
25
+      width: 262px;
25 26
       height: 102px;
26 27
       border:1px solid #fff;
27 28
       text-align: left;
@@ -31,6 +32,7 @@ position: relative;
31 32
       .name{
32 33
         font-size: 41px;
33 34
         margin:0; 
35
+        position: absolute;
34 36
       }
35 37
     }
36 38
     }
@@ -90,7 +92,7 @@ position: relative;
90 92
 
91 93
   .prefixIcon {
92 94
     color: #fff;
93
-    font-size:  0.11rem;
95
+    font-size:  0.106rem;
94 96
     background-color: #EF273A;
95 97
     padding: 3px 4px;
96 98
   }