Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
2a1c24ae
Commit
2a1c24ae
authored
May 24, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into feature-zyw
# Conflicts: # src/project.config.json
parents
99ef2f6e
2ec7b8e0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
35 deletions
+14
-35
project.config.json
src/project.config.json
+9
-32
wxService.js
src/utils/wxService.js
+5
-3
No files found.
src/project.config.json
View file @
2a1c24ae
...
...
@@ -37,7 +37,7 @@
"list"
:
[]
},
"miniprogram"
:
{
"current"
:
1
1
,
"current"
:
-
1
,
"list"
:
[
{
"id"
:
-1
,
...
...
@@ -53,49 +53,31 @@
},
{
"id"
:
-1
,
"name"
:
"会员规则"
,
"pathName"
:
"pages/memberRules/memberRules"
,
"query"
:
""
},
{
"id"
:
-1
,
"name"
:
"消费详情"
,
"pathName"
:
"pages/consumptionDetails/consumptionDetails"
,
"query"
:
""
},
{
"id"
:
-1
,
"name"
:
"
积分流水
"
,
"id"
:
6
,
"name"
:
"
券码详情页
"
,
"pathName"
:
"pages/couponDetail/couponDetail"
,
"query"
:
""
},
{
"id"
:
-1
,
"name"
:
"积分流水"
,
"pathName"
:
"pages/consumptionDetails/consumptionDetails"
,
"query"
:
""
},
{
"id"
:
-1
,
"name"
:
"积分流水"
,
"pathName"
:
"pages/couponDetail/couponDetail"
,
"query"
:
""
},
{
"id"
:
-1
,
"name"
:
"积分流水"
,
"id"
:
7
,
"name"
:
"会员规则"
,
"pathName"
:
"pages/memberRules/memberRules"
,
"query"
:
""
},
{
"id"
:
-1
,
"name"
:
"积分
流水
"
,
"id"
:
8
,
"name"
:
"积分
商城
"
,
"pathName"
:
"pages/IntegralMall/IntegralMall"
,
"query"
:
""
},
{
"id"
:
-1
,
"name"
:
"积分
流水
"
,
"id"
:
9
,
"name"
:
"积分
兑换详情页
"
,
"pathName"
:
"pages/integralMallDetail/integralMallDetail"
,
"query"
:
""
},
...
...
@@ -104,11 +86,6 @@
"name"
:
"welvcom"
,
"pathName"
:
"pages/welcome/welcome"
,
"query"
:
""
},
{
"id"
:
-1
,
"name"
:
"消费"
,
"pathName"
:
"pages/mySpend/mySpend"
}
]
}
...
...
src/utils/wxService.js
View file @
2a1c24ae
...
...
@@ -300,12 +300,14 @@ class WXService extends Http {
const
{
sr
}
=
this
.
getApp
()
const
CONFIG_PAPGE
=
{
onLoad
:
function
(...
args
)
{
// const app = _self.getApp()
const
page
=
this
_self
.
initAppGlobalDataSync
()
config
.
onLoad
&&
config
.
onLoad
.
apply
(
page
,
args
)
},
onShow
:
function
(...
args
)
{
const
page
=
this
_self
.
currentPage
=
page
config
.
onShow
&&
config
.
onShow
.
apply
(
page
,
args
)
},
onReady
:
function
(...
args
)
{
...
...
@@ -313,7 +315,7 @@ class WXService extends Http {
},
onHide
:
function
(...
args
)
{
const
page
=
this
config
.
onHide
&&
config
.
onHide
.
apply
(
this
,
args
)
},
onUnload
:
function
(...
args
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment