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
235b56c3
Commit
235b56c3
authored
Aug 30, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: goHome
parent
592ac943
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
userCenter.js
src/pages/userCenter/userCenter.js
+3
-0
userCenter.wxml
src/pages/userCenter/userCenter.wxml
+4
-0
userCenter.wxss
src/pages/userCenter/userCenter.wxss
+10
-0
No files found.
src/pages/userCenter/userCenter.js
View file @
235b56c3
...
@@ -211,6 +211,9 @@ wxService.page({
...
@@ -211,6 +211,9 @@ wxService.page({
wx
.
hideLoading
()
wx
.
hideLoading
()
})
})
},
},
handelGoHome
()
{
wxService
.
router
(
'/pages/userCenter/userCenter'
).
replace
()
},
// 获取plus购买信息
// 获取plus购买信息
getPlusPurchase
()
{
getPlusPurchase
()
{
wxService
.
get
(
`/sale/premium/query`
).
then
(
res
=>
{
wxService
.
get
(
`/sale/premium/query`
).
then
(
res
=>
{
...
...
src/pages/userCenter/userCenter.wxml
View file @
235b56c3
...
@@ -30,6 +30,10 @@
...
@@ -30,6 +30,10 @@
<plus sku-list="{{skuVOList}}" plus-bgi="{{pItem.plus}}"/>
<plus sku-list="{{skuVOList}}" plus-bgi="{{pItem.plus}}"/>
</view>
</view>
</block>
</block>
<!--goHome-->
<view class="bottom-img" bindtap="handelGoHome">
<image class="img-top" mode="widthFix" src="/assets/imgs/7_1_0/go-top.png" bindtap="goTop"></image>
</view>
</view>
</view>
<authorization-modal isAuthorization='{{isAuthorization}}' />
<authorization-modal isAuthorization='{{isAuthorization}}' />
<guide-page-modal show="{{guidePageModalShow}}" />
<guide-page-modal show="{{guidePageModalShow}}" />
...
...
src/pages/userCenter/userCenter.wxss
View file @
235b56c3
...
@@ -57,3 +57,12 @@
...
@@ -57,3 +57,12 @@
font-family: PingFangSC-Regular;
font-family: PingFangSC-Regular;
padding-left: 10rpx;
padding-left: 10rpx;
}
}
.bottom-img{
position: fixed;
bottom: 143rpx;
right: 30rpx;
}
.bottom-img .img-top {
width: 85rpx;
height: 85rpx;
}
\ No newline at end of file
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