feat(M08-A): 接入顾客端充值入口
This commit is contained in:
@@ -32,6 +32,10 @@ Page({
|
||||
openOrders() {
|
||||
wx.navigateTo({ url: '/pages/orders/list' })
|
||||
},
|
||||
|
||||
openRecharge() {
|
||||
wx.navigateTo({ url: '/pages/recharge/index' })
|
||||
},
|
||||
})
|
||||
|
||||
function formatProfile(profile) {
|
||||
|
||||
@@ -70,6 +70,7 @@
|
||||
<text>已消费</text>
|
||||
<text>{{profile.orders.paidAmountText}}</text>
|
||||
</view>
|
||||
<button bindtap="openRecharge">充值</button>
|
||||
<button bindtap="openOrders">查看订单</button>
|
||||
</view>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user