xiaoming_global il y a 5 ans
Parent
révision
d21b190c43

+ 1 - 1
.postcssrc.js Voir le fichier

@@ -8,7 +8,7 @@ module.exports = {
8 8
     autoprefixer: {}
9 9
   },
10 10
   "postcss-pxtorem": {
11
-    rootValue: 37.5,
11
+    rootValue: 32,
12 12
     propList: ["*"]
13 13
   }
14 14
 };

+ 1 - 1
src/router/index.js Voir le fichier

@@ -112,7 +112,7 @@ var _constant_router_map = [
112 112
   },
113 113
   {
114 114
     path: "/",
115
-    component: () => import("@/scrm_pages/microHome/microHome")
115
+    component: () => import("@/scrm_pages/apply/apply")
116 116
   },
117 117
 
118 118
   // 医院介绍详情路由

+ 30 - 30
src/scrm_pages/activity/activity.vue Voir le fichier

@@ -123,69 +123,69 @@
123 123
 <style lang="scss" scoped>
124 124
 .contentOne {
125 125
   margin: auto;
126
-  margin-top: 18px;
127
-  width: 334px;
128
-  height: 119px;
126
+  margin-top: 1.125rem;
127
+  width: 20.875rem;
128
+  height: 7.4375rem;
129 129
   background: rgba(255, 255, 255, 1);
130 130
   box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
131 131
   border-radius: 16px;
132
-  padding-left: 16px;
133
-  padding-top: 18px;
132
+  padding-left: 1rem;
133
+  padding-top: 1.125rem;
134 134
   box-sizing: border-box;
135 135
   .img {
136 136
     float: left;
137
-    width: 80px;
138
-    height: 80px;
137
+    width: 5rem;
138
+    height: 5rem;
139 139
     border-radius: 12px;
140 140
   }
141 141
   .detail {
142 142
     float: left;
143
-    margin-left: 13px;
144
-    width: 210px;
143
+    margin-left: 0.8125rem;
144
+    width: 13.125rem;
145 145
     .detailTitle {
146
-      margin-top: 8px;
147
-      width: 203px;
148
-      height: 17px;
149
-      font-size: 15px;
146
+      margin-top: 0.5rem;
147
+      width: 12.6875rem;
148
+      height: 1.0625rem;
149
+      font-size: 0.9375rem;
150 150
       font-weight: 600;
151 151
       color: rgba(7, 18, 40, 1);
152 152
     }
153 153
     .detailMessage {
154
-      margin-top: 4px;
155
-      width: 212px;
156
-      height: 58px;
157
-      font-size: 13px;
154
+      margin-top: 0.25rem;
155
+      width: 13.25rem;
156
+      height: 3.625rem;
157
+      font-size: 0.8125rem;
158 158
       font-weight: 400;
159 159
       color: rgba(155, 155, 155, 1);
160
-      line-height: 18px;
160
+      line-height: 1.125rem;
161 161
     }
162 162
   }
163 163
 }
164 164
 .detailBox {
165
-  margin-top: 10px;
165
+  margin-top: 0.625rem;
166 166
   .activityTime {
167 167
     float: left;
168
-    width: 118px;
169
-    height: 35px;
170
-    font-size: 13px;
168
+    width: 7.375rem;
169
+    height: 2.1875rem;
170
+    font-size: 0.8125rem;
171 171
     color: rgba(155, 155, 155, 1);
172
-    line-height: 24px;
172
+    line-height: 1.5rem;
173 173
   }
174 174
   .people {
175
-    margin-top: 16px;
175
+    margin-top: 1rem;
176 176
     float: left;
177
-    width: 86px;
178
-    height: 30px;
177
+    width: 5.375rem;
178
+    height: 1.875rem;
179 179
     background: rgba(57, 124, 254, 0.1);
180 180
     border-radius: 30px;
181 181
     p {
182 182
       margin: auto;
183 183
       text-align: center;
184
-      width: 70px;
185
-      height: 12px;
186
-      font-size: 12px;
184
+      width: 4.375rem;
185
+      height: 0.75rem;
186
+      font-size: 0.75rem;
187 187
       color: rgba(57, 124, 254, 1);
188
-      line-height: 30px;
188
+      line-height: 1.875rem;
189 189
     }
190 190
   }
191 191
 }

+ 37 - 37
src/scrm_pages/activityDetail/activityDetail.vue Voir le fichier

@@ -7,7 +7,7 @@
7 7
       <div class="top">与孩子一起挑选采摘新鲜有机马陆葡萄,体验采摘乐趣</div>
8 8
       <div class="bottom">
9 9
         <p class="browse">
10
-          <i class="iconfont">&#xe632;</i>
10
+          <i class="iconfont">&#xe629;</i>
11 11
           <span>浏览400次</span>
12 12
         </p>
13 13
       </div>
@@ -46,8 +46,8 @@
46 46
 
47 47
 <style lang="scss" scoped>
48 48
 .banner {
49
-  width: 375px;
50
-  height: 220px;
49
+  width: 100%;
50
+  height: 13.75rem;
51 51
   img {
52 52
     width: 100%;
53 53
     height: 100%;
@@ -55,67 +55,67 @@
55 55
 }
56 56
 .headline {
57 57
   position: fixed;
58
-  width: 334px;
59
-  height: 105px;
60
-  margin-top: -20px;
61
-  left: 20px;
62
-  z-index: 99px;
58
+  width: 20.875rem;
59
+  height: 6.5625rem;
60
+  margin-top: -1.25rem;
61
+  left: 1.25rem;
62
+  z-index: 99;
63 63
   background: rgba(255, 255, 255, 1);
64 64
   box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
65 65
   border-radius: 10px;
66
-  padding: 17px 10px 0 14px;
66
+  padding: 1.0625rem 0.625rem 0 0.875rem;
67 67
   box-sizing: border-box;
68 68
   .top {
69
-    font-size: 17px;
69
+    font-size: 1.0625rem;
70 70
     font-weight: 600;
71 71
     color: rgba(7, 18, 40, 1);
72
-    line-height: 24px;
72
+    line-height: 1.5rem;
73 73
   }
74 74
 }
75 75
 .browse {
76 76
   color: rgba(182, 186, 193, 1);
77
-  margin-top: 8px;
77
+  margin-top: 0.5rem;
78 78
   span {
79
-    font-size: 12px;
79
+    font-size: 0.75rem;
80 80
     font-weight: 400;
81 81
   }
82 82
 }
83 83
 .detail {
84
-  margin-left: 20px;
85
-  margin-top: 90px;
84
+  margin-left: 1.25rem;
85
+  margin-top: 5.625rem;
86 86
   .row {
87
-    margin: 10px 0;
87
+    margin: 0.625rem 0;
88 88
     i {
89 89
       color: #b6bac1;
90 90
     }
91 91
     span {
92
-      font-size: 14px;
92
+      font-size: 0.875rem;
93 93
       font-weight: 600;
94 94
       color: rgba(7, 18, 40, 1);
95
-      margin-left: 10px;
95
+      margin-left: 0.625rem;
96 96
     }
97 97
   }
98 98
 }
99 99
 .introduce {
100
-  margin-left: 20px;
101
-  margin-top: 24px;
100
+  margin-left: 1.25rem;
101
+  margin-top: 1.5rem;
102 102
 }
103 103
 
104 104
 .common_title {
105
-  width: 335px;
106
-  height: 18px;
107
-  line-height: 18px;
108
-  font-size: 18px;
105
+  width: 20.9375rem;
106
+  height: 1.125rem;
107
+  line-height: 1.125rem;
108
+  font-size: 1.125rem;
109 109
   font-weight: 800;
110 110
   color: rgba(7, 18, 40, 1);
111 111
 }
112 112
 
113 113
 .one {
114
-  margin-top: 2px;
115
-  margin-right: 10px;
114
+  margin-top: 0.125rem;
115
+  margin-right: 0.625rem;
116 116
   float: left;
117
-  width: 2px;
118
-  height: 14px;
117
+  width: 0.125rem;
118
+  height: 0.875rem;
119 119
   background: linear-gradient(
120 120
     0deg,
121 121
     rgba(114, 182, 253, 1),
@@ -125,25 +125,25 @@
125 125
   border-radius: 3px;
126 126
 }
127 127
 .introduceDetail {
128
-  width: 318px;
129
-  height: 92px;
130
-  font-size: 16px;
128
+  width: 19.875rem;
129
+  height: 5.75rem;
130
+  font-size: 1rem;
131 131
   color: rgba(155, 155, 155, 1);
132
-  line-height: 24px;
133
-  margin-top: 18px;
134
-  padding-left: 6px;
132
+  line-height: 1.5rem;
133
+  margin-top: 1.125rem;
134
+  padding-left: 0.375rem;
135 135
   box-sizing: border-box;
136 136
 }
137 137
 .apply {
138 138
   width: 100%;
139
-  height: 42px;
139
+  height: 2.625rem;
140 140
   position: fixed;
141 141
   left: 0;
142 142
   bottom: 0;
143 143
   text-align: center;
144
-  line-height: 42px;
144
+  line-height: 2.625rem;
145 145
   color: rgba(255, 255, 255, 1);
146
-  font-size: 18px;
146
+  font-size: 1.125rem;
147 147
   background: linear-gradient(
148 148
     90deg,
149 149
     rgba(114, 182, 253, 1),

+ 23 - 20
src/scrm_pages/apply/apply.vue Voir le fichier

@@ -1,11 +1,11 @@
1 1
 <template>
2 2
   <div>
3 3
     <div class="tel">
4
-      <el-input v-model="phone" placeholder="手机号码"></el-input>
4
+      <el-input v-model="phone" placeholder="手机号码" class="myinput"></el-input>
5 5
     </div>
6 6
     <div class="codeBox">
7 7
       <div class="verificationCode">
8
-        <el-input v-model="verificationCode" placeholder="手机号码"></el-input>
8
+        <el-input v-model="verificationCode" placeholder="手机号码" class="myinput"></el-input>
9 9
       </div>
10 10
       <div class="gain">获取验证码</div>
11 11
     </div>
@@ -26,29 +26,32 @@ export default {
26 26
 </script>
27 27
 
28 28
 
29
-<style lang="scss" scoped>
29
+<style lang="scss">
30
+.myinput .el-input__inner {
31
+  height: 2.25rem;
32
+}
30 33
 .tel {
31
-  margin: 34px 21px 17px 21px;
32
-  height: 40px;
34
+  margin: 2.125rem 1.3125rem 1.0625rem 1.3125rem;
35
+  height: 2.5rem;
33 36
 }
34 37
 .codeBox {
35
-  height: 36px;
36
-  margin-left: 21px;
37
-  margin-bottom: 17px;
38
+  height: 2.25rem;
39
+  margin-left: 1.3125rem;
40
+  margin-bottom: 1.0625rem;
38 41
   .verificationCode {
39 42
     float: left;
40
-    width: 208px;
41
-    height: 40px;
42
-    margin-right: 12px;
43
+    width: 13rem;
44
+    height: 2.5rem;
45
+    margin-right: 0.75rem;
43 46
   }
44 47
   .gain {
45 48
     float: left;
46 49
     text-align: center;
47 50
     color: rgba(255, 255, 255, 1);
48
-    font-size: 15px;
49
-    line-height: 36px;
50
-    width: 114px;
51
-    height: 36px;
51
+    font-size: 0.9375rem;
52
+    line-height: 2.25rem;
53
+    width: 7.125rem;
54
+    height: 2.25rem;
52 55
     background: linear-gradient(
53 56
       90deg,
54 57
       rgba(114, 182, 253, 1),
@@ -59,8 +62,8 @@ export default {
59 62
   }
60 63
 }
61 64
 .submit {
62
-  width: 334px;
63
-  height: 40px;
65
+  width: 20.875rem;
66
+  height: 2.5rem;
64 67
   background: linear-gradient(
65 68
     90deg,
66 69
     rgba(114, 182, 253, 1),
@@ -69,9 +72,9 @@ export default {
69 72
   box-shadow: 0px 4px 12px 0px rgba(60, 127, 254, 0.2);
70 73
   border-radius: 4px;
71 74
   color: rgba(255, 255, 255, 1);
72
-  font-size: 18px;
75
+  font-size: 1.125rem;
73 76
   text-align: center;
74
-  line-height: 40px;
75
-  margin-left: 21px;
77
+  line-height: 2.5rem;
78
+  margin-left: 1.3125rem;
76 79
 }
77 80
 </style>

+ 35 - 35
src/scrm_pages/doctorIntroduction/doctorIntroduction.vue Voir le fichier

@@ -111,46 +111,46 @@
111 111
 <style lang="scss" scoped>
112 112
 .contentOne {
113 113
   margin: auto;
114
-  margin-top: 18px;
115
-  width: 334px;
116
-  height: 119px;
114
+  margin-top: 1.125rem;
115
+  width: 20.875rem;
116
+  height: 7.4375rem;
117 117
   background: rgba(255, 255, 255, 1);
118 118
   box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
119 119
   border-radius: 16px;
120
-  padding-left: 16px;
121
-  padding-top: 18px;
120
+  padding-left: 1rem;
121
+  padding-top: 1.125rem;
122 122
   box-sizing: border-box;
123 123
   .img {
124 124
     float: left;
125
-    width: 80px;
126
-    height: 80px;
125
+    width: 5rem;
126
+    height: 5rem;
127 127
     border-radius: 12px;
128 128
   }
129 129
   .detail {
130 130
     float: left;
131
-    margin-left: 13px;
132
-    width: 210px;
131
+    margin-left: 0.8125rem;
132
+    width: 13.125rem;
133 133
     .detailTitle {
134
-      margin-top: 8px;
135
-      width: 203px;
136
-      height: 17px;
137
-      font-size: 15px;
134
+      margin-top: 0.5rem;
135
+      width: 12.6875rem;
136
+      height: 1.0625rem;
137
+      font-size: 0.9375rem;
138 138
       font-weight: 600;
139 139
       color: rgba(7, 18, 40, 1);
140 140
       span {
141
-        font-size: 14px;
141
+        font-size: 0.875rem;
142 142
         color: rgba(155, 155, 155, 1);
143
-        line-height: 18px;
144
-        margin-left: 20px;
143
+        line-height: 1.125rem;
144
+        margin-left: 1.25rem;
145 145
         font-weight: 400;
146 146
       }
147 147
     }
148 148
     .detailMessage {
149
-      font-size: 14px;
149
+      font-size: 0.875rem;
150 150
       color: rgba(155, 155, 155, 1);
151
-      line-height: 24px;
151
+      line-height: 1.5rem;
152 152
       font-weight: 400;
153
-      margin-top: 14px;
153
+      margin-top: 0.875rem;
154 154
       height: 30px;
155 155
       overflow: hidden;
156 156
       text-overflow: ellipsis;
@@ -162,29 +162,29 @@
162 162
   }
163 163
 }
164 164
 .good {
165
-  margin-left: 20px;
166
-  margin-top: 35px;
165
+  margin-left: 1.25rem;
166
+  margin-top: 2.1875rem;
167 167
 }
168 168
 .common_title {
169
-  width: 335px;
170
-  height: 18px;
171
-  line-height: 18px;
169
+  width: 20.9375rem;
170
+  height: 1.125rem;
171
+  line-height: 1.125rem;
172 172
 }
173 173
 .dynamicTxt {
174 174
   float: left;
175
-  width: 72px;
176
-  height: 18px;
177
-  line-height: 18px;
178
-  font-size: 18px;
175
+  width: 4.5rem;
176
+  height: 1.125rem;
177
+  line-height: 1.125rem;
178
+  font-size: 1.125rem;
179 179
   font-weight: 600;
180 180
   color: rgba(7, 18, 40, 1);
181 181
 }
182 182
 .one {
183
-  margin-top: 2px;
184
-  margin-right: 6px;
183
+  margin-top: 0.125rem;
184
+  margin-right: 0.375rem;
185 185
   float: left;
186
-  width: 2px;
187
-  height: 14px;
186
+  width: 0.125rem;
187
+  height: 0.875rem;
188 188
   background: linear-gradient(
189 189
     0deg,
190 190
     rgba(114, 182, 253, 1),
@@ -194,10 +194,10 @@
194 194
   border-radius: 3px;
195 195
 }
196 196
 .goodtxt {
197
-  margin: 16px 0 36px 14px;
198
-  font-size: 16px;
197
+  margin: 1rem 0 2.25rem 0.875rem;
198
+  font-size: 1rem;
199 199
   font-weight: 400;
200 200
   color: rgba(68, 75, 92, 1);
201
-  line-height: 24px;
201
+  line-height: 1.5rem;
202 202
 }
203 203
 </style>

+ 7 - 7
src/scrm_pages/hospitalIntroduction/hospitalIntroduction.vue Voir le fichier

@@ -40,19 +40,19 @@
40 40
 
41 41
 <style lang="scss" scoped>
42 42
 .bannerImg {
43
-  width: 339px;
44
-  height: 194px;
43
+  width: 21.1875rem;
44
+  height: 12.125rem;
45 45
   margin: 0 auto;
46 46
   border-radius: 10px;
47 47
   box-sizing: border-box;
48
-  padding: 18px 0;
48
+  padding: 1.125rem 0;
49 49
 }
50 50
 .detail {
51 51
   margin: 0 auto;
52
-  width: 336px;
53
-  height: 368px;
54
-  font-size: 16px;
52
+  width: 21rem;
53
+  height: 23rem;
54
+  font-size: 1rem;
55 55
   color: rgba(7, 18, 40, 1);
56
-  line-height: 24px;
56
+  line-height: 1.5rem;
57 57
 }
58 58
 </style>

+ 31 - 30
src/scrm_pages/medicalTeam/medicalTeam.vue Voir le fichier

@@ -71,25 +71,26 @@
71 71
   </script>
72 72
 <style lang="scss" scoped>
73 73
 .header {
74
-  height: 20px;
75
-  width: 138px;
74
+  height: 1.25rem;
75
+  width: 9.375rem;
76 76
   text-align: center;
77
-  margin: 12px auto;
77
+  margin: 0.75rem auto;
78 78
   .headerTitle {
79 79
     float: left;
80
-    height: 20px;
81
-    line-height: 20px;
82
-    font-size: 18px;
80
+    height: 1.25rem;
81
+    line-height: 1.25rem;
82
+    font-size: 1.125rem;
83 83
     color: rgba(7, 18, 40, 1);
84 84
     font-weight: 600;
85 85
     margin: 0 auto;
86 86
     text-align: center;
87
+    padding: 0 0.25rem;
87 88
   }
88 89
   .line {
89 90
     float: left;
90
-    margin-top: 8px;
91
-    width: 15px;
92
-    height: 3px;
91
+    margin-top: 0.5rem;
92
+    width: 0.9375rem;
93
+    height: 0.1875rem;
93 94
     background: linear-gradient(
94 95
       -45deg,
95 96
       rgba(50, 210, 139, 1),
@@ -98,50 +99,50 @@
98 99
   }
99 100
 }
100 101
 .msg {
101
-  width: 210px;
102
-  height: 15px;
103
-  font-size: 15px;
102
+  width: 13.125rem;
103
+  height: 0.9375rem;
104
+  font-size: 0.9375rem;
104 105
   font-weight: 100;
105 106
   color: rgba(7, 18, 40, 1);
106 107
   margin: 0 auto;
107 108
 }
108 109
 .contentOne {
109 110
   margin: auto;
110
-  margin-top: 18px;
111
-  width: 334px;
112
-  height: 119px;
111
+  margin-top: 1.125rem;
112
+  width: 20.875rem;
113
+  height: 7.4375rem;
113 114
   background: rgba(255, 255, 255, 1);
114 115
   box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
115 116
   border-radius: 16px;
116
-  padding-left: 16px;
117
-  padding-top: 18px;
117
+  padding-left: 1rem;
118
+  padding-top: 1.125rem;
118 119
   box-sizing: border-box;
119 120
   .img {
120 121
     float: left;
121
-    width: 80px;
122
-    height: 80px;
122
+    width: 5rem;
123
+    height: 5rem;
123 124
     border-radius: 12px;
124 125
   }
125 126
   .detail {
126 127
     float: left;
127
-    margin-left: 13px;
128
-    width: 210px;
128
+    margin-left: 0.8125rem;
129
+    width: 13.125rem;
129 130
     .detailTitle {
130
-      margin-top: 8px;
131
-      width: 203px;
132
-      height: 17px;
133
-      font-size: 15px;
131
+      margin-top: 0.5rem;
132
+      width: 12.6875rem;
133
+      height: 1.0625rem;
134
+      font-size: 0.9375rem;
134 135
       font-weight: 600;
135 136
       color: rgba(7, 18, 40, 1);
136 137
     }
137 138
     .detailMessage {
138
-      margin-top: 4px;
139
-      width: 212px;
140
-      height: 58px;
141
-      font-size: 13px;
139
+      margin-top: 0.25rem;
140
+      width: 13.25rem;
141
+      height: 3.625rem;
142
+      font-size: 0.8125rem;
142 143
       font-weight: 400;
143 144
       color: rgba(155, 155, 155, 1);
144
-      line-height: 18px;
145
+      line-height: 1.125rem;
145 146
        overflow: hidden;
146 147
       text-overflow: ellipsis;
147 148
        display: -webkit-box;

+ 92 - 64
src/scrm_pages/microHome/microHome.vue Voir le fichier

@@ -310,9 +310,15 @@ export default {
310 310
   },
311 311
   mounted() {
312 312
     this.initSwiper();
313
+<<<<<<< .mine
313 314
   },
314 315
   updated(){
315 316
     this.initSwiper();
317
+=======
318
+  },
319
+  updated() {
320
+    this.initSwiper();
321
+>>>>>>> .theirs
316 322
   }
317 323
 
318 324
 };
@@ -338,7 +344,7 @@ export default {
338 344
 // }
339 345
 
340 346
 .banner {
341
-  height: 151px;
347
+  height: 9.4375rem;
342 348
   // border:solid 1px red;
343 349
 }
344 350
 .swiper-container {
@@ -365,19 +371,19 @@ export default {
365 371
   flex-wrap: wrap;
366 372
   width: 100%;
367 373
   //   height: 180px;
368
-  margin-top: 20px;
374
+  margin-top: 1.25rem;
369 375
   // border:solid 1px yellow;
370 376
 }
371 377
 .btnOne {
372 378
   display: block;
373 379
   width: 25%;
374 380
   text-align: center;
375
-  height: 80px;
381
+  height: 5rem;
376 382
   img {
377
-    margin-bottom: 5px;
383
+    margin-bottom: 0.3125rem;
378 384
     text-align: center;
379
-    width: 45px;
380
-    height: 45px;
385
+    width: 2.8125rem;
386
+    height: 2.8125rem;
381 387
     background: linear-gradient(
382 388
       0deg,
383 389
       rgba(255, 201, 115, 1),
@@ -388,36 +394,36 @@ export default {
388 394
   }
389 395
   .title {
390 396
     width: 100%;
391
-    height: 18px;
392
-    line-height: 18px;
393
-    font-size: 14px;
397
+    height: 1.125rem;
398
+    line-height: 1.125rem;
399
+    font-size: 0.875rem;
394 400
     text-align: center;
395 401
   }
396 402
 }
397 403
 .dynamic {
398
-  margin-top: 49px;
404
+  margin-top: 3.0625rem;
399 405
   // border: solid 1px red;
400 406
 }
401 407
 .common_title {
402
-  width: 335px;
403
-  height: 18px;
408
+  width: 20.9375rem;
409
+  height: 1.125rem;
404 410
   margin: 0 auto;
405 411
 }
406 412
 .dynamicTxt {
407 413
   float: left;
408
-  width: 72px;
409
-  height: 18px;
410
-  line-height: 18px;
411
-  font-size: 18px;
414
+  width: 4.5rem;
415
+  height: 1.125rem;
416
+  line-height: 1.125rem;
417
+  font-size: 1.125rem;
412 418
   font-weight: 600;
413 419
   color: rgba(7, 18, 40, 1);
414 420
 }
415 421
 .one {
416
-  margin-top: 2px;
417
-  margin-right: 6px;
422
+  margin-top: 0.125rem;
423
+  margin-right: 0.375rem;
418 424
   float: left;
419
-  width: 2px;
420
-  height: 14px;
425
+  width: 0.125rem;
426
+  height: 0.875rem;
421 427
   background: linear-gradient(
422 428
     0deg,
423 429
     rgba(114, 182, 253, 1),
@@ -430,36 +436,43 @@ export default {
430 436
   float: right;
431 437
   p {
432 438
     color: #b6bac1;
433
-    height: 18px;
434
-    line-height: 18px;
439
+    height: 1.125rem;
440
+    line-height: 1.125rem;
435 441
   }
436 442
 }
437 443
 .contentOne {
438 444
   margin: auto;
439
-  margin-top: 18px;
440
-  width: 334px;
441
-  height: 119px;
445
+  margin-top: 1.125rem;
446
+  width: 20.875rem;
447
+  height: 7.4375rem;
442 448
   background: rgba(255, 255, 255, 1);
443 449
   box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
444
-  border-radius: 16px;
445
-  padding-left: 16px;
446
-  padding-top: 18px;
450
+  border-radius: 1rem;
451
+  padding-left: 1rem;
452
+  padding-top: 1.125rem;
447 453
   box-sizing: border-box;
448 454
   .img {
449 455
     float: left;
450
-    width: 80px;
451
-    height: 80px;
456
+    width: 5rem;
457
+    height: 5rem;
452 458
     border-radius: 12px;
453 459
   }
454 460
   .detail {
455 461
     float: left;
456
-    margin-left: 13px;
457
-    width: 210px;
462
+    margin-left: 0.8125rem;
463
+    width: 13.125rem;
458 464
     .detailTitle {
465
+<<<<<<< .mine
459 466
       margin-top: 8px;
460 467
       width: 203px;
461 468
       height: 15px;
462 469
       font-size: 15px;
470
+=======
471
+      margin-top: 0.5rem;
472
+      width: 12.6875rem;
473
+      height: 1.0625rem;
474
+      font-size: 0.9375rem;
475
+>>>>>>> .theirs
463 476
       font-weight: 600;
464 477
       color: rgba(7, 18, 40, 1);
465 478
       overflow: hidden;
@@ -469,13 +482,20 @@ export default {
469 482
       -webkit-box-orient: vertical;
470 483
     }
471 484
     .detailMessage {
485
+<<<<<<< .mine
472 486
       margin-top: 4px;
473 487
       width: 212px;
474 488
       height: 52px;
475 489
       font-size: 13px;
490
+=======
491
+      margin-top: 0.25rem;
492
+      width: 13.25rem;
493
+      height: 3.625rem;
494
+      font-size: 0.75rem;
495
+>>>>>>> .theirs
476 496
       font-weight: 400;
477 497
       color: rgba(155, 155, 155, 1);
478
-      line-height: 18px;
498
+      line-height: 1.125rem;
479 499
        overflow: hidden;
480 500
        text-overflow: ellipsis;
481 501
        display: -webkit-box;
@@ -487,30 +507,38 @@ export default {
487 507
   // border: solid 1px red;
488 508
 }
489 509
 .common {
490
-  margin-top: 30px;
510
+  margin-top: 1.875rem;
491 511
   .commonBox {
492 512
     margin: auto;
493
-    margin-top: 20px;
494
-    width: 334px;
495
-    height: 325px;
513
+    margin-top: 1.25rem;
514
+    width: 20.875rem;
515
+    height: 20.3125rem;
496 516
     background: rgba(255, 255, 255, 1);
497 517
     box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
498 518
     border-radius: 16px;
499
-    padding: 18px 21px 21px 21px;
519
+    padding: 1.125rem 1.3125rem 1.3125rem 1.3125rem;
500 520
   }
501 521
   .commonImg {
502
-    width: 295px;
503
-    height: 169px;
522
+    width: 18.4375rem;
523
+    height: 10.5625rem;
504 524
     border-radius: 10px;
505 525
   }
506 526
   .commonMessage {
527
+<<<<<<< .mine
507 528
     // margin-top: 22px;
508 529
     width: 284px;
509 530
     // height: 81px;
510 531
     height: 240px;
511 532
     font-size: 14px;
533
+=======
534
+    margin-top: 1.375rem;
535
+    width: 17.75rem;
536
+    height: 5.0625rem;
537
+    font-size: 0.875rem;
538
+
539
+>>>>>>> .theirs
512 540
     color: rgba(60, 60, 60, 1);
513
-    line-height: 22px;
541
+    line-height: 1.375rem;
514 542
     // border: solid 1px red;
515 543
     overflow: hidden;
516 544
     text-overflow: ellipsis;
@@ -521,55 +549,55 @@ export default {
521 549
   // border:solid 1px red;
522 550
 }
523 551
 .imgs {
524
-  margin-top: 30px;
552
+  margin-top: 1.875rem;
525 553
   overflow-x: hidden;
526 554
   img {
527
-    width: 172px;
528
-    height: 125px;
555
+    width: 10.75rem;
556
+    height: 7.8125rem;
529 557
     border-radius: 10px;
530 558
   }
531 559
   .carousel {
532 560
     width: 100%;
533 561
     height: 100%;
534 562
     float: left;
535
-    padding-left: 20px;
563
+    padding-left: 1.25rem;
536 564
   }
537 565
 }
538 566
 .detailBox {
539
-  margin-top: 10px;
567
+  margin-top: 0.625rem;
540 568
   .activityTime {
541 569
     float: left;
542
-    width: 118px;
543
-    height: 35px;
544
-    font-size: 13px;
570
+    width: 7.375rem;
571
+    height: 2.1875rem;
572
+    font-size: 0.8125rem;
545 573
     color: rgba(155, 155, 155, 1);
546
-    line-height: 24px;
574
+    line-height: 1.5rem;
547 575
   }
548 576
   .people {
549
-    margin-top: 16px;
577
+    margin-top: 1rem;
550 578
     float: left;
551
-    width: 86px;
552
-    height: 30px;
579
+    width: 5.375rem;
580
+    height: 1.875rem;
553 581
     background: rgba(57, 124, 254, 0.1);
554 582
     border-radius: 30px;
555 583
     p {
556 584
       margin: auto;
557 585
       text-align: center;
558
-      width: 70px;
559
-      height: 12px;
560
-      font-size: 12px;
586
+      width: 4.375rem;
587
+      height: 0.75rem;
588
+      font-size: 0.75rem;
561 589
       color: rgba(57, 124, 254, 1);
562
-      line-height: 30px;
590
+      line-height: 1.875rem;
563 591
     }
564 592
   }
565 593
 }
566 594
 .bottom {
567
-  margin-bottom: 20px;
595
+  margin-bottom: 1.25rem;
568 596
 }
569 597
 .tabs {
570 598
   @include border-top;
571 599
   width: 100%;
572
-  height: 50px;
600
+  height: 3.125rem;
573 601
   box-sizing: border-box;
574 602
 }
575 603
 .tabList {
@@ -583,9 +611,9 @@ export default {
583 611
     align-items: center;
584 612
 
585 613
     img {
586
-      margin-top: 8px;
587
-      width: 20px;
588
-      height: 20px;
614
+      margin-top: 0.5rem;
615
+      width: 1.25rem;
616
+      height: 1.25rem;
589 617
       background: linear-gradient(
590 618
         0deg,
591 619
         rgba(114, 182, 253, 1),
@@ -593,9 +621,9 @@ export default {
593 621
       );
594 622
     }
595 623
     span {
596
-      font-size: 12px;
624
+      font-size: 0.75rem;
597 625
       color: rgba(182, 186, 193, 1);
598
-      line-height: 21px;
626
+      line-height: 1.3125rem;
599 627
     }
600 628
   }
601 629
 }

+ 21 - 14
src/scrm_pages/news/news.vue Voir le fichier

@@ -46,30 +46,37 @@
46 46
 <style lang="scss" scoped>
47 47
 .contentOne {
48 48
   margin: auto;
49
-  margin-top: 18px;
50
-  width: 334px;
51
-  height: 119px;
49
+  margin-top: 1.125rem;
50
+  width: 20.875rem;
51
+  height: 7.4375rem;
52 52
   background: rgba(255, 255, 255, 1);
53 53
   box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
54 54
   border-radius: 16px;
55
-  padding-left: 16px;
56
-  padding-top: 18px;
55
+  padding-left: 1rem;
56
+  padding-top: 1.125rem;
57 57
   box-sizing: border-box;
58 58
   .img {
59 59
     float: left;
60
-    width: 80px;
61
-    height: 80px;
60
+    width: 5rem;
61
+    height: 5rem;
62 62
     border-radius: 12px;
63 63
   }
64 64
   .detail {
65 65
     float: left;
66
-    margin-left: 13px;
67
-    width: 210px;
66
+    margin-left: 0.8125rem;
67
+    width: 13.125rem;
68 68
     .detailTitle {
69
+<<<<<<< .mine
69 70
       margin-top: 8px;
70 71
       width: 203px;
71 72
       height: 15px;
72 73
       font-size: 15px;
74
+=======
75
+      margin-top: 0.5rem;
76
+      width: 12.6875rem;
77
+      height: 1.0625rem;
78
+      font-size: 0.9375rem;
79
+>>>>>>> .theirs
73 80
       font-weight: 600;
74 81
       color: rgba(7, 18, 40, 1);
75 82
       overflow: hidden;
@@ -79,13 +86,13 @@
79 86
       -webkit-box-orient: vertical;
80 87
     }
81 88
     .detailMessage {
82
-      margin-top: 4px;
83
-      width: 212px;
84
-      height: 58px;
85
-      font-size: 13px;
89
+      margin-top: 0.25rem;
90
+      width: 13.25rem;
91
+      height: 3.625rem;
92
+      font-size: 0.8125rem;
86 93
       font-weight: 400;
87 94
       color: rgba(155, 155, 155, 1);
88
-      line-height: 18px;
95
+      line-height: 1.125rem;
89 96
     }
90 97
   }
91 98
 }