소스 검색

修改样式

See999 4 년 전
부모
커밋
9097e533d9

+ 1 - 1
index.html 파일 보기

@@ -4,7 +4,7 @@
4 4
     <meta charset="utf-8" />
5 5
     <meta
6 6
       name="viewport"
7
-      content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"
7
+      content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no,viewport-fit=cover"
8 8
     />
9 9
     <title>酷医云移动端</title>
10 10
   </head>

BIN
src/assets/images/invite.png 파일 보기


BIN
src/assets/images/m01.png 파일 보기


BIN
src/assets/images/m02.png 파일 보기


BIN
src/assets/images/m03.png 파일 보기


BIN
src/assets/images/m04.png 파일 보기


BIN
src/assets/images/m05.png 파일 보기


BIN
src/assets/images/m06.png 파일 보기


BIN
src/assets/images/m07.png 파일 보기


BIN
src/assets/images/m08.png 파일 보기


BIN
src/assets/images/myBanner.png 파일 보기


BIN
src/assets/images/myIcon1.png 파일 보기


BIN
src/assets/images/myIcon2.png 파일 보기


BIN
src/assets/images/myIcon3.png 파일 보기


BIN
src/assets/images/myIcon4.png 파일 보기


BIN
src/assets/images/myIcon5.png 파일 보기


BIN
src/assets/images/myIcon6.png 파일 보기


BIN
src/assets/images/myIcon7.png 파일 보기


BIN
src/assets/images/myIcon8.png 파일 보기


+ 6 - 0
src/pages/doctorAdvice/index.vue 파일 보기

@@ -41,6 +41,7 @@
41 41
         <van-icon name="cross" />
42 42
       </div>
43 43
       <van-search
44
+        class="doctorAdviceSearch"
44 45
         v-model="value"
45 46
         placeholder="请输入病人名字"
46 47
         @cancel="onCancel"
@@ -495,5 +496,10 @@ export default {
495 496
       flex-basis: 28% !important;
496 497
     }
497 498
   }
499
+  .doctorAdviceSearch {
500
+    .van-field__body {
501
+      width: 100%;
502
+    }
503
+  }
498 504
 }
499 505
 </style>

+ 2 - 1
src/pages/home/index.vue 파일 보기

@@ -100,7 +100,7 @@
100 100
             <div>商城</div>
101 101
           </van-tabbar-item>
102 102
         </router-link>
103
-        <router-link to="/my">
103
+        <router-link to="/newMy">
104 104
           <van-tabbar-item>
105 105
             <i class="iconfont icon-wode iconOne"></i>
106 106
             <div>我的</div>
@@ -156,6 +156,7 @@ export default {
156 156
   }
157 157
   .homeBottom {
158 158
     height: 3.125rem;
159
+    padding-bottom: env(safe-area-inset-bottom);
159 160
   }
160 161
   ::-webkit-scrollbar {
161 162
     width: 0;

+ 4 - 1
src/pages/homeIndex/index.vue 파일 보기

@@ -8,7 +8,7 @@
8 8
           </van-dropdown-menu>
9 9
         </div>
10 10
         <div class="homeTitleRight">
11
-          <i class="iconfont icon-sousuo search1"></i>
11
+          <i class="iconfont icon-sousuo search1" @click="toSearch"></i>
12 12
           <van-icon class="iconOne" name="comment-o" />
13 13
           <van-icon class="iconOne" name="add-o" />
14 14
         </div>
@@ -146,6 +146,9 @@ export default {
146 146
   methods: {
147 147
     toPatients() {
148 148
       this.$router.push({ path: "/patients" });
149
+    },
150
+    toSearch() {
151
+      this.$router.push({ path: "/search" });
149 152
     }
150 153
   },
151 154
   created() {

+ 268 - 0
src/pages/my/index.vue 파일 보기

@@ -0,0 +1,268 @@
1
+<template>
2
+  <div class="page_my">
3
+    <div class="myTop">
4
+      <img src="../../assets/images/myBanner.png" alt />
5
+      <div class="avatar">
6
+        <img src="../../assets/images/m01.png" alt />
7
+      </div>
8
+      <div class="userMain">
9
+        <div class="userBox">
10
+          <div class="userTxt">
11
+            <p class="userName">小可耐</p>
12
+            <p class="signature">一个无法用言语表达的好人</p>
13
+          </div>
14
+          <van-icon name="arrow" />
15
+        </div>
16
+      </div>
17
+      <div class="invitebox">
18
+        <img src="../../assets/images/invite.png" alt />
19
+      </div>
20
+      <div class="myInfo">
21
+        <div class="myInfoLeft">
22
+          <img src="../../assets/images/myIcon1.png" alt />
23
+          <p>我的信息</p>
24
+        </div>
25
+        <van-icon class="arrow" name="arrow" />
26
+      </div>
27
+    </div>
28
+    <div class="myBox">
29
+      <div class="myBoxOne">
30
+        <div class="myInfoLeft">
31
+          <img src="../../assets/images/myIcon2.png" alt />
32
+          <p>我的医院/组织/团队</p>
33
+        </div>
34
+        <van-icon class="arrow" name="arrow" />
35
+      </div>
36
+      <div class="myBoxTwo">
37
+        <div class="myInfoLeft">
38
+          <img src="../../assets/images/m01.png" alt />
39
+          <p>我的医院/组织/团队</p>
40
+        </div>
41
+        <div class="myInfoRight">
42
+          <van-icon class="arrow" name="arrow" />
43
+        </div>
44
+      </div>
45
+      <div class="myBoxTwo noBorder">
46
+        <div class="myInfoLeft">
47
+          <img src="../../assets/images/m01.png" alt />
48
+          <p>我的医院/组织/团队</p>
49
+        </div>
50
+        <div class="myInfoRight">
51
+          <div class="myInfoRightBtn">管理</div>
52
+          <van-icon class="arrow" name="arrow" />
53
+        </div>
54
+      </div>
55
+    </div>
56
+    <div class="myBox">
57
+      <div class="myBoxOne">
58
+        <div class="myInfoLeft">
59
+          <img src="../../assets/images/myIcon3.png" alt />
60
+          <p>创建医院/组织/团队</p>
61
+        </div>
62
+        <van-icon class="arrow" name="arrow" />
63
+      </div>
64
+      <div class="myBoxOne">
65
+        <div class="myInfoLeft">
66
+          <img src="../../assets/images/myIcon4.png" alt />
67
+          <p>修改密码</p>
68
+        </div>
69
+        <van-icon class="arrow" name="arrow" />
70
+      </div>
71
+    </div>
72
+    <div class="myBox">
73
+      <div class="myBoxOne">
74
+        <div class="myInfoLeft">
75
+          <img src="../../assets/images/myIcon5.png" alt />
76
+          <p>常见问题</p>
77
+        </div>
78
+        <van-icon class="arrow" name="arrow" />
79
+      </div>
80
+      <div class="myBoxOne">
81
+        <div class="myInfoLeft">
82
+          <img src="../../assets/images/myIcon6.png" alt />
83
+          <p>意见反馈</p>
84
+        </div>
85
+        <van-icon class="arrow" name="arrow" />
86
+      </div>
87
+      <div class="myBoxOne">
88
+        <div class="myInfoLeft">
89
+          <img src="../../assets/images/myIcon7.png" alt />
90
+          <p>关于我们</p>
91
+        </div>
92
+        <van-icon class="arrow" name="arrow" />
93
+      </div>
94
+    </div>
95
+    <div class="myBox">
96
+      <div class="myBoxOne">
97
+        <div class="myInfoLeft">
98
+          <img src="../../assets/images/myIcon8.png" alt />
99
+          <p>退出登录</p>
100
+        </div>
101
+        <van-icon class="arrow" name="arrow" />
102
+      </div>
103
+    </div>
104
+  </div>
105
+</template>
106
+
107
+<style lang="scss" scoped>
108
+.page_my {
109
+  height: 100%;
110
+  overflow-x: hidden;
111
+  overflow-y: auto;
112
+  background: #fafafa;
113
+  .myTop {
114
+    position: relative;
115
+    height: 16.875rem;
116
+    img {
117
+      width: 100%;
118
+      height: 11.25rem;
119
+    }
120
+    .avatar {
121
+      position: absolute;
122
+      left: 1rem;
123
+      top: 2.5rem;
124
+      width: 4.375rem;
125
+      height: 4.375rem;
126
+      background: rgba(50, 50, 50, 1);
127
+      border: 2px solid rgba(255, 255, 255, 1);
128
+      border-radius: 50%;
129
+      img {
130
+        border-radius: 50%;
131
+        width: 100%;
132
+        height: 100%;
133
+      }
134
+    }
135
+    .userMain {
136
+      position: absolute;
137
+      left: 6.25rem;
138
+      top: 3.375rem;
139
+      width: 70%;
140
+      color: #fff;
141
+    }
142
+    .userBox {
143
+      display: flex;
144
+      justify-content: space-between;
145
+      align-items: center;
146
+    }
147
+    .userName {
148
+      font-size: 1.25rem;
149
+      margin-bottom: 0.625rem;
150
+    }
151
+    .signature {
152
+      font-size: 0.75rem;
153
+    }
154
+    .invitebox {
155
+      width: 21.5625rem;
156
+      height: 4.75rem;
157
+      position: absolute;
158
+      top: 8.75rem;
159
+      left: 0.9375rem;
160
+      box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.16);
161
+      img {
162
+        height: 100%;
163
+        width: 100%;
164
+      }
165
+    }
166
+    .myInfo {
167
+      width: 100%;
168
+      height: 3.125rem;
169
+      display: flex;
170
+      align-items: center;
171
+      justify-content: space-between;
172
+      margin-top: 2.25rem;
173
+      padding: 0 0.875rem;
174
+      background: #fff;
175
+      .myInfoLeft {
176
+        display: flex;
177
+        align-items: center;
178
+        height: 100%;
179
+        img {
180
+          width: 1.125rem;
181
+          height: 1.125rem;
182
+          margin-right: 0.5rem;
183
+        }
184
+        p {
185
+          margin-top: 0.125rem;
186
+        }
187
+      }
188
+      .arrow {
189
+        color: #9f9f9f;
190
+      }
191
+    }
192
+  }
193
+  .myBox {
194
+    margin: 0.8125rem 0;
195
+    background: #fff;
196
+    > div:last-child {
197
+      border: none;
198
+    }
199
+    .myBoxOne {
200
+      width: 100%;
201
+      height: 3.125rem;
202
+      display: flex;
203
+      align-items: center;
204
+      justify-content: space-between;
205
+      padding: 0 0.875rem;
206
+      border-bottom: 1px solid #e5e5e5;
207
+      .myInfoLeft {
208
+        display: flex;
209
+        align-items: center;
210
+        height: 100%;
211
+        img {
212
+          width: 1.125rem;
213
+          height: 1.125rem;
214
+          margin-right: 0.5rem;
215
+        }
216
+        // p {
217
+        //   margin-top: 0.125rem;
218
+        // }
219
+      }
220
+      .arrow {
221
+        color: #9f9f9f;
222
+      }
223
+    }
224
+    .myBoxTwo {
225
+      height: 3.125rem;
226
+      display: flex;
227
+      align-items: center;
228
+      justify-content: space-between;
229
+      padding-right: 0.875rem;
230
+      background: #fff;
231
+      margin-left: 2.5rem;
232
+      border-bottom: 1px solid #e5e5e5;
233
+      .myInfoLeft {
234
+        display: flex;
235
+        align-items: center;
236
+        height: 100%;
237
+        img {
238
+          width: 1.875rem;
239
+          height: 1.875rem;
240
+          margin-right: 0.5rem;
241
+        }
242
+        // p {
243
+        //   margin-top: 0.125rem;
244
+        // }
245
+      }
246
+      .myInfoRight {
247
+        display: flex;
248
+        align-items: center;
249
+        .myInfoRightBtn {
250
+          width: 3.625rem;
251
+          height: 1.875rem;
252
+          background: rgba(255, 255, 255, 1);
253
+          border: 1px solid rgba(51, 138, 251, 1);
254
+          border-radius: 0.3125rem;
255
+          text-align: center;
256
+          line-height: 1.875rem;
257
+          color: #338afb;
258
+          font-size: 0.9375rem;
259
+          margin-right: 0.625rem;
260
+        }
261
+      }
262
+      .arrow {
263
+        color: #9f9f9f;
264
+      }
265
+    }
266
+  }
267
+}
268
+</style>

+ 9 - 20
src/pages/patientManagement/components/Blood.vue 파일 보기

@@ -65,6 +65,9 @@
65 65
 <script>
66 66
 import { getAllBloodDialysisPatient } from "@/api/patient/patient";
67 67
 export default {
68
+  props: {
69
+    searchValue: String
70
+  },
68 71
   data() {
69 72
     return {
70 73
       value: "",
@@ -160,27 +163,13 @@ export default {
160 163
     }
161 164
   },
162 165
   created() {
163
-    const baseSize = 32;
164
-    // 设置 rem 函数
165
-    function setRem() {
166
-      const scale = document.documentElement.clientWidth / 750;
167
-      document.documentElement.style.fontSize =
168
-        baseSize * Math.min(scale, 2) + "px";
169
-      //   // 320 默认大小16px; 320px = 20rem ;每个元素px基础上/16
170
-      //   let htmlWidth =
171
-      //     document.documentElement.clientWidth || document.body.clientWidth;
172
-      //   //得到html的Dom元素
173
-      //   let htmlDom = document.getElementsByTagName("html")[0];
174
-      //   //设置根元素字体大小
175
-      //   htmlDom.style.fontSize = htmlWidth / 23.4375 + "px";
176
-    }
177
-    // 初始化
178
-    setRem();
179
-    // 改变窗口大小时重新设置 rem
180
-    window.onresize = function() {
181
-      setRem();
182
-    };
166
+    console.log(this.searchValue);
183 167
     this.getAllBloodDialysisPatient();
168
+  },
169
+  watch: {
170
+    searchValue(newVal) {
171
+      console.log(newVal);
172
+    }
184 173
   }
185 174
 };
186 175
 </script>

+ 9 - 20
src/pages/patientManagement/components/Member.vue 파일 보기

@@ -22,6 +22,9 @@
22 22
 <script>
23 23
 import { getAllMemberPatient } from '@/api/patient/patient'
24 24
 export default {
25
+  props: {
26
+    searchValue: String
27
+  },
25 28
   data () {
26 29
     return {
27 30
       loading: false,
@@ -70,27 +73,13 @@ export default {
70 73
     }
71 74
   },
72 75
   created () {
73
-    const baseSize = 32
74
-    // 设置 rem 函数
75
-    function setRem () {
76
-      const scale = document.documentElement.clientWidth / 750
77
-      document.documentElement.style.fontSize =
78
-        baseSize * Math.min(scale, 2) + 'px'
79
-      //   // 320 默认大小16px; 320px = 20rem ;每个元素px基础上/16
80
-      //   let htmlWidth =
81
-      //     document.documentElement.clientWidth || document.body.clientWidth;
82
-      //   //得到html的Dom元素
83
-      //   let htmlDom = document.getElementsByTagName("html")[0];
84
-      //   //设置根元素字体大小
85
-      //   htmlDom.style.fontSize = htmlWidth / 23.4375 + "px";
86
-    }
87
-    // 初始化
88
-    setRem()
89
-    // 改变窗口大小时重新设置 rem
90
-    window.onresize = function () {
91
-      setRem()
92
-    }
76
+    console.log(this.searchValue)
93 77
     this.getAllMemberPatient()
78
+  },
79
+  watch: {
80
+    searchValue(newVal) {
81
+      console.log(newVal);
82
+    }
94 83
   }
95 84
 }
96 85
 </script>

+ 8 - 20
src/pages/patientManagement/components/Slow.vue 파일 보기

@@ -23,6 +23,9 @@ import {
23 23
   getAllSlowPatient
24 24
 } from '@/api/patient/patient'
25 25
 export default {
26
+  props: {
27
+    searchValue: String
28
+  },
26 29
   data () {
27 30
     return {
28 31
       loading: false,
@@ -71,27 +74,12 @@ export default {
71 74
     }
72 75
   },
73 76
   created () {
74
-    const baseSize = 32
75
-    // 设置 rem 函数
76
-    function setRem () {
77
-      const scale = document.documentElement.clientWidth / 750
78
-      document.documentElement.style.fontSize =
79
-        baseSize * Math.min(scale, 2) + 'px'
80
-      //   // 320 默认大小16px; 320px = 20rem ;每个元素px基础上/16
81
-      //   let htmlWidth =
82
-      //     document.documentElement.clientWidth || document.body.clientWidth;
83
-      //   //得到html的Dom元素
84
-      //   let htmlDom = document.getElementsByTagName("html")[0];
85
-      //   //设置根元素字体大小
86
-      //   htmlDom.style.fontSize = htmlWidth / 23.4375 + "px";
87
-    }
88
-    // 初始化
89
-    setRem()
90
-    // 改变窗口大小时重新设置 rem
91
-    window.onresize = function () {
92
-      setRem()
93
-    }
94 77
     this.getAllSlowPatient()
78
+  },
79
+  watch: {
80
+    searchValue(newVal) {
81
+      console.log(newVal);
82
+    }
95 83
   }
96 84
 }
97 85
 </script>

+ 3 - 3
src/pages/patientManagement/patientManagement.vue 파일 보기

@@ -35,13 +35,13 @@
35 35
           </div>
36 36
         </van-tab>
37 37
         <van-tab title="血透患者">
38
-          <Blood></Blood>
38
+          <Blood :searchValue="value"></Blood>
39 39
         </van-tab>
40 40
         <van-tab title="慢病患者">
41
-          <Slow></Slow>
41
+          <Slow :searchValue="value"></Slow>
42 42
         </van-tab>
43 43
         <van-tab title="会员患者">
44
-          <Member></Member>
44
+          <Member :searchValue="value"></Member>
45 45
         </van-tab>
46 46
       </van-tabs>
47 47
     </div>

+ 6 - 4
src/pages/search/index.vue 파일 보기

@@ -1,12 +1,12 @@
1 1
 <template>
2 2
   <div class="page_search">
3 3
     <div class="header">
4
-      <i class="iconfont icon-zuojiantou"></i>
4
+      <i class="iconfont icon-zuojiantou" @click="toHomeIndex"></i>
5 5
       <van-search v-model="value" placeholder=" 姓名 / 首拼 / 透析号" />
6 6
     </div>
7 7
     <div class="searchList">
8 8
       <div class="patientOne">
9
-        <img src="../../assets/images/one.jpg" alt="" />
9
+        <img src="../../assets/images/m01.png" alt="" />
10 10
         <p>名字</p>
11 11
       </div>
12 12
     </div>
@@ -54,7 +54,7 @@
54 54
 </template>
55 55
 
56 56
 <script>
57
-import { SaveSearch } from "@/api/login/login";
57
+// import { SaveSearch } from "@/api/login/login";
58 58
 export default {
59 59
   data() {
60 60
     return {
@@ -68,6 +68,9 @@ export default {
68 68
     },
69 69
     watchNum() {
70 70
       console.log(this.searchVal);
71
+    },
72
+    toHomeIndex() {
73
+      this.$router.push({ path: "/homeIndex" });
71 74
     }
72 75
   }
73 76
 };
@@ -127,7 +130,6 @@ export default {
127 130
     }
128 131
     .recordOne {
129 132
       min-width: 0.0625rem;
130
-      height: 1.6875rem;
131 133
       background: rgba(244, 244, 244, 1);
132 134
       border-radius: 14px;
133 135
       color: rgba(155, 155, 155, 1);

+ 114 - 99
src/router/index.js 파일 보기

@@ -1,169 +1,184 @@
1
-import Vue from 'vue'
2
-import Router from 'vue-router'
1
+import Vue from "vue";
2
+import Router from "vue-router";
3 3
 
4
-Vue.use(Router)
4
+Vue.use(Router);
5 5
 
6 6
 export default new Router({
7
-  routes: [{
8
-      path: '/',
9
-      name: 'Home',
10
-      component: () => import('@/pages/home/verifyToken')
7
+  routes: [
8
+    {
9
+      path: "/",
10
+      name: "Home",
11
+      component: () => import("@/pages/home/verifyToken")
11 12
     },
12 13
     {
13
-      path: '/login',
14
-      name: 'Home',
15
-      component: () => import('@/pages/home/login')
14
+      path: "/login",
15
+      name: "Home",
16
+      component: () => import("@/pages/home/login")
16 17
     },
17 18
     {
18
-      path: '/nopassword',
19
-      name: 'Home',
20
-      component: () => import('@/pages/home/noPassword')
19
+      path: "/nopassword",
20
+      name: "Home",
21
+      component: () => import("@/pages/home/noPassword")
21 22
     },
22 23
     {
23
-      path: '/setname',
24
-      name: 'Home',
25
-      component: () => import('@/pages/home/register/name')
24
+      path: "/setname",
25
+      name: "Home",
26
+      component: () => import("@/pages/home/register/name")
26 27
     },
27 28
     {
28
-      path: '/register',
29
-      name: 'Home',
30
-      component: () => import('@/pages/home/register/register')
29
+      path: "/register",
30
+      name: "Home",
31
+      component: () => import("@/pages/home/register/register")
31 32
     },
32 33
     {
33
-      path: '/join',
34
-      name: 'Home',
35
-      component: () => import('@/pages/home/noJoinedGroup')
34
+      path: "/join",
35
+      name: "Home",
36
+      component: () => import("@/pages/home/noJoinedGroup")
36 37
     },
37 38
     {
38
-      path: '/forget',
39
-      name: 'Home',
40
-      component: () => import('@/pages/home/forgetPassword')
39
+      path: "/forget",
40
+      name: "Home",
41
+      component: () => import("@/pages/home/forgetPassword")
41 42
     },
42 43
     {
43
-      path: '/createorg',
44
-      name: 'Home',
45
-      component: () => import('@/pages/home/createOrg')
44
+      path: "/createorg",
45
+      name: "Home",
46
+      component: () => import("@/pages/home/createOrg")
46 47
     },
47 48
     // 首页
48 49
     {
49
-      path: '/myIndex',
50
-      name: 'myIndex',
51
-      component: () => import('@/pages/home/index'),
52
-      children: [{
53
-        path: '/homeIndex',
54
-        component: () => import('@/pages/homeIndex/index.vue')
55
-      }]
50
+      path: "/myIndex",
51
+      name: "myIndex",
52
+      component: () => import("@/pages/home/index"),
53
+      children: [
54
+        {
55
+          path: "/homeIndex",
56
+          component: () => import("@/pages/homeIndex/index.vue")
57
+        },
58
+        // 我的
59
+        {
60
+          path: "/newMy",
61
+          name: "newMy",
62
+          component: () => import("@/pages/my/index")
63
+        }
64
+      ]
56 65
     },
57 66
     // 患者中心
58 67
     {
59
-      path: '/patients',
60
-      name: 'patients',
61
-      component: () => import('@/pages/patientManagement/patientManagement')
68
+      path: "/patients",
69
+      name: "patients",
70
+      component: () => import("@/pages/patientManagement/patientManagement")
62 71
     },
63 72
     // 新增病人
64 73
     {
65
-      path: '/addPatints',
66
-      name: 'addpatients',
67
-      component: () => import('@/pages/patients/addPatient')
74
+      path: "/addPatints",
75
+      name: "addpatients",
76
+      component: () => import("@/pages/patients/addPatient")
68 77
     },
69 78
     // 全部病程
70 79
     {
71
-      path: '/coursedetail',
72
-      name: 'coursedetail',
73
-      component: () => import('@/pages/allCourseManagement/index')
80
+      path: "/coursedetail",
81
+      name: "coursedetail",
82
+      component: () => import("@/pages/allCourseManagement/index")
74 83
     },
75 84
     // 全部干体重
76 85
     {
77
-      path: '/dryweight',
78
-      name: 'dryweight',
79
-      component: () => import('@/pages/allDryWeight/index')
86
+      path: "/dryweight",
87
+      name: "dryweight",
88
+      component: () => import("@/pages/allDryWeight/index")
80 89
     },
81 90
     // 基本信息
82 91
     {
83
-      path: '/editPatient',
84
-      name: 'editPatient',
85
-      component: () => import('@/pages/patients/editPatient')
92
+      path: "/editPatient",
93
+      name: "editPatient",
94
+      component: () => import("@/pages/patients/editPatient")
86 95
     },
87 96
     //
88 97
     {
89
-      path: '/patientdetail',
90
-      name: 'patientdetail',
91
-      component: () => import('@/pages/doctorAdvice/index')
98
+      path: "/patientdetail",
99
+      name: "patientdetail",
100
+      component: () => import("@/pages/doctorAdvice/index")
101
+    },
102
+    // 搜索
103
+    {
104
+      path: "/search",
105
+      name: "search",
106
+      component: () => import("@/pages/search/index")
92 107
     },
93 108
     {
94
-      path: '/product',
95
-      name: 'Product',
96
-      component: () => import('@/pages/product/index')
109
+      path: "/product",
110
+      name: "Product",
111
+      component: () => import("@/pages/product/index")
97 112
     },
98 113
     {
99
-      path: '/main',
100
-      name: 'main',
101
-      component: () => import('@/pages/main/index')
114
+      path: "/main",
115
+      name: "main",
116
+      component: () => import("@/pages/main/index")
102 117
     },
103 118
     {
104
-      path: '/details',
105
-      name: 'details',
106
-      component: () => import('@/pages/main/DetailsPage')
119
+      path: "/details",
120
+      name: "details",
121
+      component: () => import("@/pages/main/DetailsPage")
107 122
     },
108 123
     {
109
-      path: '/monitoring',
110
-      name: 'monitorPage',
111
-      component: () => import('@/pages/monitoring/index')
124
+      path: "/monitoring",
125
+      name: "monitorPage",
126
+      component: () => import("@/pages/monitoring/index")
112 127
     },
113 128
     {
114
-      path: '/my',
115
-      name: 'my',
116
-      component: () => import('@/pages/personal/index')
129
+      path: "/my",
130
+      name: "my",
131
+      component: () => import("@/pages/personal/index")
117 132
     },
118 133
     {
119
-      path: '/advice',
120
-      name: 'doctorAdvice',
121
-      component: () => import('@/pages/advice/index')
134
+      path: "/advice",
135
+      name: "doctorAdvice",
136
+      component: () => import("@/pages/advice/index")
122 137
     },
123 138
     {
124
-      path: '/EditPersonal',
125
-      name: 'EditPersonal',
126
-      component: () => import('@/pages/personal/EditPersonal')
139
+      path: "/EditPersonal",
140
+      name: "EditPersonal",
141
+      component: () => import("@/pages/personal/EditPersonal")
127 142
     },
128 143
     {
129
-      path: '/ElectronicSignature',
130
-      name: 'ElectronicSignature',
131
-      component: () => import('@/pages/personal/ElectronicSignature')
144
+      path: "/ElectronicSignature",
145
+      name: "ElectronicSignature",
146
+      component: () => import("@/pages/personal/ElectronicSignature")
132 147
     },
133 148
     {
134
-      path: '/Print',
135
-      name: 'Print',
136
-      component: () => import('@/pages/main/PrintIndex')
149
+      path: "/Print",
150
+      name: "Print",
151
+      component: () => import("@/pages/main/PrintIndex")
137 152
     },
138 153
     {
139
-      path: '/add_urgent_schedule',
140
-      name: 'AddUrgentSchedule',
141
-      component: () => import('@/pages/main/add_urgent_schedule')
154
+      path: "/add_urgent_schedule",
155
+      name: "AddUrgentSchedule",
156
+      component: () => import("@/pages/main/add_urgent_schedule")
142 157
     },
143 158
     {
144
-      path: '/Prints',
145
-      name: 'Prints',
146
-      component: () => import('@/pages/main/Print')
159
+      path: "/Prints",
160
+      name: "Prints",
161
+      component: () => import("@/pages/main/Print")
147 162
     },
148 163
     {
149
-      path: '/forgetPassword',
150
-      name: 'forgetPassword',
151
-      component: () => import('@/pages/personal/ForgetPassword')
164
+      path: "/forgetPassword",
165
+      name: "forgetPassword",
166
+      component: () => import("@/pages/personal/ForgetPassword")
152 167
     },
153 168
     {
154
-      path: '/changePassword',
155
-      name: 'changePassword',
156
-      component: () => import('@/pages/personal/ChangePassword')
169
+      path: "/changePassword",
170
+      name: "changePassword",
171
+      component: () => import("@/pages/personal/ChangePassword")
157 172
     },
158 173
     {
159
-      path: '/privacy',
160
-      name: 'privacy',
161
-      component: () => import('@/pages/privacy/index')
174
+      path: "/privacy",
175
+      name: "privacy",
176
+      component: () => import("@/pages/privacy/index")
162 177
     },
163 178
     {
164
-      path: '/userAgreement',
165
-      name: 'userAgreement',
166
-      component: () => import('@/pages/userAgreement/index')
179
+      path: "/userAgreement",
180
+      name: "userAgreement",
181
+      component: () => import("@/pages/userAgreement/index")
167 182
     }
168 183
   ]
169
-})
184
+});