zx/public/static/js/pages-order_details-deliver...

1 line
12 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order_details-delivery"],{"0bbb":function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){}));var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-uni-view",[r("v-uni-view",{staticClass:"logistics"},[r("v-uni-view",{staticClass:"logisticsCon"},[r("v-uni-view",{staticClass:"company"},[0==e.status||2==e.status?r("v-uni-view",{staticClass:"order_head"},[r("v-uni-view",{staticClass:"order_number"},[e._v(e._s(0==e.status?"待接单":"待取货"))]),r("v-uni-view",{},[e._v("等待配送员接单完成后开始派送")])],1):e._e(),e.code&&0!=e.status&&2!=e.status?r("v-uni-view",{staticClass:"order_head"},[r("v-uni-view",{staticClass:"order_number"},[e._v(e._s(e.code))]),r("v-uni-view",[e._v("稍后请将收货码告诉配送员")])],1):e._e(),r("v-uni-view",{staticClass:"order_delivery"},[r("v-uni-view",{staticClass:"delivery_info"},[r("v-uni-view",{staticClass:"delivery_pic"},[r("v-uni-image",{attrs:{src:e.domain+"/static/images/delivery_man.png"}})],1),e.deliveryInfo.delivery_id?r("v-uni-view",{staticClass:"delivery_name"},[r("v-uni-view",[e._v(e._s(e.deliveryInfo.delivery_name)),r("br"),e._v(e._s(e.deliveryInfo.delivery_id))])],1):r("v-uni-view",{staticClass:"delivery_name_not"},[e._v("配送员未接单")])],1),r("v-uni-view",{staticClass:"delivery_phone iconfont",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.call.apply(void 0,arguments)}}},[e._v("")])],1)],1),r("v-uni-view",{staticClass:"order_logistic"},[r("v-uni-view",{staticClass:"recip_info"},[r("v-uni-view",{staticClass:"title"},[e._v("收件人信息")]),r("v-uni-view",[r("v-uni-view",{staticClass:"items acea-row row-between"},[r("v-uni-view",[e._v("姓名:")]),r("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.deliveryInfo.real_name))])],1),r("v-uni-view",{staticClass:"items acea-row row-between"},[r("v-uni-view",[e._v("手机号:")]),r("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.deliveryInfo.user_phone))])],1),r("v-uni-view",{staticClass:"items acea-row row-between"},[r("v-uni-view",[e._v("地址:")]),r("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.deliveryInfo.user_address))])],1)],1)],1),r("v-uni-view",{staticClass:"logistic_count"},e._l(e.expressList,(function(t,n){return r("v-uni-view",{key:n,staticClass:"item"},[r("v-uni-view",{staticClass:"circular",class:0===n?"on iconfont icon-xuanzhong1":""}),r("v-uni-view",{staticClass:"text",class:0===n?"on-font on":""},[r("v-uni-view",[e._v(e._s(t.change_message))]),r("v-uni-view",{staticClass:"data",class:0===n?"on-font on":""},[e._v(e._s(t.change_time))])],1)],1)})),1)],1)],1)],1)],1)},i=[]},"3c58":function(e,t,r){var n=r("c86c");t=n(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.logistics[data-v-1fa94f8a]{padding:0 %?30?%}.order_head[data-v-1fa94f8a]{text-align:center;color:#282828;font-size:%?24?%;border-bottom:1px dashed #d8d8d8;padding-bottom:%?40?%}.order_head .order_number[data-v-1fa94f8a]{font-size:%?66?%;font-weight:700}.order_delivery[data-v-1fa94f8a]{padding:%?30?%;display:flex;justify-content:space-between;align-items:center}.order_delivery .delivery_info[data-v-1fa94f8a]{width:%?300?%;display:flex;justify-content:space-between;align-items:center}.order_delivery .delivery_info .delivery_name[data-v-1fa94f8a]{color:#666}.order_delivery .delivery_info .delivery_name_not[data-v-1fa94f8a]{font-weight:700}.order_delivery .delivery_info uni-image[data-v-1fa94f8a], .order_delivery .delivery_info uni-image[data-v-1fa94f8a]{width:%?80?%;height:%?80?%}.order_delivery .delivery_phone[data-v-1fa94f8a]{width:%?44?%;height:%?44?%;border-radius:100%;background:#e7e7e7;text-align:center;line-height:%?44?%;font-size:%?20?%;color:#666}.logistics .logisticsCon[data-v-1fa94f8a]{margin:%?12?% 0}.logistics .logisticsCon .company[data-v-1fa94f8a]{background-color:#fff;padding:%?30?% 0;border-radius:%?16?%}.order_logistic[data-v-1fa94f8a]{background-color:#fff;margin-top:%?30?%;border-radius:%?16?%;padding:%?30?%}.recip_info[data-v-1fa94f8a]{border-bottom:1px dashed #d8d8d8;padding-bottom:%?30?%}.recip_info .title[data-v-1fa94f8a]{font-size:%?30?%;font-weight:700;color:#282828;margin-bottom:%?30?%}.recip_info .items ~ .items[data-v-1fa94f8a]{margin-top:%?24?%}.recip_info .items .conter[data-v-1fa94f8a]{color:#868686;width:%?460?%;text-align:right}.logistic_count[data-v-1fa94f8a]{margin-top:%?30?%}.logistics .logisticsCon .item[data-v-1fa94f8a]{padding:0 %?40?%;position:relative}.logistics .logisticsCon .item .circular[data-v-1fa94f8a]{width:%?20?%;height:%?20?%;border-radius:50%;position:absolute;top:%?-1?%;left:%?31.5?%;background-color:#ddd}.logistics .logisticsCon .item .circular.on[data-v-1fa94f8a]{color:#e93323;background-color:initial;font-size:%?30?%;left:%?30?%}.logistics .logisticsCon .item .text.on-font[data-v-1fa94f8a]{color:#282828;font-size:%?30?%;font-weight:700}.logistics .logisticsCon .item .text .data.on-font[data-v-1fa94f8a]{color:#282828;font-weight:400}.logistics .logisticsCon .item .text[data-v-1fa94f8a]{font-size:%?26?%;color:#666;width:%?615?%;border-left:1px solid #e6e6e6;padding:0 0 %?60?% %?38?%}.logistics .logisticsCon .item .text.on[data-v-1fa94f8a]{border-left-color:#f8c1bd}.logistics .logisticsCon .item .text .data[data-v-1fa94f8a]{font-size:%?24?%;color:#999;margin-top:%?10?%}.logistics .logisticsCon .item .text .data .time[data-v-1fa94f8a]{margin-left:%?15?%}',""]),e.exports=t},"3eec":function(e,t,r){"use strict";r.r(t);var n=r("ff06"),i=r.n(n);for(var a in n)["default"].indexOf(a)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},"47ea":function(e,t,r){"use strict";r.r(t);var n=r("0bbb"),i=r("3eec");for(var a in i)["default"].indexOf(a)<0&&function(e){r.d(t,e,(function(){return i[e]}))}(a);r("5adf");var o=r("828b"),d=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"1fa94f8a",null,!1,n["a"],void 0);t["default"]=d.exports},5676:function(e,t,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.applyInvoiceApi=function(e,t){return i.default.post("order/receipt/".concat(e),t)},t.cartDel=function(e){return i.default.post("user/cart/delete",e)},t.cartProductAttr=function(e){return i.default.get("store/product/get_attr_value/".concat(e))},t.changeCartNum=function(e,t){return i.default.post("user/cart/change/"+e,t)},t.createOrder=function(e){return i.default.post("v2/order/create",e,{noAuth:!0})},t.develiveryDetail=function(e){return i.default.get("order/delivery/".concat(e))},t.express=function(e){return i.default.post("order/express/"+e)},t.expressList=function(){return i.default.get("common/express")},t.getCallBackUrlApi=function(e){return i.default.get("common/pay_key/"+e,{},{noAuth:!0})},t.getCartCounts=function(){return i.default.get("user/cart/count")},t.getCartList=function(){return i.default.get("user/cart/lst")},t.getCouponsOrderPrice=function(e,t){return i.default.get("coupons/order/"+e,t)},t.getOrderConfirm=function(e){return i.default.post("v2/order/check",e)},t.getOrderDetail=function(e){return i.default.get("order/detail/"+e)},t.getOrderList=function(e){return i.default.get("order/list",e)},t.getPayOrder=function(e){return i.default.get("order/status/"+e)},t.getReceiptOrder=function(e){return i.default.get("user/receipt/order/"+e)},t.groupOrderDetail=function(e){return i.default.get("order/group_order_detail/"+e)},t.groupOrderList=function(e){return i.default.get("order/group_order_list",e,{noAuth:!0})},t.integralOrderPay=function(e,t){return i.default.post("order/points/pay/"+e,t)},t.ordeRefundReason=function(){return i.default.get("order/refund/reason")},t.orderAgain=function(e){return i.default.post("user/cart/again",e)},t.orderComment=function(e,t){return i.default.post("reply/"+e,t)},t.orderConfirm=function(e){return i.default.post("order/check",e)},t.orderCreate=function(e){return i.default.post("order/create",e,{noAuth:!0})},t.orderData=function(){return i.default.get("order/number")},t.orderDel=function(e){return i.default.post("order/del/"+e)},t.orderPay=function(e,t){return i.default.post("order/pay/"+e,t)},t.orderProduct=function(e){return i.default.get("reply/product/"+e)},t.orderRefundVerify=function(e){return i.default.post("order/refund/verify",e)},t.orderTake=function(e){return i.default.post("order/take/"+e)},t.postOrderComputed=function(e,t){return i.default.post("/order/computed/"+e,t)},t.presellOrderPay=function(e,t){return i.default.post("presell/pay/"+e,t)},t.receiptOrder=function(e){return i.default.get("user/receipt/order",e)},t.refundApply=function(e,t){return i.default.post("refund/apply/"+e,t,{noAuth:!0})},t.refundBackGoods=function(e,t){return i.default.post("refund/back_goods/"+e,t,{noAuth:!0})},t.refundBatch=function(e){return i.default.get("refund/batch_product/"+e,{noAuth:!0})},t.refundCancelApi=function(e){return i.default.post("refund/cancel/".concat(e))},t.refundDel=function(e){return i.default.post("refund/del/"+e,{noAuth:!0})},t.refundDetail=function(e){return i.default.get("refund/detail/"+e,{noAuth:!0})},t.refundExpress=function(e){return i.default.get("refund/express/"+e,{noAuth:!0})},t.refundList=function(e){return i.default.get("refund/list",e,{noAuth:!0})},t.refundMessage=function(){return i.default.get("common/refund_message",{noAuth:!0})},t.refundOrderExpress=function(e,t){return i.default.get("server/".concat(e,"/refund/express/").concat(t))},t.refundProduct=function(e,t){return i.default.get("refund/product/"+e,t,{noAuth:!0})},t.unOrderCancel=function(e){return i.default.post("order/cancel/"+e)},t.verifyCode=function(e){return i.default.get("order/verify_code/"+e)},r("c223");var i=n(r("fea3"))},"5adf":function(e,t,r){"use strict";var n=r("bf40"),i=r.n(n);i.a},bf40:function(e,t,r){var n=r("3c58");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("967d").default;i("56681d73",n,!0,{sourceMap:!1,shadowMode:!1})},ff06:function(e,t,r){"use strict";r("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r("5676"),i=r("8f59"),a=r("aa10"),o=r("e44d"),d={components:{},data:function(){return{orderId:"",code:"",status:0,deliveryInfo:{},expressList:[],domain:a.HTTP_REQUEST_URL}},computed:(0,i.mapGetters)(["isLogin"]),onLoad:function(e){if(!e.orderId)return this.$util.Tips({title:"缺少订单号"});this.orderId=e.orderId,this.isLogin?this.getExpress():(0,o.toLogin)()},onReady:function(){},methods:{getExpress:function(){var e=this;(0,n.develiveryDetail)(e.orderId).then((function(t){var r=t.data.storeOrderStatus||{};e.$set(e,"deliveryInfo",t.data.storeOrder),e.$set(e,"code",t.data.finish_code),e.$set(e,"status",t.data.status),e.$set(e,"expressList",r||[])}))},call:function(){uni.makePhoneCall({phoneNumber:this.deliveryInfo.delivery_id})}}};t.default=d}}]);