diff --git a/components/preBookList.vue b/components/preBookList.vue
index 4c20d76..29e4c89 100644
--- a/components/preBookList.vue
+++ b/components/preBookList.vue
@@ -38,21 +38,13 @@ export default {
data() {
return {
cssUrl:this.cssUrl,
- // statusList:['status_wait', 'status_ing', 'status_down', 'status_out_num', 'status_expire', 'status_expire'],
- // statusDescList:['候诊', '就诊中', '已完成', '过号', '已过期', '已取消'],
statusStyleList:{'待就诊':'status_wait', '就诊中':'status_ing', '就诊完成':'status_down', '过号':'status_out_num', '过期':'status_expire','取消':'status_cancle'}
}
},
methods: {
toBookDetail(item){
- this.$func.toPage('/pages/visit_detail/visit_detail?id='+item.id+'&depart_id='+item.depart_id+'&visitor_id='+item.visitor_id)
+ this.$nav.navToPath('/pages/visit_detail/visit_detail?id='+item.id+'&depart_id='+item.depart_id+'&visitor_id='+item.visitor_id)
},
- getDayOfWeek(dateString) {
- var str = new Date(dateString);
- var week = str.getDay();
- var weekList = ['周日','周一','周二','周三','周四','周五','周六']
- return weekList[week]
- }
}
};
@@ -120,7 +112,6 @@ export default {
text-align: right;
word-break: break-all;
height: 42rpx;
- // display: flex;
align-items: center;
justify-content: flex-end;
.bedDesc{
diff --git a/components/tabbar.vue b/components/tabbar.vue
index 7c4dd3b..6b5ee43 100644
--- a/components/tabbar.vue
+++ b/components/tabbar.vue
@@ -52,10 +52,12 @@
}
},
mounted() {
+ // #ifdef H5
this.isWechat = /MicroMessenger/i.test(navigator.userAgent)
if (this.isWechat && !this.wxConfig) {
this.initWxConfig()
}
+ // #endif
},
methods: {
async initWxConfig() {
@@ -129,7 +131,7 @@
})
return;
}
- this.$func.toPage('/pages/nonsupport/nonsupport');
+ this.$nav.navToPath('/pages/nonsupport/nonsupport');
});
return;
}
diff --git a/components/userCard.vue b/components/userCard.vue
index 2c4b93d..0ca0951 100644
--- a/components/userCard.vue
+++ b/components/userCard.vue
@@ -1,12 +1,15 @@
-
-
+
+
-
+
-
+
@@ -18,34 +21,35 @@
-
+
diff --git a/pages/visitors/visitors.vue b/pages/visitors/visitors.vue
index bbe54b4..c2eec9c 100644
--- a/pages/visitors/visitors.vue
+++ b/pages/visitors/visitors.vue
@@ -170,10 +170,9 @@
},
methods: {
reback(){
- this.$nav.navToPath('/')
+ this.$nav.navToPath('/pages/index/index')
},
// 预约时间 -跳转就诊人页面-预约时间
-
async getDoctorInfo() {
await this.$http.req('user/index_info', {}, 'GET').then(data=>{
if(data == -1) return