1 line
20 KiB
JavaScript
1 line
20 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bundle-pages-goods_logistics-goods_logistics"],{"0057":function(e,t,i){"use strict";var s=i("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.getCouponList=n,t.getCoupon=r,t.getOrderCoupon=o,t.getMyCoupon=c,t.getActivityGoodsLists=d,t.getSeckillTime=u,t.getSeckillGoods=l,t.getGroupList=g,t.getUserGroup=f,t.getTeamInfo=v,t.teamKaiTuan=p,t.teamCheck=m,t.teamBuy=I,t.getBargainList=b,t.getBargainDetail=w,t.getBargainNumber=h,t.launchBargain=x,t.getBargainActivityList=y,t.getBargainActivityDetail=_,t.getBargainPost=C,t.helpBargain=S,t.closeBargainOrder=k,t.getSignLists=j,t.getSignRule=N,t.userSignIn=D,t.getIntegralGoods=B,t.getIntegralGoodsDetail=M,t.integralSettlement=P,t.integralSubmitOrder=H,t.getIntegralOrder=T,t.delIntegralOrder=Z,t.getIntegralOrderDetail=G,t.cancelIntegralOrder=A,t.confirmIntegralOrder=L,t.getIntegralOrderTraces=J;var a=s(i("b175"));i("357b");function n(e){return a.default.get("coupon/getCouponList",{params:e})}function r(e){return a.default.post("coupon/getCoupon",{coupon_id:e})}function o(e){return a.default.post("coupon/getBuyCouponList",e)}function c(e){return a.default.get("coupon/myCouponList",{params:e})}function d(e){return a.default.get("activity_area/activityGoodsList",{params:e})}function u(){return a.default.get("seckill_goods/getSeckillTime")}function l(e){return a.default.get("seckill_goods/getSeckillGoods",{params:e})}function g(e){return a.default.get("team/activity",{params:e})}function f(e){return a.default.get("team/record",{params:e})}function v(e){return a.default.get("team/teamInfo",{params:e})}function p(e){return a.default.post("team/kaituan",e)}function m(e){return a.default.post("team/check",e)}function I(e){return a.default.post("team/buy",e)}function b(e){return a.default.get("bargain/lists",{params:e})}function w(e){return a.default.get("bargain/detail",{params:e})}function h(){return a.default.get("bargain/barginNumber")}function x(e){return a.default.post("bargain/sponsor",e)}function y(e){return a.default.get("bargain/orderList",{params:e})}function _(e){return a.default.get("bargain/bargainDetail",{params:e})}function C(e){return a.default.get("share/shareBargain",{params:e})}function S(e){return a.default.post("bargain/knife",e)}function k(e){return a.default.get("bargain/closeBargain",{params:e})}function j(){return a.default.get("sign/lists")}function N(){return a.default.get("sign/rule")}function D(){return a.default.get("sign/sign")}function B(e){return a.default.get("integral_goods/lists",{params:e})}function M(e){return a.default.get("integral_goods/detail",{params:e})}function P(e){return a.default.get("integral_order/settlement",{params:e})}function H(e){return a.default.post("integral_order/submitOrder",e)}function T(e){return a.default.get("integral_order/lists",{params:e})}function Z(e){return a.default.post("integral_order/del",{id:e})}function G(e){return a.default.get("integral_order/detail",{params:{id:e}})}function A(e){return a.default.post("integral_order/cancel",{id:e})}function L(e){return a.default.post("integral_order/confirm",{id:e})}function J(e){return a.default.get("integral_order/orderTraces",{params:{id:e}})}},"0760":function(e,t,i){"use strict";i.r(t);var s=i("55d5"),a=i.n(s);for(var n in s)"default"!==n&&function(e){i.d(t,e,(function(){return s[e]}))}(n);t["default"]=a.a},"2da8":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s={data:function(){return{}},props:{type:{type:String,default:"fixed"},backgroundColor:{type:String,default:"#fff"}},methods:{}};t.default=s},"3c30":function(e,t,i){var s=i("b2f6");"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var a=i("4f06").default;a("458e8b29",s,!0,{sourceMap:!1,shadowMode:!1})},"4d7d":function(e,t,i){"use strict";var s=i("55c6"),a=i.n(s);a.a},"4ee9":function(e,t,i){"use strict";i.r(t);var s=i("e502"),a=i.n(s);for(var n in s)"default"!==n&&function(e){i.d(t,e,(function(){return s[e]}))}(n);t["default"]=a.a},"55c6":function(e,t,i){var s=i("a00d");"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var a=i("4f06").default;a("16791d4e",s,!0,{sourceMap:!1,shadowMode:!1})},"55d5":function(e,t,i){"use strict";i("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s={name:"u-loading",props:{mode:{type:String,default:"circle"},color:{type:String,default:"#c7c7c7"},size:{type:[String,Number],default:"34"},show:{type:Boolean,default:!0}},computed:{cricleStyle:function(){var e={};return e.width=this.size+"rpx",e.height=this.size+"rpx","circle"==this.mode&&(e.borderColor="#e4e4e4 #e4e4e4 #e4e4e4 ".concat(this.color?this.color:"#c7c7c7")),e}}};t.default=s},"61c0":function(e,t,i){"use strict";var s;i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return s}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.show?i("v-uni-view",{staticClass:"u-loading",class:"circle"==e.mode?"u-loading-circle":"u-loading-flower",style:[e.cricleStyle]}):e._e()},n=[]},"778d":function(e,t,i){"use strict";i.r(t);var s=i("61c0"),a=i("0760");for(var n in a)"default"!==n&&function(e){i.d(t,e,(function(){return a[e]}))}(n);i("4d7d");var r,o=i("f0c5"),c=Object(o["a"])(a["default"],s["b"],s["c"],!1,null,"60256ec8",null,!1,s["a"],r);t["default"]=c.exports},"839b":function(e,t,i){"use strict";i.r(t);var s=i("dfd6"),a=i("4ee9");for(var n in a)"default"!==n&&function(e){i.d(t,e,(function(){return a[e]}))}(n);i("d046");var r,o=i("f0c5"),c=Object(o["a"])(a["default"],s["b"],s["c"],!1,null,"c2397ba2",null,!1,s["a"],r);t["default"]=c.exports},8478:function(e,t,i){"use strict";i.r(t);var s=i("888a"),a=i("d2f9");for(var n in a)"default"!==n&&function(e){i.d(t,e,(function(){return a[e]}))}(n);i("d9f2");var r,o=i("f0c5"),c=Object(o["a"])(a["default"],s["b"],s["c"],!1,null,"4e10ea18",null,!1,s["a"],r);t["default"]=c.exports},"888a":function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return s}));var s={uLoading:i("778d").default},a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{class:"loading "+("flex"==e.type?"flex":""),style:{backgroundColor:e.backgroundColor}},[i("u-loading",{attrs:{mode:"flower",size:60}})],1)},n=[]},a00d:function(e,t,i){var s=i("24fb");t=s(!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/* 行为相关颜色 */.u-loading-circle[data-v-60256ec8]{display:inline-flex;vertical-align:middle;width:%?28?%;height:%?28?%;background:0 0;border-radius:50%;border:2px solid;border-color:#e5e5e5 #e5e5e5 #e5e5e5 #8f8d8e;-webkit-animation:u-circle-data-v-60256ec8 1s linear infinite;animation:u-circle-data-v-60256ec8 1s linear infinite}.u-loading-flower[data-v-60256ec8]{width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:a 1s steps(12) infinite;animation:u-flower-data-v-60256ec8 1s steps(12) infinite;background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat;background-size:100%}@-webkit-keyframes u-flower-data-v-60256ec8{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes u-flower-data-v-60256ec8{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes u-circle-data-v-60256ec8{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',""]),e.exports=t},b2f6:function(e,t,i){var s=i("24fb");t=s(!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/* 行为相关颜色 */.goods-logistics[data-v-c2397ba2]{padding-top:%?20?%}.goods-logistics .header[data-v-c2397ba2]{padding:%?20?%}.goods-logistics .header .goods-img[data-v-c2397ba2]{width:%?160?%;height:%?160?%;flex:none;border-radius:%?10?%}.goods-logistics .goods[data-v-c2397ba2]{position:relative}.goods-logistics .goods .count[data-v-c2397ba2]{position:absolute;bottom:0;width:100%;text-align:center;background-color:rgba(0,0,0,.6);padding:%?4?% 0}.goods-logistics .express[data-v-c2397ba2]{width:%?700?%;padding-top:%?30?%;padding-bottom:%?100?%;margin:0 auto;border-radius:%?10?%}.goods-logistics .express-address[data-v-c2397ba2],\n.goods-logistics .express-item[data-v-c2397ba2]{align-items:flex-start;position:relative;padding:%?20?% 0}.goods-logistics .express-left[data-v-c2397ba2]{margin-top:%?10?%;margin-right:%?24?%;height:100%;position:absolute;width:%?40?%;flex:none}.goods-logistics .express-left .express-icon[data-v-c2397ba2]{width:%?40?%;height:%?40?%}.goods-logistics .express-left .express-line[data-v-c2397ba2]{flex:1;border-left:1px dotted #e5e5e5}.goods-logistics .express-left .express-doted[data-v-c2397ba2]{width:%?16?%;height:%?16?%;border-radius:50%;background-color:#e5e5e5}.goods-logistics .express-right[data-v-c2397ba2]{padding-left:%?60?%}.goods-logistics .express-right .title[data-v-c2397ba2],\n.goods-logistics .express-right .dec[data-v-c2397ba2]{margin-bottom:%?5?%}.goods-logistics .express-item:last-of-type .express-left .express-line[data-v-c2397ba2]{border:none}',""]),e.exports=t},d046:function(e,t,i){"use strict";var s=i("3c30"),a=i.n(s);a.a},d2f9:function(e,t,i){"use strict";i.r(t);var s=i("2da8"),a=i.n(s);for(var n in s)"default"!==n&&function(e){i.d(t,e,(function(){return s[e]}))}(n);t["default"]=a.a},d9f2:function(e,t,i){"use strict";var s=i("e712"),a=i.n(s);a.a},df758:function(e,t,i){"use strict";var s=i("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.orderInfo=n,t.orderBuy=r,t.delOrder=o,t.getOrderList=c,t.getOrderDetail=d,t.cancelOrder=u,t.orderTraces=l,t.confirmOrder=g,t.getPayResult=f;var a=s(i("b175"));i("357b");function n(e){return a.default.post("order/settlement",e)}function r(e){return a.default.post("order/submit_order",e)}function o(e){return a.default.post("order/del",{id:e})}function c(e){return a.default.get("order/lists",{params:e})}function d(e){return a.default.get("order/getOrderDetail",{params:{id:e}})}function u(e){return a.default.post("order/cancel",{id:e})}function l(e){return a.default.get("order/orderTraces",{params:{id:e}})}function g(e){return a.default.post("order/confirm",{id:e})}function f(e){return a.default.get("order/pay_result",{params:e})}},dfd6:function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return s}));var s={loadingView:i("8478").default},a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",[i("v-uni-view",{staticClass:"goods-logistics p-t-20"},[i("v-uni-view",{staticClass:"header flex bg-white"},[i("v-uni-view",{staticClass:"goods m-r-20"},[i("v-uni-image",{staticClass:"goods-img",attrs:{src:e.order.image}}),i("v-uni-view",{staticClass:"count xs white br60"},[e._v("共"+e._s(e.order.count)+"件商品")])],1),i("v-uni-view",{staticClass:"info sm"},[i("v-uni-view",{staticClass:"bold lg"},[e._v(e._s(e.order.tips))]),i("v-uni-view",{staticClass:"black m-t-10 m-b-10"},[e._v("物流公司:"+e._s(e.order.shipping_name))]),i("v-uni-view",{staticClass:"row"},[i("v-uni-text",{staticClass:"black"},[e._v("快递单号:"+e._s(e.order.invoice_no))]),i("v-uni-text",{staticClass:"primary m-l-20",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onCopy.apply(void 0,arguments)}}},[e._v("复制")])],1)],1)],1),i("v-uni-view",{staticClass:"main m-t-20 bg-white column"},[i("v-uni-view",{staticClass:"express"},[e.take.contacts?i("v-uni-view",{staticClass:"express-address row"},[i("v-uni-view",{staticClass:"express-left flex-col col-center"},[i("v-uni-image",{staticClass:"express-icon",attrs:{src:e.finish.tips?"/bundle/static/logistics_address.png":"/bundle/static/logistics_address_gray.png"}}),i("v-uni-view",{staticClass:"express-line"})],1),i("v-uni-view",{staticClass:"express-right"},[i("v-uni-view",{staticClass:"name bold mb10 sm"},[e._v(e._s(e.take.contacts)+" "+e._s(e.take.mobile))]),i("v-uni-view",{staticClass:"address sm lighter line2"},[e._v(e._s(e.take.address))])],1)],1):e._e(),e.finish.tips?i("v-uni-view",{staticClass:"express-item row"},[i("v-uni-view",{staticClass:"express-left flex-col col-center"},[i("v-uni-image",{staticClass:"express-icon",attrs:{src:"/bundle/static/logistics_success.png"}}),i("v-uni-view",{staticClass:"express-line"})],1),i("v-uni-view",{staticClass:"express-right"},[i("v-uni-view",{staticClass:"title bold sm"},[e._v(e._s(e.finish.title))]),i("v-uni-view",{staticClass:"dec sm"},[e._v(e._s(e.finish.tips))]),i("v-uni-view",{staticClass:"time xs muted"},[e._v(e._s(e.finish.time))])],1)],1):e._e(),e.delivery.traces&&e.delivery.traces.length?i("v-uni-view",{staticClass:"express-item row"},[i("v-uni-view",{staticClass:"express-left flex-col col-center"},[i("v-uni-image",{staticClass:"express-icon",attrs:{src:"/bundle/static/logistics_transit.png"}}),i("v-uni-view",{staticClass:"express-line"})],1),i("v-uni-view",{staticClass:"express-right muted"},[i("v-uni-view",{staticClass:"title bold sm "},[e._v(e._s(e.delivery.title))]),e.delivery.traces[0][0]?i("v-uni-view",{staticClass:"xs"},[e._v(e._s(e.delivery.traces[0][0]))]):e._e(),e.delivery.traces[0][1]?i("v-uni-view",{staticClass:"xs"},[e._v(e._s(e.delivery.traces[0][1]))]):e._e(),e.delivery.traces[0][2]?i("v-uni-view",{staticClass:"xs"},[e._v(e._s(e.delivery.traces[0][2]))]):e._e()],1)],1):e._e(),e._l(e.delivery.traces,(function(t,s){return[s>=1?i("v-uni-view",{key:s+"_0",staticClass:"express-item row"},[i("v-uni-view",{staticClass:"express-left flex-col col-center"},[i("v-uni-view",{staticClass:"express-doted"}),i("v-uni-view",{staticClass:"express-line"})],1),i("v-uni-view",{staticClass:"express-right muted"},[t[0]?i("v-uni-view",{staticClass:"sm"},[e._v(e._s(t[0]))]):e._e(),t[1]?i("v-uni-view",{staticClass:"sm"},[e._v(e._s(t[1]))]):e._e(),t[2]?i("v-uni-view",{staticClass:"sm"},[e._v(e._s(t[2]))]):e._e()],1)],1):e._e()]})),e.shipment.tips?i("v-uni-view",{staticClass:"express-item row"},[i("v-uni-view",{staticClass:"express-left flex-col col-center"},[i("v-uni-image",{staticClass:"express-icon",attrs:{src:"/bundle/static/logistics_delivered.png"}}),i("v-uni-view",{staticClass:"express-line"})],1),i("v-uni-view",{staticClass:"express-right muted"},[i("v-uni-view",{staticClass:"title bold sm"},[e._v(e._s(e.shipment.title))]),i("v-uni-view",{staticClass:"dec xs"},[e._v(e._s(e.shipment.tips))]),i("v-uni-view",{staticClass:"time xs muted"},[e._v(e._s(e.shipment.time))])],1)],1):e._e(),e.buy.tips?i("v-uni-view",{staticClass:"express-item row"},[i("v-uni-view",{staticClass:"express-left flex-col col-center"},[i("v-uni-image",{staticClass:"express-icon",attrs:{src:"/bundle/static/logistics_pay.png"}}),i("v-uni-view",{staticClass:"express-line"})],1),i("v-uni-view",{staticClass:"express-right muted"},[i("v-uni-view",{staticClass:"title bold sm"},[e._v(e._s(e.buy.title))]),i("v-uni-view",{staticClass:"dec xs"},[e._v(e._s(e.buy.tips))]),i("v-uni-view",{staticClass:"time xs muted"},[e._v(e._s(e.buy.time))])],1)],1):e._e()],2)],1)],1),i("recommend"),e.isFirstLoading?i("loading-view"):e._e()],1)},n=[]},e502:function(e,t,i){"use strict";var s=i("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("96cf");var a=s(i("1da1")),n=i("df758"),r=i("0057"),o=i("357b"),c={data:function(){return{shipment:{},buy:{},delivery:{},finish:{},order:{},take:{},isFirstLoading:!0}},onLoad:function(){this.id=this.$Route.query.id,this.type=this.$Route.query.type,this.orderTracesFun()},methods:{orderTracesFun:function(){var e=this;return(0,a.default)(regeneratorRuntime.mark((function t(){var i,s,a,o,c,d,u,l,g;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("integral"!=e.type){t.next=6;break}return t.next=3,(0,r.getIntegralOrderTraces)(e.id);case 3:t.t0=t.sent,t.next=9;break;case 6:return t.next=8,(0,n.orderTraces)(e.id);case 8:t.t0=t.sent;case 9:i=t.t0,s=i.code,a=i.data,o=a.shipment,c=a.buy,d=a.delivery,u=a.finish,l=a.order,g=a.take,1==s?(e.shipment=o,e.buy=c,e.delivery=d,e.finish=u,e.order=l,e.take=g,e.isFirstLoading=!1):setTimeout((function(){return uni.navigateBack()}),1e3);case 19:case"end":return t.stop()}}),t)})))()},onCopy:function(){(0,o.copy)(this.order.invoice_no)}}};t.default=c},e712:function(e,t,i){var s=i("f4a2");"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var a=i("4f06").default;a("c635eb4a",s,!0,{sourceMap:!1,shadowMode:!1})},f4a2:function(e,t,i){var s=i("24fb");t=s(!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/* 行为相关颜色 */.loading[data-v-4e10ea18]{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999;display:flex;justify-content:center;align-items:center}.loading.flex[data-v-4e10ea18]{position:static;flex:1;width:100%}.loading .loading-img[data-v-4e10ea18]{width:%?100?%;height:%?100?%}',""]),e.exports=t}}]); |