diff --git a/main.js b/main.js index 24ceff6..bc56f3e 100644 --- a/main.js +++ b/main.js @@ -4,23 +4,24 @@ import App from './App' import Vue from 'vue' import uView from "uview-ui"; Vue.use(uView); -// import share from './share.js' -// Vue.mixin(share) - Vue.config.productionTip = false App.mpType = 'app' +import store from "@/store/index.js" const app = new Vue({ - ...App + store, + ...App }) app.$mount() // #endif // #ifdef VUE3 -import { createSSRApp } from 'vue' +import { + createSSRApp +} from 'vue' export function createApp() { - const app = createSSRApp(App) - return { - app - } + const app = createSSRApp(App) + return { + app + } } // #endif diff --git a/pages.json b/pages.json index 487c989..03607ca 100644 --- a/pages.json +++ b/pages.json @@ -9,7 +9,7 @@ "navigationBarTitleText": "", "navigationStyle": "custom" } - },{ + }, { "path": "pages/medicine/medicine", "style": { "navigationBarTitleText": "健康咨询", @@ -17,22 +17,21 @@ "navigationBarBackgroundColor": "#ffffff", "disableScroll": true } - },{ + }, { "path": "pages/integral/integral", "style": { "navigationBarTitleText": "积分", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff" } - },{ - "path" : "pages/confirmation/confirmation", - "style" : - { + }, { + "path": "pages/confirmation/confirmation", + "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "navigationBarTitleText": "预约时间" } - },{ + }, { "path": "pages/information/information", "style": { "navigationBarTitleText": "完善个人信息", @@ -135,8 +134,7 @@ "navigationBarTitleText": "医路优品", "navigationBarBackgroundColor": "#ffffff", "onReachBottomDistance": 40, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true, //设置参数为true - "navigationStyle": "custom" + "enablePullDownRefresh": true //设置参数为true } }, { "path": "pages/CommodityOrder/CommodityOrder", @@ -351,17 +349,15 @@ "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff" } - } - ,{ - "path" : "pages/Healthrecords/Healthrecords", - "style" : - { - "navigationBarTitleText": "健康档案", + }, { + "path": "pages/Healthrecords/Healthrecords", + "style": { + "navigationBarTitleText": "健康档案", "navigationBarBackgroundColor": "#ffffff", - "enablePullDownRefresh": false - } - } - ], + "enablePullDownRefresh": false + } + } + ], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "", @@ -380,12 +376,6 @@ "selectedIconPath": "static/homepagews.png", "text": "首页" }, - { - "pagePath": "pages/shopping/shopping", - "iconPath": "static/shoping.png", - "selectedIconPath": "static/shopingw.png", - "text": "商城" - }, { "pagePath": "pages/Personal/Personal", "iconPath": "static/userw.png", diff --git a/pages/diseasemanagement/diseasemanagement.vue b/pages/diseasemanagement/diseasemanagement.vue index bf4feac..531c277 100644 --- a/pages/diseasemanagement/diseasemanagement.vue +++ b/pages/diseasemanagement/diseasemanagement.vue @@ -1,6 +1,6 @@ diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue index d34120e..f610e6e 100644 --- a/pages/homepage/homepage.vue +++ b/pages/homepage/homepage.vue @@ -49,6 +49,7 @@ + @@ -78,6 +79,10 @@