订单评价, WIP
This commit is contained in:
@ -277,6 +277,12 @@ Page({
|
||||
|
||||
},
|
||||
|
||||
// 评价订单
|
||||
rate(e){
|
||||
wx.navigateTo({
|
||||
url: '/pages/rate/rate',
|
||||
})
|
||||
},
|
||||
// 删除订单
|
||||
del(e) {
|
||||
let orderId = this.data.goods.id
|
||||
|
||||
@ -148,6 +148,7 @@
|
||||
<view class="btn" wx:if="{{goods.status==5||goods.status==4}}" catchtap="del">删除订单</view>
|
||||
<view class="btn" wx:if="{{goods.status==3}}" data-item='{{goods}}' data-logistics-num='{{goods.logisticsNum}}' data-logistics-name="{{goods.logisticsName}}" catchtap="viewLogisticsDetails">物流查询</view>
|
||||
<view class="btn btn-red" catchtap="confirm" wx:if="{{goods.status==3}}">确认收货</view>
|
||||
<view class="btn btn-red" catchtap="rate" wx:if="{{goods.status==4}}">评价</view>
|
||||
</view>
|
||||
|
||||
<!-- 待支付 -->
|
||||
|
||||
Reference in New Issue
Block a user