(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-logisitcsInfo"],{"007b":function(e,t,n){"use strict";n.r(t);var r=n("c6bf"),a=n("fcf7");for(var o in a)"default"!==o&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("aa8e");var u,s=n("f0c5"),i=Object(s["a"])(a["default"],r["b"],r["c"],!1,null,"8f6a283a",null,!1,r["a"],u);t["default"]=i.exports},"0eb1":function(e,t,n){var r=n("24fb");t=r(!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/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */uni-page-body[data-v-8f6a283a]{background:#f8f8f8}.company[data-v-8f6a283a]{height:%?100?%;padding:0 %?30?%;display:flex;align-items:center;justify-content:space-between}.title[data-v-8f6a283a]{height:%?98?%;line-height:%?98?%;border-bottom:%?2?% solid #eee;padding:0 %?30?%;color:#666;display:flex;justify-content:space-between}.title--desc[data-v-8f6a283a]{color:#999}.group[data-v-8f6a283a]{padding:%?30?%}.item[data-v-8f6a283a]{padding-bottom:%?44?%;position:relative;padding-left:%?58?%}.item[data-v-8f6a283a]::before{display:block;width:%?10?%;height:%?10?%;content:"";border-radius:50%;border:%?6?% solid #ff875b;background:#fff;position:absolute;left:0}.item[data-v-8f6a283a]::after{display:block;content:"";height:calc(100% - %?38?%);width:1px;left:%?10?%;top:%?28?%;border-left:1px dashed #999;position:absolute}.item__last[data-v-8f6a283a]::after{display:none}.item--time[data-v-8f6a283a]{font-size:%?24?%;color:#999}.item--ctx[data-v-8f6a283a]{line-height:%?42?%;color:#666;margin-top:%?20?%}.goods-info__last[data-v-8f6a283a]{border:0}body.?%PAGE?%[data-v-8f6a283a]{background:#f8f8f8}',""]),e.exports=t},1880:function(e,t,n){"use strict";n("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{value:{type:String|Number,default:""}},methods:{copy:function(){uni.setClipboardData({data:this.value,showToast:!0})}}};t.default=r},"41ba":function(e,t,n){"use strict";n("ac1f"),n("466d"),Object.defineProperty(t,"__esModule",{value:!0}),t.IsDouble=t.IsInteger=t.IsNumber=t.IsPhone=t.Debounce=t.ToAsyncAwait=void 0;var r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t?e.then((function(e){return{error:null,result:e}})).catch((function(e){return{error:e,result:null}})):e};t.ToAsyncAwait=r;var a=function(e,t){var n;return function(){var r=this,a=arguments;n&&clearTimeout(n),n=setTimeout((function(){e.apply(r,a)}),t)}};t.Debounce=a;var o=function(e){return/^(1[3-9]\d{9})$/.test(e)};t.IsPhone=o;var u=function(e){return!(!isDouble(e)&&!isInteger(e))};t.IsNumber=u;var s=function(e){if(null==e||""==e)return!1;var t=e.match(/^[-\+]?\d+$/);return null!=t};t.IsInteger=s;var i=function(e){if(null==e||""==e)return!1;var t=e.match(/^[-\+]?\d+(\.\d+)?$/);return null!=t};t.IsDouble=i},5767:function(e,t,n){"use strict";var r=n("dbce"),a=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0});var o={};t.default=void 0;var u=a(n("5530")),s=r(n("41ba"));Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var i=r(n("d071"));Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var c=(0,u.default)((0,u.default)({},s),{},{requset:i});t.default=c},"5a25":function(e,t,n){"use strict";var r;n.r(t);var a,o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"ui-white-box"},[e._t("default")],2)},u=[],s=(n("c557"),n("f0c5")),i={},c=Object(s["a"])(i,o,u,!1,null,"7e14885a",null,!1,r,a);t["default"]=c.exports},"7cda":function(e,t,n){"use strict";n.r(t);var r=n("1880"),a=n.n(r);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=a.a},9631:function(e,t,n){var r=n("24fb");t=r(!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/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.ui-copy[data-v-56048d8a]{color:#ff512b;font-size:%?24?%}',""]),e.exports=t},9995:function(e,t,n){"use strict";var r=n("ba62"),a=n.n(r);a.a},aa8e:function(e,t,n){"use strict";var r=n("df79"),a=n.n(r);a.a},b64e:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("96cf");var a=r(n("1da1")),o=r(n("7932")),u=r(n("5a25")),s=n("c0d4"),i=r(n("d463")),c={components:{UiWhiteBox:u.default,UiGoodsInfo:o.default,UiCopy:i.default},data:function(){return{orderInfo:{}}},mounted:function(){this.getOrderProductInfo()},methods:{getOrderProductInfo:function(){var e=this;return(0,a.default)(regeneratorRuntime.mark((function t(){var n,r,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,s.ApiGetOrderLogistics)({orderId:e.$Route.query.orderId});case 2:if(n=t.sent,r=n.error,a=n.result,!r){t.next=8;break}return uni.$u.toast(r.message),t.abrupt("return",!1);case 8:e.orderInfo=a;case 9:case"end":return t.stop()}}),t)})))()}}};t.default=c},ba62:function(e,t,n){var r=n("9631");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var a=n("4f06").default;a("0369750b",r,!0,{sourceMap:!1,shadowMode:!1})},c557:function(e,t,n){"use strict";var r=n("dd95"),a=n.n(r);a.a},c6bf:function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return r}));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",[n("UiWhiteBox",e._l(e.orderInfo.products,(function(t,r){return n("UiGoodsInfo",{key:t.orderProductId,class:r===e.orderInfo.products.length-1?"goods-info__last":"",attrs:{data:t}})})),1),n("UiWhiteBox",{staticClass:"company"},[n("v-uni-text",{staticClass:"company--name"},[e._v(e._s(e.orderInfo.companyName))]),n("v-uni-view",{staticClass:"company--no"},[n("v-uni-text",[e._v(e._s(e.orderInfo.trackingNo))]),n("UiCopy",{attrs:{value:e.orderInfo.trackingNo}})],1)],1),n("UiWhiteBox",[n("v-uni-view",{staticClass:"title"},[n("v-uni-text",[e._v("物流信息")]),n("v-uni-text",{staticClass:"title--desc"},[e._v("本服务由快递100提供")])],1),n("v-uni-view",{staticClass:"group"},e._l(e.orderInfo.logisticsDataList,(function(t,r){return n("v-uni-view",{key:r,staticClass:"item",class:r===e.orderInfo.logisticsDataList.length-1?"item__last":""},[n("v-uni-view",{staticClass:"item--time"},[e._v(e._s(t.time))]),n("v-uni-view",{staticClass:"item--ctx"},[e._v(e._s(t.context))])],1)})),1)],1)],1)},o=[]},c997:function(e,t,n){var r=n("24fb");t=r(!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/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.ui-white-box[data-v-7e14885a]{margin:%?20?% %?30?%;background:#fff;border-radius:%?20?%}',""]),e.exports=t},d071:function(e,t,n){"use strict";var r=n("4ea4");n("4de4"),n("caad"),n("d3b7"),n("ac1f"),n("2532"),n("38cf"),n("5319"),Object.defineProperty(t,"__esModule",{value:!0}),t.MsbRequestTk=t.MsbRequest=void 0;var a=r(n("5530")),o=r(n("fda4")),u=r(n("4308")),s="test",i={test:"https://k8s-horse-gateway.mashibing.cn",release:"",prod:""},c=function(e,t){if(v(t),200===e.statusCode){var n=e.data;return"SUCCESS"===n.code?n.data:"TOKEN_EXPIRE"===n.code?(uni.navigateTo({url:"/login"}),n):Promise.reject(n)}return e},d=function(e,t){return v(t),{message:e.errMsg,code:e.statusCode}},f=[],l=function(e){var t={url:e.url,method:e.method,data:e.data};return f.includes(JSON.stringify(t))?Promise.reject({message:"请勿频繁操作"}):(f.push(JSON.stringify(t)),!1)},v=function(e){f=f.filter((function(t){return t!==JSON.stringify({url:e.url,method:e.method,data:e.data})}))},p=new o.default;t.MsbRequest=p,p.baseUrl=i[s],p.use("request",(function(e){if(e.header.repeat){var t=l(e);if(t)return t}return e})),p.use("success",c),p.use("error",d);var h=new o.default;t.MsbRequestTk=h,h.baseUrl=i[s],h.use("request",(function(e){var t=u.default.state.token;if(t){if(e.header=(0,a.default)((0,a.default)({},e.header),{},{Authorization:t}),e.header.repeat){var n=l(e);if(n)return n}return e}var r=getCurrentPages(),o=r[r.length-1];return o.$Router.replace("/login"),Promise.reject({message:"要先登录才能操作哦~"})})),h.use("success",c),h.use("error",d)},d463:function(e,t,n){"use strict";n.r(t);var r=n("ec63"),a=n("7cda");for(var o in a)"default"!==o&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("9995");var u,s=n("f0c5"),i=Object(s["a"])(a["default"],r["b"],r["c"],!1,null,"56048d8a",null,!1,r["a"],u);t["default"]=i.exports},dd95:function(e,t,n){var r=n("c997");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var a=n("4f06").default;a("36cf71ae",r,!0,{sourceMap:!1,shadowMode:!1})},df79:function(e,t,n){var r=n("0eb1");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var a=n("4f06").default;a("2d0a1e86",r,!0,{sourceMap:!1,shadowMode:!1})},ec63:function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return r}));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-text",{staticClass:"ui-copy",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.copy.apply(void 0,arguments)}}},[e._v("复制")])},o=[]},fcf7:function(e,t,n){"use strict";n.r(t);var r=n("b64e"),a=n.n(r);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=a.a},fda4:function(e,t,n){"use strict";var r=n("4ea4");n("d3b7"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("5530")),o=r(n("d4ec")),u=r(n("bee2")),s=function(){function e(t){(0,o.default)(this,e),this.baseUrl="",this.header={repeat:!0},this.hook={request:null,success:null,error:null}}return(0,u.default)(e,[{key:"method",value:function(e){var t=this;if(e.header=(0,a.default)((0,a.default)({},this.header),e.header),e.url=this.baseUrl+e.url,this.hook.request&&(e=this.hook.request(e)),!e)throw new Error("没有请求配置,或是request拦截未做return");return e.constructor===Promise?e:new Promise((function(n,r){uni.request((0,a.default)((0,a.default)({},e),{},{success:function(a){var o=a||a[1];if(o.statusCode>=200&&o.statusCode<400){if(t.hook.success){var u=t.hook.success(o,e);u&&u.constructor===Promise?u.then((function(e){n(e)}),(function(e){r(e)})):n(u)}else n(o);return!1}r(t.hook.error?t.hook.error(o,e):o)},fail:function(n){r(t.hook.error?t.hook.error(n,e):n)}}))}))}},{key:"use",value:function(e,t){this.hook[e]=t}},{key:"get",value:function(e,t,n){return this.method({method:"GET",url:e,data:t,header:n})}},{key:"post",value:function(e,t,n){return this.method({method:"POST",url:e,data:t,header:n})}},{key:"put",value:function(e,t,n){return this.method({method:"PUT",url:e,data:t,header:n})}},{key:"delete",value:function(e,t,n){return this.method({method:"DELETE",url:e,data:t,header:n})}}]),e}(),i=s;t.default=i}}]);