See999 4 years ago
parent
commit
f4e4f98a54
35 changed files with 171 additions and 68 deletions
  1. 1 1
      .postcssrc.js
  2. 2 0
      src/pages/configureCenter/index.vue
  3. 3 0
      src/pages/console/managementConsole/index.vue
  4. 9 3
      src/pages/console/managementConsole/staff_role/staffManagement/index.vue
  5. 2 2
      src/pages/doctorAdvice/components/CourseManagement.vue
  6. 2 2
      src/pages/doctorAdvice/components/DialysisRecord.vue
  7. 2 2
      src/pages/doctorAdvice/components/DoctorManagement.vue
  8. 2 2
      src/pages/doctorAdvice/components/DryWeight.vue
  9. 2 2
      src/pages/doctorAdvice/components/Education.vue
  10. 2 2
      src/pages/doctorAdvice/components/Inspection.vue
  11. 2 2
      src/pages/doctorAdvice/components/LongDialysis.vue
  12. 2 2
      src/pages/doctorAdvice/components/RescueRecord.vue
  13. 2 2
      src/pages/doctorAdvice/components/Scheduling.vue
  14. 2 2
      src/pages/doctorAdvice/components/deviceManagement.vue
  15. 2 2
      src/pages/doctorAdvice/components/medicationPlan.vue
  16. 2 2
      src/pages/doctorAdvice/components/recoverNotes.vue
  17. 2 2
      src/pages/doctorAdvice/components/signsRecord.vue
  18. 1 0
      src/pages/homeIndex/index.vue
  19. 9 0
      src/pages/my/aboutUs.vue
  20. 8 0
      src/pages/my/companyIntroduction.vue
  21. 2 0
      src/pages/my/index.vue
  22. 9 0
      src/pages/my/invite.vue
  23. 2 0
      src/pages/my/modifyPassword.vue
  24. 2 0
      src/pages/my/modifyingName.vue
  25. 9 2
      src/pages/my/myInfo.vue
  26. 2 0
      src/pages/my/organizationInfo.vue
  27. 2 0
      src/pages/my/personalSign.vue
  28. 4 1
      src/pages/org/index.vue
  29. 2 0
      src/pages/patientCenter/editOrg/index.vue
  30. 18 10
      src/pages/patientManagement/components/Blood.vue
  31. 15 7
      src/pages/patientManagement/components/Member.vue
  32. 18 10
      src/pages/patientManagement/components/Slow.vue
  33. 16 8
      src/pages/patientManagement/patientManagement.vue
  34. 2 0
      src/pages/search/index.vue
  35. 9 0
      src/pages/shop/index.vue

+ 1 - 1
.postcssrc.js View File

@@ -11,7 +11,7 @@ module.exports = {
11 11
       rootValue: 16, // 对应16px 适配移动端750px宽度
12 12
       unitPrecision: 5,
13 13
       propList: ["*"],
14
-      selectorBlackList: [".el"],
14
+      selectorBlackList: [".el",".mint"],
15 15
       replace: true,
16 16
       mediaQuery: false,
17 17
       minPixelValue: 0,

+ 2 - 0
src/pages/configureCenter/index.vue View File

@@ -24,6 +24,7 @@
24 24
 import Partition from "@/pages/configureCenter/components/Partition";
25 25
 import Grouping from "@/pages/configureCenter/components/Grouping";
26 26
 import Bed from "@/pages/configureCenter/components/Bed";
27
+import { setRem } from "@/libs/functionRem";
27 28
 export default {
28 29
   components: {
29 30
     Partition,
@@ -41,6 +42,7 @@ export default {
41 42
     }
42 43
   },
43 44
   created() {
45
+    setRem()
44 46
     // if (this.$route.query.active) {
45 47
     // this.active = parseInt(this.$route.query.active);
46 48
     // console.log("ac", this.active);

+ 3 - 0
src/pages/console/managementConsole/index.vue View File

@@ -115,6 +115,9 @@ export default {
115 115
   .consoleBox {
116 116
     margin-top: 0.8125rem;
117 117
     background: #fff;
118
+    >div:last-child{
119
+      border: none;
120
+    }
118 121
   }
119 122
   .consoleOne {
120 123
     padding: 0 0.8125rem;

+ 9 - 3
src/pages/console/managementConsole/staff_role/staffManagement/index.vue View File

@@ -191,6 +191,11 @@ export default {
191 191
   .staffBox {
192 192
     padding-left: 0.875rem;
193 193
     background: #fff;
194
+    >div:last-child{
195
+      p{
196
+        border: none;
197
+      }
198
+    }
194 199
     .staffOne {
195 200
       display: flex;
196 201
       align-items: center;
@@ -208,7 +213,8 @@ export default {
208 213
         padding-right: 0.875rem;
209 214
         flex: 1;
210 215
         height: 100%;
211
-        box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
216
+        // box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
217
+        border-bottom: 1px solid #e5e5e5;
212 218
       }
213 219
       .bianji {
214 220
         font-size: 1.25rem;
@@ -217,8 +223,8 @@ export default {
217 223
     }
218 224
   }
219 225
   .noData {
220
-    width: 12.5rem;
221
-    height: 12.5rem;
226
+    width: 9.375rem;
227
+    height: 9.375rem;
222 228
     position: fixed;
223 229
     left: 50%;
224 230
     top: 50%;

+ 2 - 2
src/pages/doctorAdvice/components/CourseManagement.vue View File

@@ -395,8 +395,8 @@ export default {
395 395
   .noimgBox {
396 396
     margin-top: 40%;
397 397
     img {
398
-      width: 6.25rem;
399
-      height: 6.25rem;
398
+      width: 9.375rem;
399
+      height: 9.375rem;
400 400
       margin: 0 auto;
401 401
       display: block;
402 402
     }

+ 2 - 2
src/pages/doctorAdvice/components/DialysisRecord.vue View File

@@ -549,8 +549,8 @@ export default {
549 549
   .noimgBox {
550 550
     margin-top: 40%;
551 551
     img {
552
-      width: 6.25rem;
553
-      height: 6.25rem;
552
+      width: 9.375rem;
553
+      height: 9.375rem;
554 554
       margin: 0 auto;
555 555
       display: block;
556 556
     }

+ 2 - 2
src/pages/doctorAdvice/components/DoctorManagement.vue View File

@@ -588,8 +588,8 @@ export default {
588 588
   .noimgBox {
589 589
     margin-top: 40%;
590 590
     img {
591
-      width: 6.25rem;
592
-      height: 6.25rem;
591
+      width: 9.375rem;
592
+      height: 9.375rem;
593 593
       margin: 0 auto;
594 594
       display: block;
595 595
     }

+ 2 - 2
src/pages/doctorAdvice/components/DryWeight.vue View File

@@ -406,8 +406,8 @@ export default {
406 406
   .noimgBox {
407 407
     margin-top: 40%;
408 408
     img {
409
-      width: 6.25rem;
410
-      height: 6.25rem;
409
+      width: 9.375rem;
410
+      height: 9.375rem;
411 411
       margin: 0 auto;
412 412
       display: block;
413 413
     }

+ 2 - 2
src/pages/doctorAdvice/components/Education.vue View File

@@ -376,8 +376,8 @@ export default {
376 376
   .noimgBox {
377 377
     margin-top: 40%;
378 378
     img {
379
-      width: 6.25rem;
380
-      height: 6.25rem;
379
+      width: 9.375rem;
380
+      height: 9.375rem;
381 381
       margin: 0 auto;
382 382
       display: block;
383 383
     }

+ 2 - 2
src/pages/doctorAdvice/components/Inspection.vue View File

@@ -471,8 +471,8 @@ export default {
471 471
   .noimgBox {
472 472
     margin-top: 40%;
473 473
     img {
474
-      width: 6.25rem;
475
-      height: 6.25rem;
474
+      width: 9.375rem;
475
+      height: 9.375rem;
476 476
       margin: 0 auto;
477 477
       display: block;
478 478
     }

+ 2 - 2
src/pages/doctorAdvice/components/LongDialysis.vue View File

@@ -582,8 +582,8 @@ export default {
582 582
   .noimgBox {
583 583
     margin-top: 40%;
584 584
     img {
585
-      width: 6.25rem;
586
-      height: 6.25rem;
585
+      width: 9.375rem;
586
+      height: 9.375rem;
587 587
       margin: 0 auto;
588 588
       display: block;
589 589
     }

+ 2 - 2
src/pages/doctorAdvice/components/RescueRecord.vue View File

@@ -384,8 +384,8 @@ export default {
384 384
   .noimgBox {
385 385
     margin-top: 40%;
386 386
     img {
387
-      width: 6.25rem;
388
-      height: 6.25rem;
387
+      width: 9.375rem;
388
+      height: 9.375rem;
389 389
       margin: 0 auto;
390 390
       display: block;
391 391
     }

+ 2 - 2
src/pages/doctorAdvice/components/Scheduling.vue View File

@@ -599,8 +599,8 @@ export default {
599 599
   .noimgBox {
600 600
     margin-top: 40%;
601 601
     img {
602
-      width: 6.25rem;
603
-      height: 6.25rem;
602
+      width: 9.375rem;
603
+      height: 9.375rem;
604 604
       margin: 0 auto;
605 605
       display: block;
606 606
     }

+ 2 - 2
src/pages/doctorAdvice/components/deviceManagement.vue View File

@@ -213,8 +213,8 @@ export default {
213 213
   .noimgBox {
214 214
     margin-top: 40%;
215 215
     img {
216
-      width: 6.25rem;
217
-      height: 6.25rem;
216
+      width: 9.375rem;
217
+      height: 9.375rem;
218 218
       margin: 0 auto;
219 219
       display: block;
220 220
     }

+ 2 - 2
src/pages/doctorAdvice/components/medicationPlan.vue View File

@@ -213,8 +213,8 @@ export default {
213 213
   .noimgBox {
214 214
     margin-top: 40%;
215 215
     img {
216
-      width: 6.25rem;
217
-      height: 6.25rem;
216
+      width: 9.375rem;
217
+      height: 9.375rem;
218 218
       margin: 0 auto;
219 219
       display: block;
220 220
     }

+ 2 - 2
src/pages/doctorAdvice/components/recoverNotes.vue View File

@@ -214,8 +214,8 @@ export default {
214 214
   .noimgBox {
215 215
     margin-top: 40%;
216 216
     img {
217
-      width: 6.25rem;
218
-      height: 6.25rem;
217
+      width: 9.375rem;
218
+      height: 9.375rem;
219 219
       margin: 0 auto;
220 220
       display: block;
221 221
     }

+ 2 - 2
src/pages/doctorAdvice/components/signsRecord.vue View File

@@ -219,8 +219,8 @@ export default {
219 219
   .noimgBox {
220 220
     margin-top: 40%;
221 221
     img {
222
-      width: 6.25rem;
223
-      height: 6.25rem;
222
+      width: 9.375rem;
223
+      height: 9.375rem;
224 224
       margin: 0 auto;
225 225
       display: block;
226 226
     }

+ 1 - 0
src/pages/homeIndex/index.vue View File

@@ -532,6 +532,7 @@ export default {
532 532
     padding-left: 0;
533 533
     color: #000;
534 534
     font-size: 1rem;
535
+    font-weight: bold;
535 536
   }
536 537
 }
537 538
 </style>

+ 9 - 0
src/pages/my/aboutUs.vue View File

@@ -43,6 +43,15 @@
43 43
   </div>
44 44
 </template>
45 45
 
46
+<script>
47
+import { setRem } from "@/libs/functionRem";
48
+export default {
49
+  created(){
50
+    setRem()
51
+  }
52
+}
53
+</script>
54
+
46 55
 <style lang="scss" scoped>
47 56
 .page_aboutUs {
48 57
   height: 100%;

+ 8 - 0
src/pages/my/companyIntroduction.vue View File

@@ -23,6 +23,14 @@
23 23
   </div>
24 24
 </template>
25 25
 
26
+<script>
27
+import { setRem } from "@/libs/functionRem";
28
+export default {
29
+  created(){
30
+    setRem()
31
+  }
32
+}
33
+</script>
26 34
 
27 35
 <style lang="scss" scoped>
28 36
 .page_companyIntroduction {

+ 2 - 0
src/pages/my/index.vue View File

@@ -159,6 +159,7 @@ import {
159 159
 } from "@/api/patient/patient";
160 160
 import { uParseTime } from "@/utils/tools";
161 161
 import { GetHomeData } from "@/api/home";
162
+import { setRem } from "@/libs/functionRem";
162 163
 export default {
163 164
   data() {
164 165
     return {
@@ -244,6 +245,7 @@ export default {
244 245
     }
245 246
   },
246 247
   created() {
248
+    setRem()
247 249
     var adminid = this.$store.getters.user.user.id;
248 250
     if (adminid === 0) {
249 251
       var adminid = this.$store.getters.user.admin.id;

+ 9 - 0
src/pages/my/invite.vue View File

@@ -13,6 +13,15 @@
13 13
   </div>
14 14
 </template>
15 15
 
16
+<script>
17
+import { setRem } from "@/libs/functionRem";
18
+export default {
19
+  created(){
20
+    setRem()
21
+  }
22
+}
23
+</script>
24
+
16 25
 <style lang="scss" scoped>
17 26
 .page_invite {
18 27
   height: 100%;

+ 2 - 0
src/pages/my/modifyPassword.vue View File

@@ -81,6 +81,7 @@ import "@/styles/newStyle.scss";
81 81
 import { getCodeInit, getVerifyCode, forgetPassWord } from "@/api/login";
82 82
 import { checkMobile } from "@/utils/tools";
83 83
 import { hex_md5 } from "@/utils/md5";
84
+import { setRem } from "@/libs/functionRem";
84 85
 
85 86
 export default {
86 87
   data() {
@@ -117,6 +118,7 @@ export default {
117 118
     };
118 119
   },
119 120
   created() {
121
+    setRem()
120 122
     this.GetCodeInit();
121 123
     this.forgetForm.phone = this.$store.getters.user.admin.mobile;
122 124
   },

+ 2 - 0
src/pages/my/modifyingName.vue View File

@@ -12,6 +12,7 @@
12 12
 </template>
13 13
 <script>
14 14
 import { saveName, getMyInforName } from "@/api/patient/patient";
15
+import { setRem } from "@/libs/functionRem";
15 16
 export default {
16 17
   data() {
17 18
     return {
@@ -59,6 +60,7 @@ export default {
59 60
     }
60 61
   },
61 62
   created() {
63
+    setRem()
62 64
     var id = this.$route.query.id;
63 65
     this.getMyInforName(id);
64 66
     this.admin_user_id = id;

+ 9 - 2
src/pages/my/myInfo.vue View File

@@ -73,6 +73,7 @@
73 73
 <script>
74 74
 import { getMyInforName, SaveSex, SaveBirthday } from "@/api/patient/patient";
75 75
 import { uParseTime } from "@/utils/tools";
76
+import { setRem } from "@/libs/functionRem";
76 77
 export default {
77 78
   data() {
78 79
     return {
@@ -181,6 +182,7 @@ export default {
181 182
     }
182 183
   },
183 184
   created() {
185
+    setRem()
184 186
     var id = this.$route.query.id;
185 187
     this.admin_user_id = id;
186 188
     this.getMyInforName(id);
@@ -213,6 +215,9 @@ export default {
213 215
     margin-top: 1rem;
214 216
 
215 217
     background: #fff;
218
+    >div:last-child{
219
+      border: none;
220
+    }
216 221
     .infoBoxOne {
217 222
       font-size: 1rem;
218 223
       display: flex;
@@ -220,7 +225,8 @@ export default {
220 225
       justify-content: space-between;
221 226
       height: 4.5rem;
222 227
       padding: 0 0.875rem;
223
-      box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
228
+      // box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
229
+      border-bottom: 1px solid #e5e5e5;
224 230
       .infoBoxOneRight {
225 231
         display: flex;
226 232
         align-items: center;
@@ -241,7 +247,8 @@ export default {
241 247
       justify-content: space-between;
242 248
       height: 2.8125rem;
243 249
       padding: 0 0.875rem;
244
-      box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
250
+      // box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
251
+      border-bottom: 1px solid #e5e5e5;
245 252
       .infoBoxOneRight {
246 253
         display: flex;
247 254
         align-items: center;

+ 2 - 0
src/pages/my/organizationInfo.vue View File

@@ -49,6 +49,7 @@ import {
49 49
   getRoleName,
50 50
   getAllOrganization
51 51
 } from "@/api/patient/patient";
52
+import { setRem } from "@/libs/functionRem";
52 53
 export default {
53 54
   data() {
54 55
     return {
@@ -131,6 +132,7 @@ export default {
131 132
     }
132 133
   },
133 134
   created() {
135
+    setRem()
134 136
     this.user_name = this.$store.getters.user.user.user_name;
135 137
     // this.org_short_name = this.$store.getters.user.org.org_short_name;
136 138
     var id = this.$route.query.id;

+ 2 - 0
src/pages/my/personalSign.vue View File

@@ -20,6 +20,7 @@
20 20
 </template>
21 21
 <script>
22 22
 import { getMyInformation, SaveMessage } from "@/api/patient/patient";
23
+import { setRem } from "@/libs/functionRem";
23 24
 export default {
24 25
   data() {
25 26
     return {
@@ -63,6 +64,7 @@ export default {
63 64
     }
64 65
   },
65 66
   created() {
67
+    setRem()
66 68
     var id = this.$route.query.id;
67 69
     this.admin_user_id = id;
68 70
     // console.log("id是什么", id);

+ 4 - 1
src/pages/org/index.vue View File

@@ -85,6 +85,7 @@
85 85
 <script>
86 86
 import { createOrg } from "@/api/home";
87 87
 import { Toast } from "vant";
88
+import { setRem } from "@/libs/functionRem";
88 89
 
89 90
   export default {
90 91
     components: {},
@@ -4355,7 +4356,9 @@ import { Toast } from "vant";
4355 4356
         });
4356 4357
       }
4357 4358
     },
4358
-
4359
+    created(){
4360
+      setRem()
4361
+    }
4359 4362
   };
4360 4363
 </script>
4361 4364
 

+ 2 - 0
src/pages/patientCenter/editOrg/index.vue View File

@@ -117,6 +117,7 @@ import {
117 117
   getAllOrgType
118 118
 } from "@/api/patient/patient";
119 119
 import { Toast } from "vant";
120
+import { setRem } from "@/libs/functionRem";
120 121
 
121 122
 export default {
122 123
   components: {},
@@ -4413,6 +4414,7 @@ export default {
4413 4414
     }
4414 4415
   },
4415 4416
   created() {
4417
+    setRem()
4416 4418
     var id = this.$route.query.id;
4417 4419
     this.getOrgInformation(id);
4418 4420
     this.getAllOrgType();

+ 18 - 10
src/pages/patientManagement/components/Blood.vue View File

@@ -21,14 +21,16 @@
21 21
         finished-text="没有更多了"
22 22
         @load="onLoad"
23 23
       >
24
-        <div
25
-          class="patientOne"
26
-          v-for="(item, index) in patients"
27
-          :key="index"
28
-          @click="toPatientDetail(item.id)"
29
-        >
30
-          <img :src="item.avatar" alt />
31
-          <p>{{ item.name }}</p>
24
+        <div class="patientMain">
25
+          <div
26
+            class="patientOne"
27
+            v-for="(item, index) in patients"
28
+            :key="index"
29
+            @click="toPatientDetail(item.id)"
30
+          >
31
+            <img :src="item.avatar" alt />
32
+            <p>{{ item.name }}</p>
33
+          </div>
32 34
         </div>
33 35
       </van-list>
34 36
     </div>
@@ -321,11 +323,17 @@ export default {
321 323
   }
322 324
   .patientBox {
323 325
     padding: 0 0.875rem;
326
+    .patientMain{
327
+      >div:last-child{
328
+        border: none;
329
+      }
330
+    }
324 331
     .patientOne {
325 332
       display: flex;
326 333
       align-items: center;
327 334
       height: 3.75rem;
328 335
       font-size: 1rem;
336
+      border-bottom: 1px solid #e5e5e5;
329 337
       img {
330 338
         width: 2.5rem;
331 339
         height: 2.5rem;
@@ -334,8 +342,8 @@ export default {
334 342
     }
335 343
   }
336 344
   .noData {
337
-    width: 12.5rem;
338
-    height: 12.5rem;
345
+    width: 9.375rem;
346
+    height: 9.375rem;
339 347
     position: fixed;
340 348
     left: 50%;
341 349
     top: 50%;

+ 15 - 7
src/pages/patientManagement/components/Member.vue View File

@@ -7,11 +7,13 @@
7 7
         finished-text="没有更多了"
8 8
         @load="onLoad"
9 9
       >
10
-        <div class="patientOne" v-for="(item,index) in patients" :key="index"
11
-         @click="toPatientDetail(item.id)"
12
-        >
13
-          <img :src="item.avatar" alt />
14
-          <p>{{ item.name }}</p>
10
+        <div class="patientMain">
11
+          <div class="patientOne" v-for="(item,index) in patients" :key="index"
12
+          @click="toPatientDetail(item.id)"
13
+          >
14
+            <img :src="item.avatar" alt />
15
+            <p>{{ item.name }}</p>
16
+          </div>
15 17
         </div>
16 18
       </van-list>
17 19
     </div>
@@ -172,11 +174,17 @@ export default {
172 174
   }
173 175
   .patientBox {
174 176
     padding: 0 0.875rem;
177
+    .patientMain{
178
+      >div:last-child{
179
+        border: none;
180
+      }
181
+    }
175 182
     .patientOne {
176 183
       display: flex;
177 184
       align-items: center;
178 185
       height: 3.75rem;
179 186
       font-size: 1rem;
187
+      border-bottom: 1px solid #e5e5e5;
180 188
       img {
181 189
         width: 2.5rem;
182 190
         height: 2.5rem;
@@ -185,8 +193,8 @@ export default {
185 193
     }
186 194
   }
187 195
   .noData {
188
-    width: 12.5rem;
189
-    height: 12.5rem;
196
+    width: 9.375rem;
197
+    height: 9.375rem;
190 198
     position: fixed;
191 199
     left: 50%;
192 200
     top: 50%;

+ 18 - 10
src/pages/patientManagement/components/Slow.vue View File

@@ -7,14 +7,16 @@
7 7
         finished-text="没有更多了"
8 8
         @load="onLoad"
9 9
       >
10
-        <div
11
-          class="patientOne"
12
-          v-for="(item, index) in patients"
13
-          :key="index"
14
-          @click="toPatientDetail(item.id)"
15
-        >
16
-          <img :src="item.avatar" alt />
17
-          <p>{{ item.name }}</p>
10
+        <div class="patientMain">
11
+          <div
12
+            class="patientOne"
13
+            v-for="(item, index) in patients"
14
+            :key="index"
15
+            @click="toPatientDetail(item.id)"
16
+          >
17
+            <img :src="item.avatar" alt />
18
+            <p>{{ item.name }}</p>
19
+          </div>
18 20
         </div>
19 21
       </van-list>
20 22
     </div>
@@ -173,11 +175,17 @@ export default {
173 175
   }
174 176
   .patientBox {
175 177
     padding: 0 0.875rem;
178
+    .patientMain{
179
+      >div:last-child{
180
+        border: none;
181
+      }
182
+    }
176 183
     .patientOne {
177 184
       display: flex;
178 185
       align-items: center;
179 186
       height: 3.75rem;
180 187
       font-size: 1rem;
188
+      border-bottom: 1px solid #e5e5e5;
181 189
       img {
182 190
         width: 2.5rem;
183 191
         height: 2.5rem;
@@ -186,8 +194,8 @@ export default {
186 194
     }
187 195
   }
188 196
   .noData {
189
-    width: 12.5rem;
190
-    height: 12.5rem;
197
+    width: 9.375rem;
198
+    height: 9.375rem;
191 199
     position: fixed;
192 200
     left: 50%;
193 201
     top: 50%;

+ 16 - 8
src/pages/patientManagement/patientManagement.vue View File

@@ -27,14 +27,16 @@
27 27
               @load="onLoad"
28 28
               :finished="finished"
29 29
             >
30
-              <div
31
-                class="patientOne"
32
-                v-for="(item, index) in patients"
33
-                :key="index"
34
-                @click="toPatientDetail(item.id)"
35
-              >
36
-                <img :src="item.avatar" alt />
37
-                <p>{{ item.name }}</p>
30
+              <div class="patientMain">
31
+                <div
32
+                  class="patientOne"
33
+                  v-for="(item, index) in patients"
34
+                  :key="index"
35
+                  @click="toPatientDetail(item.id)"
36
+                >
37
+                  <img :src="item.avatar" alt />
38
+                  <p>{{ item.name }}</p>
39
+                </div>
38 40
               </div>
39 41
             </van-list>
40 42
           </div>
@@ -261,11 +263,17 @@ export default {
261 263
   .patientBox {
262 264
     padding: 0 0.875rem;
263 265
     background: #fff;
266
+    .patientMain{
267
+      >div:last-child{
268
+        border: none;
269
+      }
270
+    }
264 271
     .patientOne {
265 272
       display: flex;
266 273
       align-items: center;
267 274
       height: 3.75rem;
268 275
       font-size: 1rem;
276
+      border-bottom: 1px solid #e5e5e5;
269 277
       img {
270 278
         width: 2.5rem;
271 279
         height: 2.5rem;

+ 2 - 0
src/pages/search/index.vue View File

@@ -44,6 +44,7 @@
44 44
 
45 45
 <script>
46 46
 import { toSearchPatient } from "@/api/patient/patient";
47
+import { setRem } from "@/libs/functionRem";
47 48
 export default {
48 49
   data() {
49 50
     return {
@@ -94,6 +95,7 @@ export default {
94 95
     }
95 96
   },
96 97
   created() {
98
+    setRem()
97 99
     this.historyWord = localStorage.getItem("searchWord");
98 100
     this.historyWord = this.historyWord.split(","); // 将字符串转成数组
99 101
   }

+ 9 - 0
src/pages/shop/index.vue View File

@@ -12,6 +12,15 @@
12 12
   </div>
13 13
 </template>
14 14
 
15
+<script>
16
+import { setRem } from "@/libs/functionRem";
17
+export default {
18
+  created(){
19
+    setRem()
20
+  }
21
+}
22
+</script>
23
+
15 24
 <style lang="scss" scoped>
16 25
 .page_shop {
17 26
   height: 100%;