许静 5 年之前
父節點
當前提交
0f4f87d7b7
共有 4 個檔案被更改,包括 9 行新增9 行删除
  1. 2
    2
      src/app.js
  2. 3
    3
      src/global.less
  3. 1
    1
      src/pages/building/list/index.jsx
  4. 3
    3
      src/pages/building/list/style.less

+ 2
- 2
src/app.js 查看文件

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

+ 3
- 3
src/global.less 查看文件

@@ -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.08rem;
83
+  font-size: 0.1rem;
84 84
   
85 85
 }
86 86
 .ant-input{
@@ -93,9 +93,9 @@ ol {
93 93
   min-width: 100px;
94 94
 }
95 95
 .ant-breadcrumb{
96
-  font-size: 0.08rem;
96
+  font-size: 0.1rem;
97 97
   .anticon {
98
-    font-size: 0.08rem;
98
+    font-size: 0.1rem;
99 99
   }
100 100
 } 
101 101
   .ant-pro-global-header-trigger{

+ 1
- 1
src/pages/building/list/index.jsx 查看文件

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

+ 3
- 3
src/pages/building/list/style.less 查看文件

@@ -15,7 +15,7 @@
15 15
   margin: 10px 0px;
16 16
 }
17 17
 .cardText {
18
-  font-size: 0.09rem;
18
+  font-size: 1.1rem;
19 19
   color: #333;
20 20
   line-height: 24px;
21 21
   display: flex;
@@ -24,7 +24,7 @@
24 24
 
25 25
 }
26 26
 .cardItem{
27
-  font-size: 0.09rem;
27
+  font-size: 1.1rem;
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.09rem;
35
+  font-size: 1.1rem;
36 36
   color: #ff925c;
37 37
   line-height: 24px;
38 38
   position: absolute;