feat(M08-A): 接入顾客端权益明细
This commit is contained in:
@@ -36,6 +36,10 @@ Page({
|
||||
openRecharge() {
|
||||
wx.navigateTo({ url: '/pages/recharge/index' })
|
||||
},
|
||||
|
||||
openBenefits() {
|
||||
wx.navigateTo({ url: '/pages/benefits/index' })
|
||||
},
|
||||
})
|
||||
|
||||
function formatProfile(profile) {
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
<text>套餐余额</text>
|
||||
<text>{{profile.benefits.packageAmountText}}</text>
|
||||
</view>
|
||||
<button bindtap="openBenefits">查看权益明细</button>
|
||||
</view>
|
||||
|
||||
<view wx:if="{{profile}}" class="card">
|
||||
|
||||
Reference in New Issue
Block a user