diff --git a/pages.json b/pages.json index 8354f64..94323e1 100644 --- a/pages.json +++ b/pages.json @@ -4,17 +4,17 @@ }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { - "path": "pages/homepage/homepage", - "style": { - "enablePullDownRefresh": false, - "navigationStyle": "custom" - } - }, { "path": "pages/startup/startup", "style": { "navigationStyle": "custom", "enablePullDownRefresh": false } + },{ + "path": "pages/homepage/homepage", + "style": { + "enablePullDownRefresh": false, + "navigationStyle": "custom" + } }, { "path": "pages/medicalservice/medicalservice", diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue index 272914d..64979c4 100644 --- a/pages/homepage/homepage.vue +++ b/pages/homepage/homepage.vue @@ -201,11 +201,14 @@ }, // 服务预约 goappoint() { - if (!this.userinfo && !this.identity) { - this.gologin(); - } else { - this.detailinfo('', '/pagesC/ServiceAppointment/ServiceAppointment') - } + uni.navigateTo({ + url: '/pagesC/ServiceAppointment/ServiceAppointment' + }) + // if (!this.userinfo && !this.identity) { + // this.gologin(); + // } else { + // this.detailinfo('', '/pagesC/ServiceAppointment/ServiceAppointment') + // } }, // 服务记录 servicerecord() { @@ -235,4 +238,4 @@ \ No newline at end of file + diff --git a/pagesB/Healthitem/Healthitem.vue b/pagesB/Healthitem/Healthitem.vue index 27e3c24..084c96a 100644 --- a/pagesB/Healthitem/Healthitem.vue +++ b/pagesB/Healthitem/Healthitem.vue @@ -17,6 +17,7 @@ }, onLoad(options) { //获取传值 this.item = JSON.parse(decodeURIComponent(options.item)) + console.log(this.item) this.item.informationContent = this.item.informationContent.replace(/\ - - - 大生化 + + {{item.projectName}} - 高血压个性服务包 + {{item.packageName}} - + 预约 - - 大生化 - - - 高血压个性服务包 - - - 预约 - - @@ -43,7 +117,7 @@ .submit { width: 496rpx; height: 61rpx; - + background: #26A888; border-radius: 5rpx; line-height: 61rpx; @@ -68,6 +142,7 @@ .time { margin: 0 auto; + padding: 17rpx; width: 80%; height: 63rpx; background: #F6F6F6; @@ -86,4 +161,4 @@ } } - \ No newline at end of file +