diff --git a/App.vue b/App.vue index ef904c8..b55ca78 100644 --- a/App.vue +++ b/App.vue @@ -2,13 +2,16 @@ export default { onLaunch: function() {}, onShow: function() { - // this.$store.commit('initConfig') + this.$store.commit('initConfig') + this.$store.commit('getBanner') + this.$store.commit('getArticleList') + this.$store.commit('getProblemList') }, onHide: function() {} } - \ No newline at end of file diff --git a/config.js b/config.js index bc0bb92..4befc4c 100644 --- a/config.js +++ b/config.js @@ -7,16 +7,16 @@ import uvUI from '@/uni_modules/uv-ui-tools' Vue.use(uvUI); // 当前环境 -const type = 'dev' +const type = 'prod' // 环境配置 const config = { dev : { - baseUrl : 'http://www.gcosc.fun:82', + baseUrl : 'http://h5.xzaiyp.top/answer-api', }, prod : { - baseUrl : 'http://xxx.xxx.xxx/xxx', + baseUrl : 'https://admin.geniusjourneyclub.com/answer-api', } } diff --git a/manifest.json b/manifest.json index ea42a21..b95552a 100644 --- a/manifest.json +++ b/manifest.json @@ -52,7 +52,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wxe7ae8cbe1673834c", + "appid" : "wxd83c5228fffa1b58", "setting" : { "urlCheck" : false }, diff --git a/pages.json b/pages.json index b42e356..74c6ba1 100644 --- a/pages.json +++ b/pages.json @@ -1,27 +1,19 @@ { - "pages": [{ - "path": "pages/index/index", - "style": { - "navigationBarTitleText": "" - } - }, + "pages": [ { - "path": "pages/index/order", + "path": "pages/index/index", "style": { "navigationBarTitleText": "" } }, { - "path": "pages/index/center", + "path": "pages/index/home", "style": { "navigationBarTitleText": "" } }, { - "path": "pages/index/home", - "style": { - "navigationBarTitleText": "" - } + "path": "pages/index/article" } ], "preloadRule": { @@ -32,24 +24,7 @@ }, "subPackages": [{ "root": "pages_order", - "pages": [{ - "path": "order/orderDetail" - }, - { - "path": "mine/purse" - }, - { - "path": "mine/runningWater" - }, - { - "path": "mine/address" - }, - { - "path": "product/productDetail" - }, - { - "path": "order/refundsOrExchange" - }, + "pages": [ { "path": "auth/wxLogin" }, @@ -57,43 +32,10 @@ "path": "auth/wxUserInfo" }, { - "path": "auth/loginAndRegisterAndForgetPassword" - }, - { - "path": "info/chooseArea" - }, - { - "path": "info/isAdult" - }, - { - "path": "info/fillInfo" - }, - { - "path": "info/greet" - }, - { - "path": "info/startTest" - }, - { - "path": "info/infoPages" - }, - { - "path": "info/appointDate" - }, - { - "path" : "info/feedback" - }, - { - "path" : "info/start" - }, - { - "path" : "info/experience" - }, - { - "path" : "info/comment" + "path" : "info/appoint" }, { - "path" : "info/appoint" + "path" : "info/fillInfo" } ] }], diff --git a/pages/index/article.vue b/pages/index/article.vue new file mode 100644 index 0000000..93fc960 --- /dev/null +++ b/pages/index/article.vue @@ -0,0 +1,78 @@ + + + + + \ No newline at end of file diff --git a/pages/index/center.vue b/pages/index/center.vue deleted file mode 100644 index bb528c3..0000000 --- a/pages/index/center.vue +++ /dev/null @@ -1,420 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/index/greet.vue b/pages/index/greet.vue deleted file mode 100644 index 4ff591f..0000000 --- a/pages/index/greet.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/index/home.vue b/pages/index/home.vue index e5ac677..9c46004 100644 --- a/pages/index/home.vue +++ b/pages/index/home.vue @@ -1,37 +1,154 @@ diff --git a/pages/index/index.vue b/pages/index/index.vue index dc9e069..9853519 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,412 +1,57 @@ - + \ No newline at end of file diff --git a/pages/index/reservationSuccess.vue b/pages/index/reservationSuccess.vue new file mode 100644 index 0000000..46bfa65 --- /dev/null +++ b/pages/index/reservationSuccess.vue @@ -0,0 +1,74 @@ + + + + + \ No newline at end of file diff --git a/pages_order/auth/wxLogin.vue b/pages_order/auth/wxLogin.vue index 0b21dc6..83bd15e 100644 --- a/pages_order/auth/wxLogin.vue +++ b/pages_order/auth/wxLogin.vue @@ -1,11 +1,11 @@ \ No newline at end of file diff --git a/pages_order/info/appointDate.vue b/pages_order/info/appointDate.vue index 02dde70..21bb338 100644 --- a/pages_order/info/appointDate.vue +++ b/pages_order/info/appointDate.vue @@ -31,7 +31,7 @@ 先生 - + 先生 diff --git a/pages_order/info/chooseArea.vue b/pages_order/info/chooseArea.vue index 81602eb..4b13e90 100644 --- a/pages_order/info/chooseArea.vue +++ b/pages_order/info/chooseArea.vue @@ -1,5 +1,10 @@