(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/order/orderDetail"],{6602:function(e,t,i){"use strict";(function(e,t){var n=i("4ea4");i("12d5");n(i("66fd"));var c=n(i("bbfd"));e.__webpack_require_UNI_MP_PLUGIN__=i,t(c.default)}).call(this,i("bc2e")["default"],i("543d")["createPage"])},"78b1":function(e,t,i){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i("1b3d"),c={filters:{orderType:function(e){return e.combination_id>0?"拼团订单":e.seckill_id>0?"秒杀订单":e.bargain_id>0?"砍价订单":"普通订单"}},data:function(){return{refund:"",reason:"",value:["1","2","3","4","5","6","7","8",9,10,11,12,13],orderId:"",item:{_status:{}},status:[],vipMoney:0,addressImg:"data:image/png;base64,[encoded data, 4176 characters]"}},onLoad:function(t){var i=this;if(t.id&&(this.orderId=t.id,this.loadOrder()),t.oid){var n=e.getStorageSync("orderInfo");this.item=n,this.item.cartInfo.forEach((function(e){i.vipMoney+=e.vip_truePrice})),this.status=n._status}},computed:{payAllMoney:function(){return this.vipMoney+ +this.item.total_price}},methods:{expressCheck:function(t){e.navigateTo({url:"/pages/order/expressInfo?id="+t.order_id})},loadOrder:function(){var e=this,t=this;(0,n.orderDetail)({},t.orderId).then((function(i){t.item=i.data,t.item.cartInfo.forEach((function(e){t.vipMoney+=e.vip_truePrice})),e.status=i.data._status,console.log(i)}))},towuliu:function(e){var t=e.delivery_id;window.location.href="https://m.kuaidi100.com/result.jsp?nu="+t},evaluate:function(t){var i=t.unique,n=t.is_reply;0==n?e.navigateTo({url:"/pages/order/evaluate?unique="+i}):e.showToast({title:"已评价！",duration:1500,icon:"none"})},copyOrderId:function(t){e.setClipboardData({data:t,success:function(t){e.showToast({title:"复制成功",duration:1500})}})}}};t.default=c}).call(this,i("543d")["default"])},9752:function(e,t,i){"use strict";var n=i("dbfc"),c=i.n(n);c.a},a40e:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return c})),i.d(t,"a",(function(){}));var n=function(){var e=this,t=e.$createElement,i=(e._self._c,e._f("orderType")(e.item));e._isMounted||(e.e0=function(t){"express"==e.item.delivery_type&&e.towuliu(e.item)}),e.$mp.data=Object.assign({},{$root:{f0:i}})},c=[]},bbfd:function(e,t,i){"use strict";i.r(t);var n=i("a40e"),c=i("cc43");for(var r in c)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return c[e]}))}(r);i("9752");var d=i("f0c5"),o=Object(d["a"])(c["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);t["default"]=o.exports},cc43:function(e,t,i){"use strict";i.r(t);var n=i("78b1"),c=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);t["default"]=c.a},dbfc:function(e,t,i){}},[["6602","common/runtime","common/vendor"]]]);