...
|
...
|
@@ -2,40 +2,39 @@ |
|
|
<div class="logistic-page yoho-page">
|
|
|
<div class="overview">
|
|
|
<div class="left" >
|
|
|
<a href="{{logisticUrl}}"><img class="icon" src="{{logisticImg}}" /></a>
|
|
|
<a href="{{logisticDate.url}}"><img class="icon" src="{{logisticDate.logo}}" /></a>
|
|
|
</div>
|
|
|
<div class="right">
|
|
|
<div>
|
|
|
<span class='info'>物流公司:</span>
|
|
|
<span >{{logisticCompany}}</span>
|
|
|
<span >{{logisticDate.caption}}</span>
|
|
|
</div>
|
|
|
<div>
|
|
|
<span class='info'>快递单号:</span>
|
|
|
<span>{{logisticNumber}}</span>
|
|
|
<span>{{logisticDate.express_number}}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!--end overview-->
|
|
|
|
|
|
<div class="title">
|
|
|
<span>物流详情</span>
|
|
|
</div>
|
|
|
|
|
|
<div class="detail">
|
|
|
{{# logisticDetail}}
|
|
|
<div class="timeline-box ">
|
|
|
<div class="timeline-box" v-for="(index, detail) in logisticDate.express_detail">
|
|
|
<span class="timeline-node"></span>
|
|
|
<div class="timeline-info">
|
|
|
<div class="timeline-info-row">
|
|
|
{{status}}
|
|
|
{{detail.accept_address}}
|
|
|
</div>
|
|
|
<div class="timeline-info-row">
|
|
|
{{date}}
|
|
|
{{detail.acceptTime}}
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
{{/ logisticDetail}}
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!--end detail-->
|
|
|
|
|
|
</div><!--end logistic-page-->
|
|
|
</template>
|
|
|
|
|
|
<style>
|
...
|
...
|
@@ -156,7 +155,36 @@ $border_color_light: #eee; |
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
const $ = require('yoho-jquery');
|
|
|
const tip = require('common/tip');
|
|
|
|
|
|
module.exports = {
|
|
|
props: [],
|
|
|
data() {
|
|
|
return {
|
|
|
logisticDate: []
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
getLogisticDate() {
|
|
|
let data = {
|
|
|
orderCode: '1609827614'
|
|
|
};
|
|
|
|
|
|
$.ajax({
|
|
|
url: '/home/get-order-logistic-date',
|
|
|
data: data
|
|
|
}).then(result => {
|
|
|
this.logisticDate = result;
|
|
|
}).fail(() => {
|
|
|
tip('网络错误');
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
this.getLogisticDate();
|
|
|
}
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
|
...
|
...
|
|