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
89894e1f
Commit
89894e1f
authored
Aug 19, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-zyw-sc' into 'dev_7.1.0'
Feature zyw sc See merge request
!71
parents
46455f81
ac094481
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
14 deletions
+12
-14
cart.js
src/pages/cart/cart.js
+8
-10
project.config.json
src/project.config.json
+4
-4
No files found.
src/pages/cart/cart.js
View file @
89894e1f
...
...
@@ -36,7 +36,14 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad
:
function
(
options
)
{
wxService
.
getSystemInfo
().
then
(
res
=>
{
const
{
statusBarHeight
}
=
res
const
{
currentHeight
,
currentMarginTop
,
currentPaddingTop
}
=
this
.
data
this
.
setData
({
currentHeight
:
currentHeight
+
statusBarHeight
,
})
})
console
.
log
(
this
.
data
.
currentHeight
)
},
/**
...
...
@@ -49,15 +56,6 @@ wxService.page({
selected
:
2
})
}
wxService
.
getSystemInfo
().
then
(
res
=>
{
const
{
statusBarHeight
}
=
res
const
{
currentHeight
,
currentMarginTop
,
currentPaddingTop
}
=
this
.
data
this
.
setData
({
currentHeight
:
currentHeight
+
statusBarHeight
,
})
})
console
.
log
(
this
.
data
.
currentHeight
)
},
//选择商品
...
...
src/project.config.json
View file @
89894e1f
...
...
@@ -262,10 +262,10 @@
"id"
:
-1
,
"name"
:
"分享"
,
"pathName"
:
"subPackage/page/pages/share/share"
,
"query"
:
""
,
"scene"
:
null
},
{
"query"
:
""
,
"scene"
:
null
},
{
"id"
:
33
,
"name"
:
"支付状态"
,
"pathName"
:
"subPackage/page/pages/paymentStatus/paymentStatus"
,
...
...
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