Commit 235b56c3 by 高淑倩

add: goHome

parent 592ac943
......@@ -211,6 +211,9 @@ wxService.page({
wx.hideLoading()
})
},
handelGoHome() {
wxService.router('/pages/userCenter/userCenter').replace()
},
// 获取plus购买信息
getPlusPurchase() {
wxService.get(`/sale/premium/query`).then(res => {
......
......@@ -30,6 +30,10 @@
<plus sku-list="{{skuVOList}}" plus-bgi="{{pItem.plus}}"/>
</view>
</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>
<authorization-modal isAuthorization='{{isAuthorization}}' />
<guide-page-modal show="{{guidePageModalShow}}" />
......
......@@ -56,4 +56,13 @@
text-align: left;
font-family: PingFangSC-Regular;
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