Commit 2a1c24ae by 赵雅纹

Merge branch 'dev' into feature-zyw

# Conflicts:
#	src/project.config.json
parents 99ef2f6e 2ec7b8e0
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
"list": [] "list": []
}, },
"miniprogram": { "miniprogram": {
"current": 11, "current": -1,
"list": [ "list": [
{ {
"id": -1, "id": -1,
...@@ -53,49 +53,31 @@ ...@@ -53,49 +53,31 @@
}, },
{ {
"id": -1, "id": -1,
"name": "会员规则",
"pathName": "pages/memberRules/memberRules",
"query": ""
},
{
"id": -1,
"name": "消费详情", "name": "消费详情",
"pathName": "pages/consumptionDetails/consumptionDetails", "pathName": "pages/consumptionDetails/consumptionDetails",
"query": "" "query": ""
}, },
{ {
"id": -1, "id": 6,
"name": "积分流水", "name": "券码详情页",
"pathName": "pages/couponDetail/couponDetail", "pathName": "pages/couponDetail/couponDetail",
"query": "" "query": ""
}, },
{ {
"id": -1, "id": 7,
"name": "积分流水", "name": "会员规则",
"pathName": "pages/consumptionDetails/consumptionDetails",
"query": ""
},
{
"id": -1,
"name": "积分流水",
"pathName": "pages/couponDetail/couponDetail",
"query": ""
},
{
"id": -1,
"name": "积分流水",
"pathName": "pages/memberRules/memberRules", "pathName": "pages/memberRules/memberRules",
"query": "" "query": ""
}, },
{ {
"id": -1, "id": 8,
"name": "积分流水", "name": "积分商城",
"pathName": "pages/IntegralMall/IntegralMall", "pathName": "pages/IntegralMall/IntegralMall",
"query": "" "query": ""
}, },
{ {
"id": -1, "id": 9,
"name": "积分流水", "name": "积分兑换详情页",
"pathName": "pages/integralMallDetail/integralMallDetail", "pathName": "pages/integralMallDetail/integralMallDetail",
"query": "" "query": ""
}, },
...@@ -104,11 +86,6 @@ ...@@ -104,11 +86,6 @@
"name": "welvcom", "name": "welvcom",
"pathName": "pages/welcome/welcome", "pathName": "pages/welcome/welcome",
"query": "" "query": ""
},
{
"id": -1,
"name": "消费",
"pathName": "pages/mySpend/mySpend"
} }
] ]
} }
......
...@@ -300,20 +300,22 @@ class WXService extends Http { ...@@ -300,20 +300,22 @@ class WXService extends Http {
const { sr } = this.getApp() const { sr } = this.getApp()
const CONFIG_PAPGE = { const CONFIG_PAPGE = {
onLoad: function (...args) { onLoad: function (...args) {
// const app = _self.getApp()
const page = this const page = this
_self.initAppGlobalDataSync()
config.onLoad && config.onLoad.apply(page, args)
}, },
onShow: function (...args) { onShow: function (...args) {
const page = this const page = this
_self.currentPage = page
config.onShow && config.onShow.apply(page, args)
}, },
onReady: function (...args) { onReady: function (...args) {
config.onReady && config.onReady.apply(this, args) config.onReady && config.onReady.apply(this, args)
}, },
onHide: function (...args) { onHide: function (...args) {
const page = this const page = this
config.onHide && config.onHide.apply(this, args)
}, },
onUnload: function (...args) { onUnload: function (...args) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment