调整实物h5-5/6-wuliupupup

master
游梦婷 2 years ago
parent 70e6143b5d
commit 6f8c51fb89
  1. 47
      physical-merchants/classify/order/wuliuPupup/wuliuPupup.vue

@ -1,8 +1,8 @@
<template>
<wybPopup ref="popup" type="bottom" width="500" height="500" :scrollY="true" radius="0" :showCloseIcon="true">
<wybPopup ref="popup" zIndex="999" type="bottom" width="500" height="500" :scrollY="true" radius="0" :showCloseIcon="true">
<view class="pd-main wuliupop backcor9">
<view class="pop-title fontwig6 backcor9"><text>物流信息</text></view>
<view class="pd-main backcolorfff border-8r font14" @touchmove.stop>
<view class="pop-title fontwig6"><text>物流信息</text></view>
<view class="pd-main backcolorfff border-8r font14">
<view class="dis-flex flex-sp mart10 marb10 paddbotm10 border-b">
<view class="dis-flex">
<!-- <image class="wuliu-img" src="https://pic.616pic.com/ys_bnew_img/00/07/04/1ZtrvD1AMY.jpg" mode="aspectFill"></image> -->
@ -135,7 +135,18 @@
trackNode
},
created(){
// this.tracesData=dataList.data;
// this.tracesData.logisticsTraceDetails=this.tracesData.logisticsTraceDetails.sort((item,item2)=>{
// if(item.logisticsStatus == 'TRANSPORT'){
// item.isMainNode=false;
// }else{
// item.isMainNode=true;
// }
// return item2.time - item.time;
// })
},
methods:{
show(logisticsNo){
@ -167,11 +178,9 @@
}else{
item.isMainNode=true;
}
return item2.time - item.time;
})
/* */
let mobile = /(1[0-9]{10})|([0-9]{3,4})?[0-9]{7,8}/g; //
let phone = [];
this.tracesData.logisticsTraceDetails.map(item=>{
@ -186,9 +195,8 @@
this.phoneNumber =phone.flat(Infinity);
// console.log(this.phoneNumber, phone)
} else {
/* */
}else{
uni.showToast({
title: res.return_msg,
icon: 'none',
@ -223,7 +231,24 @@
},
//
callPhone(){
// uni.showModal({
// title: '',
// content: '4006780738',
// success: function(res) {
// if (res.confirm) {
// uni.makePhoneCall({
// phoneNumber: '4006780738', //
// success: function(e) {
// console.log(e);
// },
// fail: function(e) {
// console.log(e);
// }
// })
// }
// }
// })
if(this.phoneNumber.length==0){
uni.showToast({
title:"暂无可拨打电话号码",
@ -258,8 +283,6 @@
}
});
},
@ -290,7 +313,7 @@
top:0;
left: 0;
right: 0;
z-index: 10;
z-index: 999;
background-color: #f6f6f6;
}
</style>
Loading…
Cancel
Save