许静 5 anni fa
parent
commit
4bee8f0ab2

+ 1
- 1
src/app.js Vedi File

4
     recalc = function () {
4
     recalc = function () {
5
       var clientWidth = docEl.clientWidth;
5
       var clientWidth = docEl.clientWidth;
6
       if (!clientWidth) return;
6
       if (!clientWidth) return;
7
-      if (clientWidth >= 900) {
7
+      if (clientWidth < 900) {
8
         docEl.style.fontSize = '100px';
8
         docEl.style.fontSize = '100px';
9
       } else {
9
       } else {
10
         docEl.style.fontSize = 100 * (clientWidth / 900) + 'px';
10
         docEl.style.fontSize = 100 * (clientWidth / 900) + 'px';

+ 3
- 3
src/global.less Vedi File

80
 .ant-menu-vertical-right .ant-menu-submenu-title,
80
 .ant-menu-vertical-right .ant-menu-submenu-title,
81
 .ant-menu-inline .ant-menu-submenu-title,
81
 .ant-menu-inline .ant-menu-submenu-title,
82
 .ant-input ,.ant-btn,.ant-select,.ant-table,.ant-form-item,.ant-form label,.ant-tabs-nav-container {
82
 .ant-input ,.ant-btn,.ant-select,.ant-table,.ant-form-item,.ant-form label,.ant-tabs-nav-container {
83
-  font-size: 0.18rem;
83
+  font-size: 0.08rem;
84
   
84
   
85
 }
85
 }
86
 .ant-input{
86
 .ant-input{
93
   min-width: 100px;
93
   min-width: 100px;
94
 }
94
 }
95
 .ant-breadcrumb{
95
 .ant-breadcrumb{
96
-  font-size: 0.16rem;
96
+  font-size: 0.08rem;
97
   .anticon {
97
   .anticon {
98
-    font-size: 0.16rem;
98
+    font-size: 0.08rem;
99
   }
99
   }
100
 } 
100
 } 
101
   .ant-pro-global-header-trigger{
101
   .ant-pro-global-header-trigger{

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

137
         <span className={Styles.title}>录入时间</span>
137
         <span className={Styles.title}>录入时间</span>
138
         <span >:{data.createDate}</span>
138
         <span >:{data.createDate}</span>
139
       </p>
139
       </p>
140
-      <p style={{ margin: '15px 0', position: 'relative', fontSize: '0.18rem' }}>
140
+      <p style={{ margin: '15px 0', position: 'relative', fontSize: '0.09rem' }}>
141
         <span style={{ color: '#FF4A4A' }} onClick={() => pulicAndUnPulic(data)}>
141
         <span style={{ color: '#FF4A4A' }} onClick={() => pulicAndUnPulic(data)}>
142
           {/* 已发布的时候,需要显示取消发布的字样 */}
142
           {/* 已发布的时候,需要显示取消发布的字样 */}
143
           {data.status === 1 ? '取消发布' : '发布'}
143
           {data.status === 1 ? '取消发布' : '发布'}

+ 3
- 3
src/pages/building/list/style.less Vedi File

15
   margin: 10px 0px;
15
   margin: 10px 0px;
16
 }
16
 }
17
 .cardText {
17
 .cardText {
18
-  font-size: 0.18rem;
18
+  font-size: 0.09rem;
19
   color: #333;
19
   color: #333;
20
   line-height: 24px;
20
   line-height: 24px;
21
   display: flex;
21
   display: flex;
24
 
24
 
25
 }
25
 }
26
 .cardItem{
26
 .cardItem{
27
-  font-size: 0.18rem;
27
+  font-size: 0.09rem;
28
   font-weight: 400;
28
   font-weight: 400;
29
   color: #666;
29
   color: #666;
30
   line-height: 24px;
30
   line-height: 24px;
32
   align-items: center;  
32
   align-items: center;  
33
 }
33
 }
34
 .ediText {
34
 .ediText {
35
-  font-size: 0.18rem;
35
+  font-size: 0.09rem;
36
   color: #ff925c;
36
   color: #ff925c;
37
   line-height: 24px;
37
   line-height: 24px;
38
   position: absolute;
38
   position: absolute;