1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-logistics-detail-logistics-detail"],{"0ed1":function(e,t,i){"use strict";var n=i("dcb2"),r=i.n(n);r.a},"32c7":function(e,t,i){e.exports=i.p+"static/img/log_bg.15ef256c.png"},"7c95":function(e,t,i){"use strict";var n;i.d(t,"b",(function(){return r})),i.d(t,"c",(function(){return a})),i.d(t,"a",(function(){return n}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"log_detail"},[n("v-uni-view",{staticClass:"info"},[n("v-uni-image",{attrs:{src:i("32c7")}}),n("v-uni-view",[n("v-uni-view",{staticClass:"info_con"},[n("v-uni-view",{staticStyle:{position:"relative"}},[n("v-uni-image",{attrs:{src:e.img}})],1),n("v-uni-view",{staticClass:"info_log"},[n("v-uni-view",[e._v(e._s(e.logList.express_company))]),n("v-uni-text",[n("v-uni-text",[e._v(e._s(e.logList.express_no))]),n("v-uni-text",{staticClass:"copy",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.copy(e.logList.express_no)}}},[e._v("复制")])],1)],1)],1)],1)],1),Number(e.express.State)>0?n("v-uni-view",{staticClass:"step"},[n("v-uni-view",{staticClass:"step_con"},[n("v-uni-view",[1==e.express.State?n("v-uni-view",{staticClass:"active"},[n("v-uni-image",{attrs:{src:i("f623")}}),n("v-uni-view",[e._v("已发货")])],1):n("v-uni-view",[e._v("已发货")]),n("v-uni-view",{staticClass:"circle",class:1==e.express.State?"circle_active":""})],1),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",[2==e.express.State?n("v-uni-view",{staticClass:"active"},[n("v-uni-image",{attrs:{src:i("f623")}}),n("v-uni-view",[e._v("运输中")])],1):n("v-uni-view",[e._v("运输中")]),n("v-uni-view",{staticClass:"circle",class:2==e.express.State?"circle_active":""})],1),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",[3==e.express.State||4==e.express.State?n("v-uni-view",{staticClass:"active"},[n("v-uni-image",{attrs:{src:i("f623")}}),4==e.express.State?n("v-uni-view",[e._v("问题件")]):n("v-uni-view",[e._v("已签收")])],1):n("v-uni-view",[e._v("已签收")]),n("v-uni-view",{staticClass:"circle",class:3==e.express.State||4==e.express.State?"circle_active":""})],1)],1)],1):e._e(),n("v-uni-view",{staticClass:"log_con"},e._l(e.log,(function(t){return n("v-uni-view",{key:t.id},[n("v-uni-view",{staticClass:"flexS"},[n("v-uni-view",{staticClass:"time flexCC"},[n("v-uni-view",[e._v(e._s(e._f("sendTime")(t.AcceptTime)))]),n("v-uni-text",[e._v(e._s(e._f("sendDay")(t.AcceptTime)))])],1),n("v-uni-view",{staticClass:"log_info"},[e._v(e._s(t.AcceptStation))])],1),n("v-uni-view",{staticClass:"col_line"})],1)})),1),0==Number(e.express.State)?n("v-uni-view",{staticClass:"noData"},[n("v-uni-image",{attrs:{src:i("903b")}}),n("v-uni-view",[e._v("暂无物流状态")])],1):e._e()],1)},a=[]},8193:function(e,t,i){"use strict";i.r(t);var n=i("7c95"),r=i("dd2c");for(var a in r)"default"!==a&&function(e){i.d(t,e,(function(){return r[e]}))}(a);i("0ed1");var o,s=i("f0c5"),c=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"c1b01bf4",null,!1,n["a"],o);t["default"]=c.exports},"903b":function(e,t,i){e.exports=i.p+"static/img/no_record.51341960.png"},"95c5":function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */\r\n/*主题色及按钮渐变背景*/\r\n/*字体大小*/.log_detail .info[data-v-c1b01bf4]{width:100%;height:%?194?%;position:relative}.log_detail .info uni-image[data-v-c1b01bf4]{width:100%;height:100%}.log_detail .info > uni-view[data-v-c1b01bf4]{position:absolute;top:0;left:0;width:100%;height:%?194?%}.log_detail .info > uni-view .info_con[data-v-c1b01bf4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;align-items:center;width:%?690?%;margin:0 auto;height:%?194?%}.log_detail .info > uni-view .info_con uni-image[data-v-c1b01bf4]{width:%?138?%;height:%?138?%;border-radius:%?8?%}.log_detail .info > uni-view .info_con .count[data-v-c1b01bf4]{width:%?138?%;height:%?40?%;line-height:%?40?%;font-size:%?28?%;background-color:rgba(0,0,0,.7);color:#fff;text-align:center;position:absolute;bottom:0;left:0;border-radius:0 0 %?8?% %?8?%}.log_detail .info > uni-view .info_log[data-v-c1b01bf4]{margin-left:%?30?%}.log_detail .info > uni-view .info_log uni-view[data-v-c1b01bf4],\r\n.log_detail .info > uni-view .info_log uni-text[data-v-c1b01bf4]{color:#fff;font-size:%?28?%}.log_detail .info > uni-view .info_log uni-view[data-v-c1b01bf4]{font-size:%?32?%;font-weight:700;margin-bottom:%?15?%}.log_detail .info > uni-view .info_log .copy[data-v-c1b01bf4]{display:inline-block;width:%?94?%;text-align:center;height:%?42?%;border:%?1?% solid #fff;color:#fff;border-radius:%?24?%;margin-left:%?15?%}.log_detail .step[data-v-c1b01bf4]{width:100%;height:%?190?%;box-sizing:border-box;border-bottom:%?2?% solid #e9e9e9;padding:%?30?% 0}.log_detail .step .address[data-v-c1b01bf4]{width:%?634?%;margin:0 auto}.log_detail .step .step_con[data-v-c1b01bf4]{width:%?690?%;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}.log_detail .step .step_con uni-image[data-v-c1b01bf4]{width:%?130?%;height:%?60?%}.log_detail .step .step_con uni-view[data-v-c1b01bf4]{font-size:%?24?%;color:#999;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.log_detail .step .step_con .active[data-v-c1b01bf4]{position:relative}.log_detail .step .step_con .active uni-view[data-v-c1b01bf4]{position:absolute;top:%?6?%;left:%?33?%;color:#fff}.log_detail .step .step_con uni-text[data-v-c1b01bf4]{font-size:%?28?%}.log_detail .step .step_con .circle[data-v-c1b01bf4]{width:%?20?%;height:%?20?%;background:#e9e9e9;border-radius:50%;margin:%?12?% 0}.log_detail .step .step_con .circle_active[data-v-c1b01bf4]{background:-webkit-linear-gradient(357deg,#ff232c,#ff571b);background:linear-gradient(93deg,#ff232c,#ff571b)}.log_detail .step .step_con .line[data-v-c1b01bf4]{width:%?200?%;height:%?4?%;margin-bottom:%?19?%;background-color:#e9e9e9}.log_detail .log_con[data-v-c1b01bf4]{width:%?690?%;margin:%?50?% auto %?100?%}.log_detail .log_con > uni-view[data-v-c1b01bf4]{margin-bottom:%?30?%}.log_detail .log_con > uni-view:last-child .col_line[data-v-c1b01bf4]{display:none}.log_detail .log_con > uni-view:not(:first-child) .log_info[data-v-c1b01bf4]{color:#999}.log_detail .log_con .time[data-v-c1b01bf4]{width:%?164?%;-webkit-flex-shrink:0;flex-shrink:0;margin-right:%?24?%}.log_detail .log_con .time uni-view[data-v-c1b01bf4]{font-size:%?28?%;font-weight:700;margin-bottom:%?5?%}.log_detail .log_con .time uni-text[data-v-c1b01bf4]{font-size:%?28?%;color:#999}.log_detail .log_con .log_info[data-v-c1b01bf4]{font-size:%?28?%;width:90%}.log_detail .log_con .col_line[data-v-c1b01bf4]{width:%?2?%;height:%?50?%;background-color:#e9e9e9;margin-left:%?72?%}.log_detail .source[data-v-c1b01bf4]{width:100%;text-align:center;font-size:%?28?%;color:#999;padding:%?50?% 0}',""]),e.exports=t},d465:function(e,t,i){"use strict";i("26e9"),i("ac1f"),i("5319"),i("1276"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i("51da"),r=i("f6ca"),a={data:function(){return{logList:[],express:"",noData:!1,img:"",log:""}},onLoad:function(e){this.img=e.img,this.getLogData(e.order_no)},filters:{sendDay:function(e){var t=e.replace(" ",":").replace(/\:/g,"-").split("-"),i=t[0]+"-"+t[1]+"-"+t[2];return i},sendTime:function(e){var t=e.replace(" ",":").replace(/\:/g,"-").split("-"),i=t[3]+":"+t[4];return i}},methods:{getLogData:function(e){var t=this;(0,r.getLogs)({order_no:e}).then((function(e){if(200==e.code){t.logList=e.data,t.express=e.data.express;var i=e.data.express.Traces;i&&(t.log=i.reverse())}}))},copy:function(e){(0,n.handleClipboard)(e,event,(function(){uni.showToast({icon:"none",title:"复制成功"})}),(function(){uni.showToast({icon:"none",title:"复制失败"})}))}}};t.default=a},dcb2:function(e,t,i){var n=i("95c5");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var r=i("4f06").default;r("05339d97",n,!0,{sourceMap:!1,shadowMode:!1})},dd2c:function(e,t,i){"use strict";i.r(t);var n=i("d465"),r=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,(function(){return n[e]}))}(a);t["default"]=r.a},f623:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAAA7CAYAAAC3xlJAAAAABHNCSVQICAgIfAhkiAAABgVJREFUeF7tnX1sU1UY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xvI3VKilEHBMu4p+7zDhAeyhyCQL/zRseqOJs4INICXh7G8nOXbzy8Ot39CcAXbSJRyTDigMi7LG8I7m/teHg1dFeYnuMF4TcyXsXYwAHBOfRpyWFZ85UwEEIwzHB/BHK5DWQqCbEcEHmevzSUdoaFb3mbOjQdaelVALJi5VHXLeyAYC9/rg879KT7JtgZI++Dxn2g2gRr4amO0rpcAdtzWdZ08uagyNviZ44sBtRqoy1BEP1J7j7R7cCMng/KeGTkamhcY0szHClKdOjydCQIur1Z7OqPPJq1CtDUDijLgyMtEH0hyxp39SQl5rOKMiv7GYBfWt4L5wo4A8Fs/nT8QDQLYoIQ+lg5K2sSoO0EcZdz/bSgcpFK8Npj3HXmXKzuDYEQgqHInYG0wApAWw7ijliJ1fXb6ICgFcB7OHt8HSth6EhewyB0ypLZ2YMB/TWItgLEoNsoV5WO5IBIKci1/PFEnRmDTINwHYg5rgEQbSnANwBmmymqYhPtgAQXAb/CtcDmrusDRivFDcLNBWT28FwwtRDERIBTAIw32oCKM+mABBeEUAkJLvrp+9HWvpdlzWEnpJnMGApPCAjxFL5VY2TmsIHo3/cggNFx1RTU4VJKPssbgv93bfuyPQihN7rzhk+ApOwHqJmbSdERCEziztNRP3qZy5mc0Y4AIQTD3My1oPaWuWmQNfy+0RFnUTsHhCKkYtCISpD3GIThAC6enMxy/Gsw3tJhjgEhdFeY4/IhVfsDQKyfHGgF2/O5vdnURzArk+AoEEIwzB9RAmJD1EkT/VXuaHLUcUKOAyEEwxMjfgUQdhbxdTAEFdzeGPmalf/kY/TuTBAWDB0Ora8fYNel8gvQ2/K5/fxpG895RGmOBKHjruBaDI1bw1zRZS6/bfrBaRA4YkEp2qTKoswvQCwJxQg2cdupl5wIgeNBCM3/U5nPQpc2bmv62qkQBHX/B15QuBjcGebrAAAAAElFTkSuQmCC"},f6ca:function(e,t,i){"use strict";var n=i("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.getOrderNum=t.scanOrder=t.editRemark=t.delCancel=t.cancelList=t.orderCancel=t.replaceStore=t.diffStore=t.getShareOrder=t.getComment=t.addComment=t.getSelf=t.getLogs=t.tipSend=t.pickUp=t.orderIndex=t.payOrder=t.subOrder=t.orderQuery=t.getOrderInfo=t.getOrderList=void 0;var r=n(i("57f7")),a=function(e){return r.default.get("/order/get_order_list",e)};t.getOrderList=a;var o=function(e){return r.default.get("/order/get_order_info",e)};t.getOrderInfo=o;var s=function(e){return r.default.get("/order/get_order_no_info",e)};t.orderQuery=s;var c=function(e){return r.default.post("/order/submit_order_info",e)};t.subOrder=c;var l=function(e){return r.default.post("/payment/pay",e)};t.payOrder=l;var d=function(e){return r.default.get("/order/get_order_index",e)};t.orderIndex=d;var u=function(e){return r.default.post("/order/sure_pick_up",e)};t.pickUp=u;var f=function(e){return r.default.post("/order/tip_send",e)};t.tipSend=f;var g=function(e){return r.default.get("/order/get_order_express",e)};t.getLogs=g;var v=function(e){return r.default.post("/order/sure_one_self_take",e)};t.getSelf=v;var b=function(e){return r.default.post("/order/add_comment",e)};t.addComment=b;var p=function(e){return r.default.get("/order/get_comment",e)};t.getComment=p;var _=function(e){return r.default.get("/order/get_share_order",e)};t.getShareOrder=_;var w=function(e){return r.default.get("/order/get_user_store_diff",e)};t.diffStore=w;var m=function(e){return r.default.post("/order/replace_store",e)};t.replaceStore=m;var h=function(e){return r.default.post("/order/cancel_order",e)};t.orderCancel=h;var A=function(e){return r.default.get("/cancel/get_cancel_order_list",e)};t.cancelList=A;var x=function(e){return r.default.post("/cancel/delete_origin_order",e)};t.delCancel=x;var C=function(e){return r.default.post("/order/edit_order_remark",e)};t.editRemark=C;var y=function(e){return r.default.get("/order/get_scan_order",e)};t.scanOrder=y;var k=function(e){return r.default.get("/order/get_order_status_num",e)};t.getOrderNum=k}}]);
|