pages-order_details-delivery.bdea4a97.js 7.8 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order_details-delivery"],{"3eec":function(e,i,t){"use strict";t.r(i);var n=t("ff06"),s=t.n(n);for(var a in n)["default"].indexOf(a)<0&&function(e){t.d(i,e,(function(){return n[e]}))}(a);i["default"]=s.a},"47ea":function(e,i,t){"use strict";t.r(i);var n=t("7fda"),s=t("3eec");for(var a in s)["default"].indexOf(a)<0&&function(e){t.d(i,e,(function(){return s[e]}))}(a);t("b193");var o=t("828b"),d=Object(o["a"])(s["default"],n["b"],n["c"],!1,null,"f2d426fc",null,!1,n["a"],void 0);i["default"]=d.exports},"7fda":function(e,i,t){"use strict";t.d(i,"b",(function(){return n})),t.d(i,"c",(function(){return s})),t.d(i,"a",(function(){}));var n=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("v-uni-view",[t("v-uni-view",{staticClass:"logistics"},[t("v-uni-view",{staticClass:"logisticsCon"},[t("v-uni-view",{staticClass:"company bg-f boder-24"},[0==e.status||2==e.status?t("v-uni-view",{staticClass:"order_head"},[t("v-uni-view",{staticClass:"order_number"},[e._v(e._s(0==e.status?"待接单":"待取货"))]),t("v-uni-view",{},[e._v("等待配送员接单完成后开始派送")])],1):e._e(),e.code&&0!=e.status&&2!=e.status?t("v-uni-view",{staticClass:"order_head"},[t("v-uni-view",{staticClass:"order_number"},[e._v(e._s(e.code))]),t("v-uni-view",[e._v("稍后请将收货码告诉配送员")])],1):e._e(),t("v-uni-view",{staticClass:"order_delivery"},[t("v-uni-view",{staticClass:"delivery_info"},[t("v-uni-view",{staticClass:"delivery_pic"},[t("v-uni-image",{attrs:{src:e.domain+"/static/images/delivery_man.png"}})],1),e.deliveryInfo.delivery_id?t("v-uni-view",{staticClass:"delivery_name"},[t("v-uni-view",[e._v(e._s(e.deliveryInfo.delivery_name)),t("br"),e._v(e._s(e.deliveryInfo.delivery_id))])],1):t("v-uni-view",{staticClass:"delivery_name_not"},[e._v("配送员未接单")])],1),t("v-uni-view",{staticClass:"delivery_phone iconfont icon-a-icon_phonenumber",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.call.apply(void 0,arguments)}}})],1)],1),t("v-uni-view",{staticClass:"order_logistic bg-f boder-24 mt20"},[t("v-uni-view",{staticClass:"recip_info"},[t("v-uni-view",{staticClass:"title"},[e._v("收件人信息")]),t("v-uni-view",[t("v-uni-view",{staticClass:"items acea-row row-between"},[t("v-uni-view",[e._v("姓名:")]),t("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.deliveryInfo.real_name))])],1),t("v-uni-view",{staticClass:"items acea-row row-between"},[t("v-uni-view",[e._v("手机号:")]),t("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.deliveryInfo.user_phone))])],1),t("v-uni-view",{staticClass:"items acea-row row-between"},[t("v-uni-view",[e._v("地址:")]),t("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.deliveryInfo.user_address))])],1)],1)],1),t("v-uni-view",{staticClass:"logistic_count"},e._l(e.expressList,(function(i,n){return t("v-uni-view",{key:n,staticClass:"item"},[t("v-uni-view",{staticClass:"circular",class:0===n?"on iconfont icon-a-ic_CompleteSelect":""}),t("v-uni-view",{staticClass:"text",class:0===n?"on-font on":""},[t("v-uni-view",[e._v(e._s(i.change_message))]),t("v-uni-view",{staticClass:"data",class:0===n?"on-font on":""},[e._v(e._s(i.change_time))])],1)],1)})),1)],1)],1)],1)],1)},s=[]},af62:function(e,i,t){var n=t("c86c");i=n(!1),i.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-f2d426fc]{padding:0 %?30?%}.order_head[data-v-f2d426fc]{text-align:center;color:#282828;font-size:%?24?%;border-bottom:1px dashed #d8d8d8;padding-bottom:%?40?%}.order_head .order_number[data-v-f2d426fc]{font-size:%?66?%;font-weight:700}.order_delivery[data-v-f2d426fc]{padding:%?30?%;display:flex;justify-content:space-between;align-items:center}.order_delivery .delivery_info[data-v-f2d426fc]{width:%?300?%;display:flex;justify-content:space-between;align-items:center}.order_delivery .delivery_info .delivery_name[data-v-f2d426fc]{color:#666}.order_delivery .delivery_info .delivery_name_not[data-v-f2d426fc]{font-weight:700}.order_delivery .delivery_info uni-image[data-v-f2d426fc], .order_delivery .delivery_info uni-image[data-v-f2d426fc]{width:%?80?%;height:%?80?%}.order_delivery .delivery_phone[data-v-f2d426fc]{width:%?44?%;height:%?44?%;border-radius:100%;background:#e7e7e7;text-align:center;line-height:%?44?%;font-size:%?20?%;color:#666}.logistics .logisticsCon[data-v-f2d426fc]{margin:%?20?% 0}.logistics .logisticsCon .company[data-v-f2d426fc]{padding:%?30?% 0}.order_logistic[data-v-f2d426fc]{padding:%?30?%}.recip_info[data-v-f2d426fc]{border-bottom:1px dashed #d8d8d8;padding-bottom:%?30?%}.recip_info .title[data-v-f2d426fc]{font-size:%?30?%;font-weight:700;color:#282828;margin-bottom:%?30?%}.recip_info .items ~ .items[data-v-f2d426fc]{margin-top:%?24?%}.recip_info .items .conter[data-v-f2d426fc]{color:#999;width:%?460?%;text-align:right}.logistic_count[data-v-f2d426fc]{margin-top:%?30?%}.logistics .logisticsCon .item[data-v-f2d426fc]{padding:0 %?40?%;position:relative}.logistics .logisticsCon .item .circular[data-v-f2d426fc]{width:%?20?%;height:%?20?%;border-radius:50%;position:absolute;top:%?-1?%;left:%?31.5?%;background-color:#ddd}.logistics .logisticsCon .item .circular.on[data-v-f2d426fc]{color:#e93323;background-color:initial;font-size:%?30?%;left:%?30?%}.logistics .logisticsCon .item .text.on-font[data-v-f2d426fc]{color:#282828;font-size:%?30?%;font-weight:700}.logistics .logisticsCon .item .text .data.on-font[data-v-f2d426fc]{color:#282828;font-weight:400}.logistics .logisticsCon .item .text[data-v-f2d426fc]{font-size:%?26?%;color:#666;width:%?615?%;border-left:1px solid #e6e6e6;padding:0 0 %?60?% %?38?%}.logistics .logisticsCon .item .text.on[data-v-f2d426fc]{border-left-color:#f8c1bd}.logistics .logisticsCon .item .text .data[data-v-f2d426fc]{font-size:%?24?%;color:#999;margin-top:%?10?%}.logistics .logisticsCon .item .text .data .time[data-v-f2d426fc]{margin-left:%?15?%}',""]),e.exports=i},b193:function(e,i,t){"use strict";var n=t("d6d7"),s=t.n(n);s.a},d6d7:function(e,i,t){var n=t("af62");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var s=t("967d").default;s("3e47ef5e",n,!0,{sourceMap:!1,shadowMode:!1})},ff06:function(e,i,t){"use strict";t("6a54"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=t("5676"),s=t("8f59"),a=t("aa10"),o=t("e44d"),d={components:{},data:function(){return{orderId:"",code:"",status:0,deliveryInfo:{},expressList:[],domain:a.HTTP_REQUEST_URL}},computed:(0,s.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(i){var t=i.data.storeOrderStatus||{};e.$set(e,"deliveryInfo",i.data.storeOrder),e.$set(e,"code",i.data.finish_code),e.$set(e,"status",i.data.status),e.$set(e,"expressList",t||[])}))},call:function(){uni.makePhoneCall({phoneNumber:this.deliveryInfo.delivery_id})}}};i.default=d}}]);