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
       rootValue: 16, // 对应16px 适配移动端750px宽度
11
       rootValue: 16, // 对应16px 适配移动端750px宽度
12
       unitPrecision: 5,
12
       unitPrecision: 5,
13
       propList: ["*"],
13
       propList: ["*"],
14
-      selectorBlackList: [".el"],
14
+      selectorBlackList: [".el",".mint"],
15
       replace: true,
15
       replace: true,
16
       mediaQuery: false,
16
       mediaQuery: false,
17
       minPixelValue: 0,
17
       minPixelValue: 0,

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

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

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

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

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

191
   .staffBox {
191
   .staffBox {
192
     padding-left: 0.875rem;
192
     padding-left: 0.875rem;
193
     background: #fff;
193
     background: #fff;
194
+    >div:last-child{
195
+      p{
196
+        border: none;
197
+      }
198
+    }
194
     .staffOne {
199
     .staffOne {
195
       display: flex;
200
       display: flex;
196
       align-items: center;
201
       align-items: center;
208
         padding-right: 0.875rem;
213
         padding-right: 0.875rem;
209
         flex: 1;
214
         flex: 1;
210
         height: 100%;
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
       .bianji {
219
       .bianji {
214
         font-size: 1.25rem;
220
         font-size: 1.25rem;
217
     }
223
     }
218
   }
224
   }
219
   .noData {
225
   .noData {
220
-    width: 12.5rem;
221
-    height: 12.5rem;
226
+    width: 9.375rem;
227
+    height: 9.375rem;
222
     position: fixed;
228
     position: fixed;
223
     left: 50%;
229
     left: 50%;
224
     top: 50%;
230
     top: 50%;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

43
   </div>
43
   </div>
44
 </template>
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
 <style lang="scss" scoped>
55
 <style lang="scss" scoped>
47
 .page_aboutUs {
56
 .page_aboutUs {
48
   height: 100%;
57
   height: 100%;

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

23
   </div>
23
   </div>
24
 </template>
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
 <style lang="scss" scoped>
35
 <style lang="scss" scoped>
28
 .page_companyIntroduction {
36
 .page_companyIntroduction {

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

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

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

13
   </div>
13
   </div>
14
 </template>
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
 <style lang="scss" scoped>
25
 <style lang="scss" scoped>
17
 .page_invite {
26
 .page_invite {
18
   height: 100%;
27
   height: 100%;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

21
         finished-text="没有更多了"
21
         finished-text="没有更多了"
22
         @load="onLoad"
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
         </div>
34
         </div>
33
       </van-list>
35
       </van-list>
34
     </div>
36
     </div>
321
   }
323
   }
322
   .patientBox {
324
   .patientBox {
323
     padding: 0 0.875rem;
325
     padding: 0 0.875rem;
326
+    .patientMain{
327
+      >div:last-child{
328
+        border: none;
329
+      }
330
+    }
324
     .patientOne {
331
     .patientOne {
325
       display: flex;
332
       display: flex;
326
       align-items: center;
333
       align-items: center;
327
       height: 3.75rem;
334
       height: 3.75rem;
328
       font-size: 1rem;
335
       font-size: 1rem;
336
+      border-bottom: 1px solid #e5e5e5;
329
       img {
337
       img {
330
         width: 2.5rem;
338
         width: 2.5rem;
331
         height: 2.5rem;
339
         height: 2.5rem;
334
     }
342
     }
335
   }
343
   }
336
   .noData {
344
   .noData {
337
-    width: 12.5rem;
338
-    height: 12.5rem;
345
+    width: 9.375rem;
346
+    height: 9.375rem;
339
     position: fixed;
347
     position: fixed;
340
     left: 50%;
348
     left: 50%;
341
     top: 50%;
349
     top: 50%;

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

7
         finished-text="没有更多了"
7
         finished-text="没有更多了"
8
         @load="onLoad"
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
         </div>
17
         </div>
16
       </van-list>
18
       </van-list>
17
     </div>
19
     </div>
172
   }
174
   }
173
   .patientBox {
175
   .patientBox {
174
     padding: 0 0.875rem;
176
     padding: 0 0.875rem;
177
+    .patientMain{
178
+      >div:last-child{
179
+        border: none;
180
+      }
181
+    }
175
     .patientOne {
182
     .patientOne {
176
       display: flex;
183
       display: flex;
177
       align-items: center;
184
       align-items: center;
178
       height: 3.75rem;
185
       height: 3.75rem;
179
       font-size: 1rem;
186
       font-size: 1rem;
187
+      border-bottom: 1px solid #e5e5e5;
180
       img {
188
       img {
181
         width: 2.5rem;
189
         width: 2.5rem;
182
         height: 2.5rem;
190
         height: 2.5rem;
185
     }
193
     }
186
   }
194
   }
187
   .noData {
195
   .noData {
188
-    width: 12.5rem;
189
-    height: 12.5rem;
196
+    width: 9.375rem;
197
+    height: 9.375rem;
190
     position: fixed;
198
     position: fixed;
191
     left: 50%;
199
     left: 50%;
192
     top: 50%;
200
     top: 50%;

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

7
         finished-text="没有更多了"
7
         finished-text="没有更多了"
8
         @load="onLoad"
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
         </div>
20
         </div>
19
       </van-list>
21
       </van-list>
20
     </div>
22
     </div>
173
   }
175
   }
174
   .patientBox {
176
   .patientBox {
175
     padding: 0 0.875rem;
177
     padding: 0 0.875rem;
178
+    .patientMain{
179
+      >div:last-child{
180
+        border: none;
181
+      }
182
+    }
176
     .patientOne {
183
     .patientOne {
177
       display: flex;
184
       display: flex;
178
       align-items: center;
185
       align-items: center;
179
       height: 3.75rem;
186
       height: 3.75rem;
180
       font-size: 1rem;
187
       font-size: 1rem;
188
+      border-bottom: 1px solid #e5e5e5;
181
       img {
189
       img {
182
         width: 2.5rem;
190
         width: 2.5rem;
183
         height: 2.5rem;
191
         height: 2.5rem;
186
     }
194
     }
187
   }
195
   }
188
   .noData {
196
   .noData {
189
-    width: 12.5rem;
190
-    height: 12.5rem;
197
+    width: 9.375rem;
198
+    height: 9.375rem;
191
     position: fixed;
199
     position: fixed;
192
     left: 50%;
200
     left: 50%;
193
     top: 50%;
201
     top: 50%;

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

27
               @load="onLoad"
27
               @load="onLoad"
28
               :finished="finished"
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
               </div>
40
               </div>
39
             </van-list>
41
             </van-list>
40
           </div>
42
           </div>
261
   .patientBox {
263
   .patientBox {
262
     padding: 0 0.875rem;
264
     padding: 0 0.875rem;
263
     background: #fff;
265
     background: #fff;
266
+    .patientMain{
267
+      >div:last-child{
268
+        border: none;
269
+      }
270
+    }
264
     .patientOne {
271
     .patientOne {
265
       display: flex;
272
       display: flex;
266
       align-items: center;
273
       align-items: center;
267
       height: 3.75rem;
274
       height: 3.75rem;
268
       font-size: 1rem;
275
       font-size: 1rem;
276
+      border-bottom: 1px solid #e5e5e5;
269
       img {
277
       img {
270
         width: 2.5rem;
278
         width: 2.5rem;
271
         height: 2.5rem;
279
         height: 2.5rem;

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

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

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

12
   </div>
12
   </div>
13
 </template>
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
 <style lang="scss" scoped>
24
 <style lang="scss" scoped>
16
 .page_shop {
25
 .page_shop {
17
   height: 100%;
26
   height: 100%;