消息物流跳转

This commit is contained in:
2020-08-21 14:48:19 +08:00
parent 5806077877
commit 7f30cf8020
2 changed files with 12 additions and 7 deletions

View File

@@ -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,
});
}
},