Browse Source

微网站

xiaoming_global 5 years ago
parent
commit
d21b190c43

+ 1 - 1
.postcssrc.js View File

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

+ 1 - 1
src/router/index.js View File

112
   },
112
   },
113
   {
113
   {
114
     path: "/",
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 View File

123
 <style lang="scss" scoped>
123
 <style lang="scss" scoped>
124
 .contentOne {
124
 .contentOne {
125
   margin: auto;
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
   background: rgba(255, 255, 255, 1);
129
   background: rgba(255, 255, 255, 1);
130
   box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
130
   box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
131
   border-radius: 16px;
131
   border-radius: 16px;
132
-  padding-left: 16px;
133
-  padding-top: 18px;
132
+  padding-left: 1rem;
133
+  padding-top: 1.125rem;
134
   box-sizing: border-box;
134
   box-sizing: border-box;
135
   .img {
135
   .img {
136
     float: left;
136
     float: left;
137
-    width: 80px;
138
-    height: 80px;
137
+    width: 5rem;
138
+    height: 5rem;
139
     border-radius: 12px;
139
     border-radius: 12px;
140
   }
140
   }
141
   .detail {
141
   .detail {
142
     float: left;
142
     float: left;
143
-    margin-left: 13px;
144
-    width: 210px;
143
+    margin-left: 0.8125rem;
144
+    width: 13.125rem;
145
     .detailTitle {
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
       font-weight: 600;
150
       font-weight: 600;
151
       color: rgba(7, 18, 40, 1);
151
       color: rgba(7, 18, 40, 1);
152
     }
152
     }
153
     .detailMessage {
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
       font-weight: 400;
158
       font-weight: 400;
159
       color: rgba(155, 155, 155, 1);
159
       color: rgba(155, 155, 155, 1);
160
-      line-height: 18px;
160
+      line-height: 1.125rem;
161
     }
161
     }
162
   }
162
   }
163
 }
163
 }
164
 .detailBox {
164
 .detailBox {
165
-  margin-top: 10px;
165
+  margin-top: 0.625rem;
166
   .activityTime {
166
   .activityTime {
167
     float: left;
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
     color: rgba(155, 155, 155, 1);
171
     color: rgba(155, 155, 155, 1);
172
-    line-height: 24px;
172
+    line-height: 1.5rem;
173
   }
173
   }
174
   .people {
174
   .people {
175
-    margin-top: 16px;
175
+    margin-top: 1rem;
176
     float: left;
176
     float: left;
177
-    width: 86px;
178
-    height: 30px;
177
+    width: 5.375rem;
178
+    height: 1.875rem;
179
     background: rgba(57, 124, 254, 0.1);
179
     background: rgba(57, 124, 254, 0.1);
180
     border-radius: 30px;
180
     border-radius: 30px;
181
     p {
181
     p {
182
       margin: auto;
182
       margin: auto;
183
       text-align: center;
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
       color: rgba(57, 124, 254, 1);
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 View File

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

+ 23 - 20
src/scrm_pages/apply/apply.vue View File

1
 <template>
1
 <template>
2
   <div>
2
   <div>
3
     <div class="tel">
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
     </div>
5
     </div>
6
     <div class="codeBox">
6
     <div class="codeBox">
7
       <div class="verificationCode">
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
       </div>
9
       </div>
10
       <div class="gain">获取验证码</div>
10
       <div class="gain">获取验证码</div>
11
     </div>
11
     </div>
26
 </script>
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
 .tel {
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
 .codeBox {
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
   .verificationCode {
41
   .verificationCode {
39
     float: left;
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
   .gain {
47
   .gain {
45
     float: left;
48
     float: left;
46
     text-align: center;
49
     text-align: center;
47
     color: rgba(255, 255, 255, 1);
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
     background: linear-gradient(
55
     background: linear-gradient(
53
       90deg,
56
       90deg,
54
       rgba(114, 182, 253, 1),
57
       rgba(114, 182, 253, 1),
59
   }
62
   }
60
 }
63
 }
61
 .submit {
64
 .submit {
62
-  width: 334px;
63
-  height: 40px;
65
+  width: 20.875rem;
66
+  height: 2.5rem;
64
   background: linear-gradient(
67
   background: linear-gradient(
65
     90deg,
68
     90deg,
66
     rgba(114, 182, 253, 1),
69
     rgba(114, 182, 253, 1),
69
   box-shadow: 0px 4px 12px 0px rgba(60, 127, 254, 0.2);
72
   box-shadow: 0px 4px 12px 0px rgba(60, 127, 254, 0.2);
70
   border-radius: 4px;
73
   border-radius: 4px;
71
   color: rgba(255, 255, 255, 1);
74
   color: rgba(255, 255, 255, 1);
72
-  font-size: 18px;
75
+  font-size: 1.125rem;
73
   text-align: center;
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
 </style>
80
 </style>

+ 35 - 35
src/scrm_pages/doctorIntroduction/doctorIntroduction.vue View File

111
 <style lang="scss" scoped>
111
 <style lang="scss" scoped>
112
 .contentOne {
112
 .contentOne {
113
   margin: auto;
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
   background: rgba(255, 255, 255, 1);
117
   background: rgba(255, 255, 255, 1);
118
   box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
118
   box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
119
   border-radius: 16px;
119
   border-radius: 16px;
120
-  padding-left: 16px;
121
-  padding-top: 18px;
120
+  padding-left: 1rem;
121
+  padding-top: 1.125rem;
122
   box-sizing: border-box;
122
   box-sizing: border-box;
123
   .img {
123
   .img {
124
     float: left;
124
     float: left;
125
-    width: 80px;
126
-    height: 80px;
125
+    width: 5rem;
126
+    height: 5rem;
127
     border-radius: 12px;
127
     border-radius: 12px;
128
   }
128
   }
129
   .detail {
129
   .detail {
130
     float: left;
130
     float: left;
131
-    margin-left: 13px;
132
-    width: 210px;
131
+    margin-left: 0.8125rem;
132
+    width: 13.125rem;
133
     .detailTitle {
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
       font-weight: 600;
138
       font-weight: 600;
139
       color: rgba(7, 18, 40, 1);
139
       color: rgba(7, 18, 40, 1);
140
       span {
140
       span {
141
-        font-size: 14px;
141
+        font-size: 0.875rem;
142
         color: rgba(155, 155, 155, 1);
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
         font-weight: 400;
145
         font-weight: 400;
146
       }
146
       }
147
     }
147
     }
148
     .detailMessage {
148
     .detailMessage {
149
-      font-size: 14px;
149
+      font-size: 0.875rem;
150
       color: rgba(155, 155, 155, 1);
150
       color: rgba(155, 155, 155, 1);
151
-      line-height: 24px;
151
+      line-height: 1.5rem;
152
       font-weight: 400;
152
       font-weight: 400;
153
-      margin-top: 14px;
153
+      margin-top: 0.875rem;
154
       height: 30px;
154
       height: 30px;
155
       overflow: hidden;
155
       overflow: hidden;
156
       text-overflow: ellipsis;
156
       text-overflow: ellipsis;
162
   }
162
   }
163
 }
163
 }
164
 .good {
164
 .good {
165
-  margin-left: 20px;
166
-  margin-top: 35px;
165
+  margin-left: 1.25rem;
166
+  margin-top: 2.1875rem;
167
 }
167
 }
168
 .common_title {
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
 .dynamicTxt {
173
 .dynamicTxt {
174
   float: left;
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
   font-weight: 600;
179
   font-weight: 600;
180
   color: rgba(7, 18, 40, 1);
180
   color: rgba(7, 18, 40, 1);
181
 }
181
 }
182
 .one {
182
 .one {
183
-  margin-top: 2px;
184
-  margin-right: 6px;
183
+  margin-top: 0.125rem;
184
+  margin-right: 0.375rem;
185
   float: left;
185
   float: left;
186
-  width: 2px;
187
-  height: 14px;
186
+  width: 0.125rem;
187
+  height: 0.875rem;
188
   background: linear-gradient(
188
   background: linear-gradient(
189
     0deg,
189
     0deg,
190
     rgba(114, 182, 253, 1),
190
     rgba(114, 182, 253, 1),
194
   border-radius: 3px;
194
   border-radius: 3px;
195
 }
195
 }
196
 .goodtxt {
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
   font-weight: 400;
199
   font-weight: 400;
200
   color: rgba(68, 75, 92, 1);
200
   color: rgba(68, 75, 92, 1);
201
-  line-height: 24px;
201
+  line-height: 1.5rem;
202
 }
202
 }
203
 </style>
203
 </style>

+ 7 - 7
src/scrm_pages/hospitalIntroduction/hospitalIntroduction.vue View File

40
 
40
 
41
 <style lang="scss" scoped>
41
 <style lang="scss" scoped>
42
 .bannerImg {
42
 .bannerImg {
43
-  width: 339px;
44
-  height: 194px;
43
+  width: 21.1875rem;
44
+  height: 12.125rem;
45
   margin: 0 auto;
45
   margin: 0 auto;
46
   border-radius: 10px;
46
   border-radius: 10px;
47
   box-sizing: border-box;
47
   box-sizing: border-box;
48
-  padding: 18px 0;
48
+  padding: 1.125rem 0;
49
 }
49
 }
50
 .detail {
50
 .detail {
51
   margin: 0 auto;
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
   color: rgba(7, 18, 40, 1);
55
   color: rgba(7, 18, 40, 1);
56
-  line-height: 24px;
56
+  line-height: 1.5rem;
57
 }
57
 }
58
 </style>
58
 </style>

+ 31 - 30
src/scrm_pages/medicalTeam/medicalTeam.vue View File

71
   </script>
71
   </script>
72
 <style lang="scss" scoped>
72
 <style lang="scss" scoped>
73
 .header {
73
 .header {
74
-  height: 20px;
75
-  width: 138px;
74
+  height: 1.25rem;
75
+  width: 9.375rem;
76
   text-align: center;
76
   text-align: center;
77
-  margin: 12px auto;
77
+  margin: 0.75rem auto;
78
   .headerTitle {
78
   .headerTitle {
79
     float: left;
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
     color: rgba(7, 18, 40, 1);
83
     color: rgba(7, 18, 40, 1);
84
     font-weight: 600;
84
     font-weight: 600;
85
     margin: 0 auto;
85
     margin: 0 auto;
86
     text-align: center;
86
     text-align: center;
87
+    padding: 0 0.25rem;
87
   }
88
   }
88
   .line {
89
   .line {
89
     float: left;
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
     background: linear-gradient(
94
     background: linear-gradient(
94
       -45deg,
95
       -45deg,
95
       rgba(50, 210, 139, 1),
96
       rgba(50, 210, 139, 1),
98
   }
99
   }
99
 }
100
 }
100
 .msg {
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
   font-weight: 100;
105
   font-weight: 100;
105
   color: rgba(7, 18, 40, 1);
106
   color: rgba(7, 18, 40, 1);
106
   margin: 0 auto;
107
   margin: 0 auto;
107
 }
108
 }
108
 .contentOne {
109
 .contentOne {
109
   margin: auto;
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
   background: rgba(255, 255, 255, 1);
114
   background: rgba(255, 255, 255, 1);
114
   box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
115
   box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
115
   border-radius: 16px;
116
   border-radius: 16px;
116
-  padding-left: 16px;
117
-  padding-top: 18px;
117
+  padding-left: 1rem;
118
+  padding-top: 1.125rem;
118
   box-sizing: border-box;
119
   box-sizing: border-box;
119
   .img {
120
   .img {
120
     float: left;
121
     float: left;
121
-    width: 80px;
122
-    height: 80px;
122
+    width: 5rem;
123
+    height: 5rem;
123
     border-radius: 12px;
124
     border-radius: 12px;
124
   }
125
   }
125
   .detail {
126
   .detail {
126
     float: left;
127
     float: left;
127
-    margin-left: 13px;
128
-    width: 210px;
128
+    margin-left: 0.8125rem;
129
+    width: 13.125rem;
129
     .detailTitle {
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
       font-weight: 600;
135
       font-weight: 600;
135
       color: rgba(7, 18, 40, 1);
136
       color: rgba(7, 18, 40, 1);
136
     }
137
     }
137
     .detailMessage {
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
       font-weight: 400;
143
       font-weight: 400;
143
       color: rgba(155, 155, 155, 1);
144
       color: rgba(155, 155, 155, 1);
144
-      line-height: 18px;
145
+      line-height: 1.125rem;
145
        overflow: hidden;
146
        overflow: hidden;
146
       text-overflow: ellipsis;
147
       text-overflow: ellipsis;
147
        display: -webkit-box;
148
        display: -webkit-box;

+ 92 - 64
src/scrm_pages/microHome/microHome.vue View File

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

46
 <style lang="scss" scoped>
46
 <style lang="scss" scoped>
47
 .contentOne {
47
 .contentOne {
48
   margin: auto;
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
   background: rgba(255, 255, 255, 1);
52
   background: rgba(255, 255, 255, 1);
53
   box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
53
   box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
54
   border-radius: 16px;
54
   border-radius: 16px;
55
-  padding-left: 16px;
56
-  padding-top: 18px;
55
+  padding-left: 1rem;
56
+  padding-top: 1.125rem;
57
   box-sizing: border-box;
57
   box-sizing: border-box;
58
   .img {
58
   .img {
59
     float: left;
59
     float: left;
60
-    width: 80px;
61
-    height: 80px;
60
+    width: 5rem;
61
+    height: 5rem;
62
     border-radius: 12px;
62
     border-radius: 12px;
63
   }
63
   }
64
   .detail {
64
   .detail {
65
     float: left;
65
     float: left;
66
-    margin-left: 13px;
67
-    width: 210px;
66
+    margin-left: 0.8125rem;
67
+    width: 13.125rem;
68
     .detailTitle {
68
     .detailTitle {
69
+<<<<<<< .mine
69
       margin-top: 8px;
70
       margin-top: 8px;
70
       width: 203px;
71
       width: 203px;
71
       height: 15px;
72
       height: 15px;
72
       font-size: 15px;
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
       font-weight: 600;
80
       font-weight: 600;
74
       color: rgba(7, 18, 40, 1);
81
       color: rgba(7, 18, 40, 1);
75
       overflow: hidden;
82
       overflow: hidden;
79
       -webkit-box-orient: vertical;
86
       -webkit-box-orient: vertical;
80
     }
87
     }
81
     .detailMessage {
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
       font-weight: 400;
93
       font-weight: 400;
87
       color: rgba(155, 155, 155, 1);
94
       color: rgba(155, 155, 155, 1);
88
-      line-height: 18px;
95
+      line-height: 1.125rem;
89
     }
96
     }
90
   }
97
   }
91
 }
98
 }