许静 5 년 전
부모
커밋
5910eba4d8
2개의 변경된 파일79개의 추가작업 그리고 79개의 파일을 삭제
  1. 78
    78
      src/pages/building/list/add/amap.less
  2. 1
    1
      src/pages/building/list/index.jsx

+ 78
- 78
src/pages/building/list/add/amap.less 파일 보기

@@ -1,84 +1,84 @@
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
-}
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 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
-}
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 34
 
35
-p {
36
-  margin-top: 0;
37
-  margin-bottom: 0;
38
-}
35
+// p {
36
+//   margin-top: 0;
37
+//   margin-bottom: 0;
38
+// }
39 39
 
40
-label {
41
-  display: inline-block;
42
-  margin-bottom: 0.4rem;
43
-}
40
+// label {
41
+//   display: inline-block;
42
+//   margin-bottom: 0.1rem;
43
+// }
44 44
 
45
-label, .btn {
46
-  margin-left: 0;
47
-  font-size: 0.18rem;
48
-}
45
+// label, .btn {
46
+//   margin-left: 0;
47
+//   font-size: 0.18rem;
48
+// }
49 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
-}
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 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
-}
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 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
-}
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 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
-}
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 82
 
83 83
 // .btn {
84 84
 //   display: inline-block;
@@ -383,11 +383,11 @@ h4 {
383 383
 //   text-align: left;
384 384
 // }
385 385
 
386
-@media screen and (min-width: 40rem) {
387
-  .native-toast:not(.native-toast-edge) {
388
-    max-width: 18rem;
389
-  }
390
-}
386
+// @media screen and (min-width: 40rem) {
387
+//   .native-toast:not(.native-toast-edge) {
388
+//     max-width: 18rem;
389
+//   }
390
+// }
391 391
 
392 392
 /*
393 393
   max-width does not seem to work in small screen?

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