1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["order-page-visa-order-detail-index"],{1212:function(e,t,r){var i=r("5373");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=r("967d").default;o("6092c501",i,!0,{sourceMap:!1,shadowMode:!1})},"43da":function(e,t,r){"use strict";r("6a54");var i=r("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r("bf0f"),r("2797"),r("fd3c"),r("aa9c"),r("d4b5"),r("f7a5"),r("64aa"),r("5c47"),r("2c10");var o=i(r("5de6")),a=i(r("b7c7")),n=i(r("2634")),d=i(r("2fdc")),s=i(r("39d8")),c=i(r("dae0")),l=i(r("44ca")),u=i(r("34cae")),f=i(r("495e")),p=i(r("8c27")),g=r("9d0a"),h=r("419c"),b=r("815c"),v=i(r("fc1b")),m=(i(r("ae59")),r("d240")),w=i(r("dc1f")),_=(r("262c"),r("3137")),x=r("e0a2"),y={components:{PaySelectModal:u.default,CenterModal:f.default,loading:p.default,CustomMap:v.default},mixins:[w.default,c.default,l.default],data:function(){var e;return{orderId:0,from:"",order_type:"takeout",orderInfo:(e={ordersn:"",serialSn:"",status:0,isPay:0,isComment:0,statusTips:"",products:[],totalFee:0,finalFee:0,discountFee:0,boxPrice:0,deliveryPrice:0,packingPirce:0,orderType:0,zitiType:0,deliveryDay:"",deliveryTime:"",username:"",sex:"",mobile:"",address:"",payTypeCn:"",spellrice_serial_sn:"",is_spellrice:0,note:""},(0,s.default)(e,"deliveryPrice",0),(0,s.default)(e,"pack_fee",0),(0,s.default)(e,"price",0),(0,s.default)(e,"batch_result",{}),(0,s.default)(e,"lock_status",0),(0,s.default)(e,"lock_result",{}),(0,s.default)(e,"qrcode",""),(0,s.default)(e,"person_num",0),e),storeInfo:{logo:"",id:"",title:"",address:"",mobile:"",cn:{},pageShowType:2,is_haodian:0},special_delivery_status:"",activityed:[],showPaySelectModal:!1,loadingShow:!1,mapInfo:{fromCoordinate:{},toCoordinate:{},centerCoordinate:{},polyline:[],minutes:0,delivery_status:!1},order_images:[],priceDiffGoodsTmp:{},qrcode_box_show:!1,order_qrcode:"",open_lock_string:"",priceDifferencePopup:!1,showHelibaoAlipayImageModel:!1,helibaoAlipayPayUrl:"",is_need_websocket_connect:!1,websocket_is_connected:!1,type:"once",send_platform:"",showNum:!1,showMore:!1,button:[{text:"取消",backgroundColor:"#E6E6E6",fontColor:"#000",plain:!0,shape:"round"},{text:"确定",backgroundColor:"#ffca28",fontColor:"#000"}],showCode:!1,showImg:!1,serial_sn_text:"取餐码",is_finishMeal:0,delivery_title:"配送",orderStatusList:[],bottomPopupShow:!1,imageSet:[],bottomSortRecordPopupShow:!1,sortRecordList:[],showSpellRiceBox:!1,spellRiceInfo:[],shareParams:null,projectImg:""}},computed:{},onLoad:function(e){var t=this;return(0,d.default)((0,n.default)().mark((function r(){return(0,n.default)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(t.orderId=(null===e||void 0===e?void 0:e.order_sn)||0,t.orderId){r.next=3;break}return r.abrupt("return",(0,g.showToast)({title:"缺少参数"}));case 3:t.getOrderDetailData();case 4:case"end":return r.stop()}}),r)})))()},onShow:function(){this.getOrderDetailData()},onPullDownRefresh:function(){this.getOrderDetailData()},methods:{goto:function(e){(0,h.navPage)("/SP/informationWP?sn=".concat(e))},orderNotice:function(){orderNoticeApi({order_id:this.orderId}).then((function(e){console.log(e)}))},payPriceDiff:function(e){e.index?(this.orderId=this.priceDiffGoodsTmp.op_id,this.order_type="priceDiff",this.showPaySelectModal=!0,this.priceDifferencePopup=!1):this.priceDifferencePopup=!1},payPriceDiffShow:function(e){this.priceDifferencePopup=!0,this.priceDiffGoodsTmp=e},getQrcode:function(){var e=this;this.showCode=!0;setTimeout((function(){e.showImg=!0}),290)},closeCode:function(e){console.log(e,"ddadad"),this.showImg=!1,this.showCode=!1},codeUpdata:function(e){var t=e,r=t.split(","),i="";if(this.showNum)i+=r[0];else for(var o=0;o<r.length;o++)i+=r[o],(o+1)%3===0?i+=",\n":o+1!=r.length&&(i+=",");return console.log(i),i},numCl:function(e){var t=e.split(",");t.length>1&&(this.showNum=!0)},modalMore:function(e){console.log(e),this.showMore=!1},reconnect:function(){var e=x.LOCK_WEBSOCKET_URL;uni.connectSocket({url:e,success:function(e){console.log("WebSocket连接创建成功!",e)},fail:function(e){uni.showModal({title:"提示",content:"连接失败,请退出重新进入",showCancel:!1})}})},payOrderEvent:function(){this.showPaySelectModal=!0},handlePaySuccessEvent:function(){this.orderId=this.orderInfo.id,this.showPaySelectModal=!1,this.getOrderDetailData()},handlePayFailEvent:function(){this.orderId=this.orderInfo.id,this.showPaySelectModal=!1},handlePayCancelEvent:function(){this.orderId=this.orderInfo.id},confirmHelibaoAlipayEvent:function(e){this.helibaoAlipayPayUrl=e,this.showHelibaoAlipayImageModel=!0},getOrderDetailData:function(){var e=this;this.loadingShow=!0,(0,m.getVisaOrderDetailApi)({sn:this.orderId}).then((function(t){var r,i;e.orderInfo=t,e.projectImg=null!==(r=null===t||void 0===t||null===(i=t.product)||void 0===i?void 0:i.product_img)&&void 0!==r?r:""})).catch((function(e){console.error("[order-detail]订单详情获取失败",e),(0,g.showToast)({title:e.msg}),(0,h.navBack)()})).finally((function(){e.loadingShow=!1})),console.log("订单信息",this.orderInfo)},handleOrderStatusTipsInfo:function(e,t){1===e.is_spellrice&&(this.orderInfo.statusTips="该订单为拼饭订单"),7!==e.delivery_status&&t&&(this.orderInfo.statusTips=t.note||""),e.status>=2&&e.status<5&&1===e.order_type&&(this.orderInfo.statusTips="配送时间:".concat(e.delivery_time))},callStore:function(){(0,b.callPhone)(this.storeInfo.mobile)},callDeliveryer:function(){(0,b.callPhone)(this.orderInfo.deliveryer.mobile)},handleBeforeNavBack:function(){return!0},getMapPath:function(e){var t=this,r=e.store,i=r.location_x,o=r.location_y,n=e.user,d=n.location_x,s=n.location_y;getOrderMapPathApi(e).then((function(e){var r=null===e||void 0===e?void 0:e.paths[0],n=r.steps,c=void 0===n?[]:n,l=[];c.forEach((function(e){var t=e.polyline,r=t.split(";").map((function(e){var t=e.split(",");return{latitude:(+t[1]).toFixed(5),longitude:(+t[0]).toFixed(5)}}));l.push.apply(l,(0,a.default)(r))})),t.mapInfo={fromCoordinate:{latitude:+i,longitude:+o},toCoordinate:{latitude:+d,longitude:+s},centerCoordinate:l[0],polyline:l,minutes:e.minutes,delivery_status:e.delivery_status},console.log(t.mapInfo)}))},refundOrder:function(){uni.showModal({title:"提示",content:"由于下单后商户已开始做餐,请电话联系商家取消订单!如沟通不成,请联系平台客服。",showCancel:!1})},previewImage:function(e,t){uni.previewImage({current:t,urls:e})},callPhone:function(e){uni.makePhoneCall({phoneNumber:e})},copyToClipBoard:b.copyToClipBoard,openLock:function(){var e=this;e.loadingShow=!0,e.websocket_is_connected?uni.showModal({title:"提示",content:"请确认是否开柜",success:function(t){t.confirm&&getChannelApi(e.orderInfo.id).then((function(t){console.log("res",t),e.orderInfo.lock_result.order_sn=t.data.order_sn,e.orderInfo.lock_result.channel_id=t.data.channel_id,e.orderInfo.lock_result.device_sn=t.data.device_sn,e.orderInfo.lock_result.lock_id=t.data.lock_id,e.orderInfo.lock_result.channel=t.data.channel,e.orderInfo.lock_result.ccid=t.data.ccid,e.orderInfo.lock_result.panelId=t.data.panelId,e.sendOpenLockCommand()}))}}):uni.showModal({title:"提示",content:"连接已关闭,请退出重新进入",showCancel:!1})},sendOpenLockCommand:function(){var e={userClient:"user",type:"unlockChannel",method:"order_sn",ccid:this.orderInfo.lock_result.ccid,lock_id:this.orderInfo.lock_result.id,channel:this.orderInfo.lock_result.channel,panelId:this.orderInfo.lock_result.panelId,order_sn:this.orderInfo.lock_result.order_sn,channel_id:this.orderInfo.lock_result.channel_id,device_sn:this.orderInfo.lock_result.device_sn},t=JSON.stringify(e);this.open_lock_string=t,uni.sendSocketMessage({data:t})},openQrcode:function(e){this.order_qrcode=e,this.qrcode_box_show=!0},expansion_close:function(){this.qrcode_box_show=!1},cancelOrder:function(e,t,r,i){var o=this;1!=i?0!=this.orderInfo.isPay?1==this.orderInfo.consumer_is_can_applyrefund?uni.showModal({title:"提示",content:"确认需要取消订单吗?",showCancel:!0,success:function(t){t.confirm&&(0,h.navPage)("/order-page/takeout-order-refund/index?id="+e+"&type="+o.type)}}):uni.showToast({title:"由于下单后商户已开始做餐,请电话联系商家取消订单!如沟通不成,请联系平台客服。",icon:"none",duration:2e3}):uni.showModal({title:"提示",content:"订单未支付,是否确认取消订单?",success:function(r){r.confirm&&cancelOrderApi({id:e}).then((function(e){(0,g.showToast)({title:"取消订单成功"}),t&&t()})).catch((function(e){(0,g.showToast)({title:e.msg})}))}}):uni.showToast({title:"订单退款申请中,请耐心等候",icon:"none",duration:2e3})},toStore:function(e,t){1==this.storeInfo.is_haodian?(0,h.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid="+e):2==this.storeInfo.is_haodian&&this.storeInfo.custom_links?(0,h.navPage)(this.storeInfo.custom_links):(this.storeInfo.pageShowType,(0,h.navPage)("/store-page/product-showcase/template-1?sid="+e+"&table_id="+t+"&is_scan=1"))},getOrderStatusList:function(){var e=this;orderStatusListApi(this.orderId).then((function(t){e.orderStatusList=t,console.log("this.orderStatusList",e.orderStatusList)}))},showBottomPopupShow:function(){this.bottomPopupShow=!0},toRecord:function(e){if(e.is_pickup||e.is_delivery){var t=e.is_pickup?"pickup":"delivery",r=e.express_type,i=e.waybillno;(0,h.navPage)("record?order_id="+this.orderId+"&type="+t+"&express_type="+r+"&waybillno="+i)}else uni.showToast({title:"该状态无法查询物流信息",icon:"none",duration:2e3})},searchSortRecord:function(){this.bottomSortRecordPopupShow=!0},previewSortImage:function(e){var t=e.images.map((function(e){return e}));uni.previewImage({current:0,urls:t})},countDown:function(){var e=this;this.timer=setInterval((function(){e.handleFormatTime()}),1e3)},handleFormatTime:function(){var e=1e3*this.spellRiceInfo.spellrice_end_time,t=(new Date).getTime(),r=e-t;if(r<=0)clearInterval(this.timer);else{var i=Math.floor(r/36e5),o=Math.floor(r%36e5/6e4),a=Math.floor(r%6e4/1e3);this.spellRiceInfo.hour=i<10?"0"+i:i,this.spellRiceInfo.minute=o<10?"0"+o:o,this.spellRiceInfo.second=a<10?"0"+a:a}},shareSpellRice:function(){(0,h.navPage)("/plugin-page/eatmerge/index")},rereminderOrderApi:function(){var e=this,t={order_id:this.orderInfo.id};(0,_.reminderOrderEventApi)(t).then((function(t){t.data?(uni.showToast({icon:"none",title:"已为您催促配送"}),e.getOrderStatusList()):uni.showToast({icon:"none",title:"系统繁忙,请稍后重试"})}))},reminderOrderEvent:function(){var e=this.orderInfo.deliveryTime,t=this.extractFirstTime(e);console.log(t);var r=this.isTimeOutOfRange(t);if(console.log(r),r){for(var i="",o=0;o<this.orderStatusList.length;o++){var a=this.orderStatusList[o].info.slice(-2);if("催单"===a){i=this.orderStatusList[o].time;break}}if(""!=i){var n=this.isIntervalTime(i,10);n?uni.showToast({icon:"none",title:"请勿频繁催单"}):this.rereminderOrderApi()}else this.rereminderOrderApi()}else uni.showToast({icon:"none",title:"正常时效无须催促"})},isTimeOutOfRange:function(e){var t=new Date,r=t.getHours(),i=t.getMinutes(),a=e.split(":").map(Number),n=(0,o.default)(a,2),d=n[0],s=n[1],c=60*r+i,l=60*d+s;return c>l},isIntervalTime:function(e,t){var r=new Date(e),i=new Date,o=new Date(r.getTime()+60*t*1e3);return o>i},extractFirstTime:function(e){var t=e.match(/(\d{1,2}:\d{2})(?:[~-]\d{1,2}:\d{2})?/);return t&&t[1]?t[1]:null}},onShareAppMessage:function(){if(this.shareParams)return this.shareParams}};t.default=y},5373:function(e,t,r){var i=r("c86c");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.wrapper[data-v-3abd711c]{height:100vh;padding:%?30?%}.wrapper .more-qcm[data-v-3abd711c]{display:flex;flex-wrap:wrap}.wrapper .top-bg[data-v-3abd711c]{background-image:url(https://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/take-2.png);background-repeat:no-repeat;background-size:100% 100%;padding:%?30?%;margin-bottom:%?20?%;border-radius:%?20?%;min-height:%?240?%;background-color:#fff}.wrapper .top-bg .tip[data-v-3abd711c]{display:flex;flex-direction:column;justify-content:space-between}.wrapper .top-bg .tip .size[data-v-3abd711c]{font-size:%?55?%}.wrapper .top-bg .tip .nums[data-v-3abd711c]{padding:%?5?% %?15?%;background-color:#ffc929;border-radius:%?10?%;display:inline-block}.wrapper .top-bg .tip .qrCode-tip[data-v-3abd711c]{display:flex;align-items:center}.wrapper .top-bg .tip-qc[data-v-3abd711c]{margin-left:%?12?%;margin-bottom:%?10?%;background-color:#d70107;display:inline-block;color:#fff;width:%?92?%;text-align:center;line-height:%?42?%;height:%?45?%;font-size:%?22?%;border-radius:%?40?% %?40?% %?40?% 0}.custom-map[data-v-3abd711c]{width:100%}.customCallout .box[data-v-3abd711c]{display:flex;align-items:center;background:#fff;height:%?50?%;font-size:%?24?%;color:#333;font-weight:500;background-color:#fff;position:relative;background-color:initial;border-radius:%?10?%;overflow:hidden}.customCallout .box .type[data-v-3abd711c]{width:%?60?%;background-color:#2459ee;color:#fff;height:%?50?%;display:block;text-align:center;line-height:%?50?%}.customCallout .box .from[data-v-3abd711c],\n.customCallout .box .to[data-v-3abd711c]{height:%?50?%;padding:0 %?10?%;min-width:%?100?%;display:block;text-align:center;line-height:%?50?%;background:#fff;box-sizing:border-box;border-top-right-radius:%?10?%;border-bottom-right-radius:%?10?%;overflow:hidden}.customCallout .triangle[data-v-3abd711c]{margin:0 auto;height:6px;width:10px;display:block;margin-bottom:8px}.customCallout .dot[data-v-3abd711c]{border-radius:50%;width:%?36?%;height:%?36?%;background-color:#fff;display:flex;justify-content:center;align-items:center;box-shadow:0 6px 25px 0 rgba(0,0,0,.1);margin:%?10?% auto 0 auto}.customCallout .dot .dot-child[data-v-3abd711c]{border-radius:50%;width:%?22?%;height:%?22?%;background-color:#2459ee;display:block;margin:0 auto}.customCallout .box .status99[data-v-3abd711c]{background-color:#666}.customCallout .dot .dot-child.status99[data-v-3abd711c]{background-color:#666}\n/* 订单状态信息 start */.order-status[data-v-3abd711c]{border-radius:%?15?%;padding:%?30?%;background-color:#fff}.order-status .status-value[data-v-3abd711c]{font-size:%?42?%;font-weight:700;color:#ffca28}.order-status .status-tips[data-v-3abd711c]{margin-top:%?20?%;color:#aaa}.order-status .order-operation-btns[data-v-3abd711c]{margin-top:%?20?%}.order-status .order-operation-btns .btn[data-v-3abd711c]{padding:%?10?% %?16?%;border-radius:%?15?%}.order-status .order-operation-btns .btn + .btn[data-v-3abd711c]{margin-left:%?12?%}\n/* 订单状态信息 end */.lock[data-v-3abd711c]{background:#fff;border-radius:%?15?%;padding:%?16?%;margin-top:%?30?%;width:100%;padding:%?30?%;flex-direction:column}.lock .lock_item[data-v-3abd711c]{display:flex;margin-bottom:%?20?%}.lock .lock_item uni-text[data-v-3abd711c]{font-size:%?30?%}.lock .operation[data-v-3abd711c]{display:flex;flex-direction:column;justify-content:space-between}.lock .operation .button[data-v-3abd711c]{background:#ffca28;border-radius:%?15?%;color:#000;font-size:%?30?%;text-align:center;margin-bottom:%?20?%;font-weight:600;height:%?80?%;line-height:%?80?%}.lock .operation .description[data-v-3abd711c]{color:#aaa;font-size:%?24?%;text-align:center}.lock uni-text[data-v-3abd711c]{font-size:%?30?%}.deliveryer[data-v-3abd711c]{background:#fff;border-radius:%?15?%;padding:%?16?%;margin-top:%?30?%;width:100%}.deliveryer uni-image[data-v-3abd711c]{height:%?60?%;width:%?60?%;border-radius:%?10?%;display:block;margin-right:%?20?%}.deliveryer uni-text[data-v-3abd711c]{font-size:%?30?%}\n/* 商品价格信息 start */.product-price-info[data-v-3abd711c]{margin-top:%?40?%;width:100%;border-radius:%?15?%\n /* 商品信息 start */\n /* 商品信息 end */\n /* 价格信息 start */\n /* 价格信息 end */\n /* 优惠信息 start */\n /* 优惠信息 end */\n /* 总计价格 start */\n /* 总计价格 end */\n /* 致电商家 start */\n /* 致电商家 end */}.product-price-info .product-info[data-v-3abd711c]{padding:%?40?% %?30?%;border-radius:%?15?% %?15?% %?0?% %?0?%;background:radial-gradient(circle at left bottom,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 100% no-repeat,radial-gradient(circle at right bottom,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 100% no-repeat;border-bottom:%?1?% dashed #f3f2f7\n /* 商品列表 start */\n /* 商品列表 end */}.product-price-info .product-info .store-name[data-v-3abd711c]{font-size:%?30?%}.product-price-info .product-info .store-name .store-logo[data-v-3abd711c]{height:%?60?%;width:%?60?%;border-radius:%?6?%}.product-price-info .product-info .product-list .product-item[data-v-3abd711c]{border-radius:%?8?%;padding:%?20?%;display:flex}.product-price-info .product-info .product-list .product-item .item-image[data-v-3abd711c]{width:%?120?%;height:%?120?%;border-radius:%?8?%}.product-price-info .product-info .product-list .product-item .item-info[data-v-3abd711c]{flex:1;padding-left:%?20?%}.product-price-info .product-info .product-list .product-item .item-info .title[data-v-3abd711c]{width:100%;font-size:%?32?%}.product-price-info .product-info .product-list .product-item .item-info .spec[data-v-3abd711c]{font-size:%?22?%;color:#aaa;margin-top:%?4?%}.product-price-info .product-info .product-list .product-item .item-info .price-num[data-v-3abd711c]{margin-top:%?8?%}.product-price-info .product-info .product-list .product-item .item-info .price-num .price[data-v-3abd711c]{font-size:%?32?%;font-weight:500}.product-price-info .price-info[data-v-3abd711c]{width:100%;padding:%?30?%;background:radial-gradient(circle at top left,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 51% no-repeat,radial-gradient(circle at top right,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 51% no-repeat,radial-gradient(circle at bottom left,transparent %?20?%,#fff 0,#fff 100%) 0 100%/51% 51% no-repeat,radial-gradient(circle at bottom right,transparent %?20?%,#fff 0,#fff 100%) 100% 100%/51% 51% no-repeat;border-bottom:%?1?% dashed #f3f2f7}.product-price-info .price-info .item[data-v-3abd711c]{width:100%;display:flex;align-items:center;justify-content:space-between;padding:%?10?% %?0?%}.product-price-info .price-info .item .price[data-v-3abd711c]{font-weight:700}.product-price-info .discount-info[data-v-3abd711c]{width:100%;padding:%?30?%;background:radial-gradient(circle at top left,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 51% no-repeat,radial-gradient(circle at top right,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 51% no-repeat,radial-gradient(circle at bottom left,transparent %?20?%,#fff 0,#fff 100%) 0 100%/51% 51% no-repeat,radial-gradient(circle at bottom right,transparent %?20?%,#fff 0,#fff 100%) 100% 100%/51% 51% no-repeat;border-bottom:%?1?% dashed #f3f2f7}.product-price-info .discount-info .item[data-v-3abd711c]{width:100%;display:flex;align-items:center;justify-content:space-between;padding:%?10?% %?0?%}.product-price-info .discount-info .item .price[data-v-3abd711c]{font-weight:700}.product-price-info .total-price[data-v-3abd711c]{width:100%;display:flex;align-items:center;justify-content:space-between;padding:%?30?%;background:radial-gradient(circle at top left,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 51% no-repeat,radial-gradient(circle at top right,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 51% no-repeat,radial-gradient(circle at bottom left,transparent %?20?%,#fff 0,#fff 100%) 0 100%/51% 51% no-repeat,radial-gradient(circle at bottom right,transparent %?20?%,#fff 0,#fff 100%) 100% 100%/51% 51% no-repeat;border-bottom:%?1?% dashed #f3f2f7}.product-price-info .total-price .data[data-v-3abd711c]{display:flex;align-items:center}.product-price-info .total-price .data .sum[data-v-3abd711c],\n.product-price-info .total-price .data .discount[data-v-3abd711c],\n.product-price-info .total-price .data .paid[data-v-3abd711c]{margin-left:%?16?%}.product-price-info .total-price .data .paid[data-v-3abd711c]{font-size:%?34?%}.product-price-info .call-store[data-v-3abd711c]{width:100%;display:flex;align-items:center;justify-content:center;padding:%?30?%;border-radius:%?0?% %?0?% %?15?% %?15?%;background:radial-gradient(circle at top left,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 100% no-repeat,radial-gradient(circle at top right,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 100% no-repeat}\n/* 商品价格信息 end */\n/* 订单信息卡片 start */.order-info-card[data-v-3abd711c]{border-radius:%?15?%;background-color:#fff;padding:%?30?%;margin-top:%?40?%}.order-info-card .item[data-v-3abd711c]{display:flex}.order-info-card .item .title[data-v-3abd711c]{font-size:%?30?%;font-weight:500}.order-info-card .item .value[data-v-3abd711c]{flex:1;margin-left:%?20?%\n /* 复制按钮 start */\n /* 复制按钮 end */}.order-info-card .item .value .copy-btn[data-v-3abd711c]{padding:%?4?% %?16?%;border-radius:%?12?%}.order-info-card .infoType[data-v-3abd711c]{font-size:%?36?%;margin-bottom:%?30?%}.order-info-card .item + .item[data-v-3abd711c]{margin-top:%?30?%}\n/* 订单信息卡片 end */.expansion[data-v-3abd711c]{display:flex;position:fixed;top:0;left:0;height:100%;width:100%;justify-content:center;align-items:center;background-color:rgba(0,0,0,.5);flex-direction:column;z-index:999999}.expansion .expansion_box[data-v-3abd711c]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-3abd711c]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-3abd711c]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-3abd711c]{width:100%}.expansion .expansion_box .line4[data-v-3abd711c]{height:40px;width:100%;text-align:center;line-height:40px;font-size:15px;color:#fff;border-radius:10px;background:linear-gradient(90deg,#fc8c09,#fc29b4)}.expansion .expansion_close[data-v-3abd711c]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-3abd711c]{width:%?60?%;height:%?60?%}.maskCode[data-v-3abd711c]{position:fixed;top:0;left:0;width:100%;height:100vh;z-index:999;background-color:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center}.maskCode .cent-mod[data-v-3abd711c]{background-color:#fff;padding:%?30?%;border-radius:%?20?%}.maskCode .cent-mod .min-data[data-v-3abd711c]{min-width:65vw;min-height:60vw}.bottom-btns[data-v-3abd711c]{position:fixed;height:%?110?%;display:flex;justify-content:space-between;align-items:center;width:100%;bottom:0;background-color:#fff;padding:0 %?30?%;box-shadow:0 %?-2?% %?10?% 0 rgba(0,0,0,.1)}.bottom-btns .btns_left[data-v-3abd711c]{flex:1}.bottom-btns .btns_right[data-v-3abd711c]{display:flex;flex:2;flex-direction:row}.bottom-btns .btns_right .btn[data-v-3abd711c]{flex:1;display:flex;justify-content:center;align-items:center;font-size:%?30?%;font-weight:500;width:%?200?%;height:%?80?%;border-radius:%?20?%;background-color:#bae7ff;color:#000}.bottom-btns .btns_right .btn + .btn[data-v-3abd711c]{margin-left:%?20?%}.order-log[data-v-3abd711c]{background-color:#fff;border-radius:%?15?%;padding:%?30?%;width:%?700?%}.order-log .log-item[data-v-3abd711c]{display:flex;margin-bottom:%?20?%;justify-content:space-between}.order-log .log-item .time[data-v-3abd711c]{font-size:%?30?%;color:#000;font-weight:bolder}.order-log .log-item .content[data-v-3abd711c]{flex:1;margin-left:%?20?%;font-size:%?30?%;color:#000;font-weight:bolder}.order-log .log-item .content[data-v-3abd711c]:before{content:"";display:inline-block;width:%?10?%;height:%?10?%;background-color:#ffca28;border-radius:50%;margin-right:%?10?%}.order-log .log-item2[data-v-3abd711c]{display:flex;margin-bottom:%?20?%;justify-content:space-between}.order-log .log-item2 .time[data-v-3abd711c]{font-size:%?24?%;color:#999}.order-log .log-item2 .content[data-v-3abd711c]{flex:1;margin-left:%?20?%;font-size:%?24?%;color:#999}.order-log .log-item2 .content[data-v-3abd711c]:before{content:"";display:inline-block;width:%?5?%;height:%?5?%;background-color:#999;border-radius:50%;margin-right:%?10?%}.spell-rice-box[data-v-3abd711c]{display:flex;flex-direction:column;background-color:#fff;text-align:center;justify-content:center}.spell-rice-box .row1[data-v-3abd711c]{font-size:%?20?%}.spell-rice-box .row2[data-v-3abd711c]{font-size:%?30?%;font-weight:700}.spell-rice-box .row3[data-v-3abd711c]{font-size:%?36?%;color:red}.spell-rice-box .persons[data-v-3abd711c]{display:flex;flex-direction:row;text-align:center;justify-self:center;align-items:center;padding:0 %?100?% 0 %?100?%;margin-top:%?20?%}.spell-rice-box .persons .leader[data-v-3abd711c]{flex:1;position:relative}.spell-rice-box .persons .leader uni-image[data-v-3abd711c]{width:%?100?%;height:%?100?%;background-color:#ccc;border-radius:50%}.spell-rice-box .persons .leader uni-text[data-v-3abd711c]{position:absolute;color:#fff;background-color:red;text-align:center;border-radius:%?15?%;width:%?100?%;font-size:%?24?%;top:-20%;left:0}.spell-rice-box .persons .mid[data-v-3abd711c]{flex:2;font-size:%?30?%;font-weight:bolder;margin:0 %?20?%}.spell-rice-box .persons .members[data-v-3abd711c]{flex:1}.spell-rice-box .persons .members uni-image[data-v-3abd711c]{width:%?100?%;height:%?100?%;background-color:#ccc;border-radius:50%}.spell-rice-box .share_btn[data-v-3abd711c]{background-color:#ffe9ea;color:#cd3b2b;height:%?80?%;display:flex;text-align:center;align-items:center;justify-content:center;border-radius:%?15?%;margin-top:%?15?%}',""]),e.exports=t},"776a":function(e,t,r){"use strict";r.r(t);var i=r("43da"),o=r.n(i);for(var a in i)["default"].indexOf(a)<0&&function(e){r.d(t,e,(function(){return i[e]}))}(a);t["default"]=o.a},"888b":function(e,t,r){"use strict";r.r(t);var i=r("fa5c"),o=r("776a");for(var a in o)["default"].indexOf(a)<0&&function(e){r.d(t,e,(function(){return o[e]}))}(a);r("964e");var n=r("828b"),d=Object(n["a"])(o["default"],i["b"],i["c"],!1,null,"3abd711c",null,!1,i["a"],void 0);t["default"]=d.exports},"964e":function(e,t,r){"use strict";var i=r("1212"),o=r.n(i);o.a},d240:function(e,t,r){"use strict";r("6a54");var i=r("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.searchExpressApi=t.orderStatusListApi=t.orderNoticeApi=t.getVisaOrderListApi=t.getVisaOrderDetailApi=t.getTakeoutOrderListApi=t.getTakeoutOrderDetailApi=t.getSpecialDeliveryStatusApi=t.getRefundReasonApi=t.getPaybillOrderListApi=t.getPaybillOrderDetailApi=t.getOrderwuliuApi=t.getOrderMapPathApi=t.getOrderIdByOutTradeNoApi=t.getErranderOrderListApi=t.getErranderOrderDetailApi=t.getChannelApi=t.getAllOrderListApi=t.getAirportPickupDetail=t.cancelOrderApi=t.applyRefundApi=void 0;var o=i(r("7653"));t.getTakeoutOrderListApi=function(e){var t=e.page,r=e.psize,i=e.status_index;return o.default.get("api/user.order.order/list",{page:t,psize:r,status_index:i})};t.getAllOrderListApi=function(){return o.default.get("api/user.order.order/allOrderList")};t.getTakeoutOrderDetailApi=function(e){var t=e.id,r=e.type;return o.default.get("api/user.order.order/detail",{id:t,type:r})};t.getErranderOrderListApi=function(e){var t=e.page,r=e.psize;return o.default.get("api/user.order.errander.errander/viList",{page:t,psize:r})};t.getErranderOrderDetailApi=function(e){var t=e.id;return o.default.get("api/user.order.errander.errander/detail",{id:t})};t.getVisaOrderListApi=function(e){return o.default.post("api/user.visa.order/list",e)};t.getVisaOrderDetailApi=function(e){return o.default.post("api/user.visa.order/detail",e)};t.getAirportPickupDetail=function(e){return o.default.post("api/user.airportTransfer.order/detail",e)};t.getPaybillOrderListApi=function(e){var t=e.page,r=e.psize;return o.default.get("api/user.order.paybill/list",{page:t,psize:r})};t.getPaybillOrderDetailApi=function(e){var t=e.id;return o.default.get("api/user.order.paybill/detail",{id:t})};t.getOrderMapPathApi=function(e){return o.default.post("api/user.order.order/mapPath",e)};t.getSpecialDeliveryStatusApi=function(e){return o.default.post("api/user.order.order/getSpecialDeliveryStatus",e)};t.getOrderIdByOutTradeNoApi=function(e){return o.default.post("api/user.order.order/getOrderIdByOutTradeNo",e)};t.getOrderwuliuApi=function(e){return o.default.post("api/user.order.order/wuliu",e)};t.getChannelApi=function(e){return o.default.get("api/user.order.order/getChannel?id="+e)};t.getRefundReasonApi=function(){return o.default.get("api/user.order.order/getRefundReason")};t.applyRefundApi=function(e){return o.default.post("api/user.order.order/applyRefund",e)};t.cancelOrderApi=function(e){return o.default.post("api/user.order.order/cancel",e)};t.orderNoticeApi=function(e){return o.default.post("api/user.order.order/orderNotice",e)};t.orderStatusListApi=function(e){return o.default.get("api/user.order.order/orderStatusList?id="+e)};t.searchExpressApi=function(e){return o.default.post("api/user.order.order/searchExpress",e)}},fa5c:function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return i}));var i={loading:r("8c27").default},o=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("custom-page",{attrs:{"custom-navbar":!0,"navbar-title":"订单详情","wrapper-bg-color":"#F3F2F7","before-back":e.handleBeforeNavBack}},[e.loadingShow?r("loading"):e._e(),r("v-uni-view",{staticClass:"wrapper"},[r("v-uni-view",{staticClass:"order-status tn-flex-column tn-flex-center"},[r("v-uni-view",{staticClass:"status-value"},[e._v(e._s(e.orderInfo.order_status_desc||"-"))]),r("v-uni-view",{staticClass:"order-operation-btns tn-flex-center"},[20==e.orderInfo.order_status?r("v-uni-view",{staticClass:"btn",style:[e.themeBtnStyle],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.goto(e.orderInfo.order_sn)}}},[e._v("上传资料")]):e._e()],1)],1),r("v-uni-view",{staticClass:"product-price-info"},[r("v-uni-view",{staticClass:"product-info"},[r("v-uni-view",{staticClass:"product-list"},[r("v-uni-view",{staticClass:"product-item tn-bg-gray--light tn-color-black"},[r("v-uni-view",{staticClass:"item-image"},[r("v-uni-image",{staticClass:"image",attrs:{src:e.projectImg,mode:"aspectFill"}})],1),r("v-uni-view",{staticClass:"item-info"},[r("v-uni-view",{staticClass:"title tn-text-ellipsis-1"},[e._v(e._s(e.orderInfo.product_name||"-"))]),r("v-uni-view",{staticClass:"price-num tn-flex-end-between"},[r("v-uni-view",{staticClass:"price tn-color-red"},[e._v(e._s(e.CurrencyUnit)+e._s(e.orderInfo.order_amount||"-"))])],1)],1)],1)],1)],1),r("v-uni-view",{staticClass:"total-price"},[r("v-uni-view",{staticClass:"title"},[e._v("合计")]),r("v-uni-view",{staticClass:"data tn-color-gray"},[r("v-uni-view",{staticClass:"sum"},[e._v("共计"+e._s(e.CurrencyUnit)+e._s(e.orderInfo.order_amount||"-"))]),r("v-uni-view",{staticClass:"paid tn-color-black"},[e._v("实付"),r("v-uni-text",{staticClass:"tn-color-red",staticStyle:{"margin-left":"5rpx"}},[e._v(e._s(e.CurrencyUnit)+e._s(e.orderInfo.order_amount||"-"))])],1)],1)],1)],1),r("v-uni-view",{staticClass:"order-info-card"},[1==e.orderInfo.order_type?r("v-uni-view",{staticClass:"item"},[r("v-uni-view",{staticClass:"title"},[e._v("真实姓名")]),r("v-uni-view",{staticClass:"value"},[e._v(e._s(e.orderInfo.user_name||"-"))])],1):e._e(),1==e.orderInfo.order_type?r("v-uni-view",{staticClass:"item"},[r("v-uni-view",{staticClass:"title"},[e._v("护照号")]),r("v-uni-view",{staticClass:"value"},[e._v(e._s(e.orderInfo.passport_no||"-"))])],1):e._e(),e.orderInfo.user_address?r("v-uni-view",{staticClass:"item"},[r("v-uni-view",{staticClass:"title"},[e._v("配送地址")]),r("v-uni-view",{staticClass:"value"},[r("v-uni-view",{},[e._v(e._s(e.orderInfo.user_address.realname+" ")+"("+e._s(e.orderInfo.user_address.phone_area)+")"+e._s(e.orderInfo.user_address.mobile))]),r("v-uni-view",{},[e._v(e._s(e.orderInfo.user_address.address))])],1)],1):e._e()],1),r("v-uni-view",{staticClass:"order-info-card"},[r("v-uni-view",{staticClass:"item",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.copyToClipBoard(e.orderInfo.order_sn)}}},[r("v-uni-view",{staticClass:"title"},[e._v("订单号")]),r("v-uni-view",{staticClass:"value tn-flex-center-between"},[r("v-uni-view",{staticClass:"order-no"},[e._v(e._s(e.orderInfo.order_sn||"-"))]),r("v-uni-view",{staticClass:"copy-btn",style:[e.themeBtnStyle]},[e._v("复制")])],1)],1),r("v-uni-view",{staticClass:"item"},[r("v-uni-view",{staticClass:"title"},[e._v("下单时间")]),r("v-uni-view",{staticClass:"value"},[e._v(e._s(e.orderInfo.create_time))])],1)],1)],1)],1)},a=[]}}]);
|