调整实物h5-5/6-wuliupupup

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

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