Commit 235b56c3 by 高淑倩

add: goHome

parent 592ac943
...@@ -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 => {
......
...@@ -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}}" />
......
...@@ -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
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