消息物流跳转
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
</view>
|
||||
<view class="xiantiao"></view>
|
||||
<view class="title">{{item.title}}</view>
|
||||
<view class="images_about" @click="viewLogistics(item.order_id)">
|
||||
<view class="images_about" @click="viewLogistics(item)">
|
||||
<image :src="item.picture"></image>
|
||||
<view>
|
||||
<text>{{item.summary}}</text>
|
||||
@@ -41,9 +41,15 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
viewLogistics(id) {
|
||||
this.$u.route('/pageE/order/Logistics', {
|
||||
oid: id,
|
||||
viewLogistics(item) {
|
||||
let url;
|
||||
if(item.takeawayer_phone) {
|
||||
url = '/pageE/order/Details';
|
||||
} else {
|
||||
url = '/pageE/order/Logistics';
|
||||
}
|
||||
this.$u.route(url, {
|
||||
oid: item.order_id,
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user