(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/order/orderDetail"],{"0fbc":function(e,t,i){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i("02cb"),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(e){this.orderId=e.id,this.loadOrder()},computed:{payAllMoney:function(){return this.vipMoney+ +this.item.total_price}},methods:{expressCheck:function(t){e.navigateTo({url:"/pages/order/expressInfo?id="+t.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"])},4838:function(e,t,i){"use strict";var n;i.d(t,"b",(function(){return c})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return n}));var c=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}})},r=[]},"516a":function(e,t,i){"use strict";i.r(t);var n=i("0fbc"),c=i.n(n);for(var r in n)"default"!==r&&function(e){i.d(t,e,(function(){return n[e]}))}(r);t["default"]=c.a},"667c":function(e,t,i){},b96d:function(e,t,i){"use strict";var n=i("667c"),c=i.n(n);c.a},ce73:function(e,t,i){"use strict";(function(e){i("4c14");n(i("66fd"));var t=n(i("d9cc"));function n(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=i,e(t.default)}).call(this,i("543d")["createPage"])},d9cc:function(e,t,i){"use strict";i.r(t);var n=i("4838"),c=i("516a");for(var r in c)"default"!==r&&function(e){i.d(t,e,(function(){return c[e]}))}(r);i("b96d");var d,o=i("f0c5"),u=Object(o["a"])(c["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],d);t["default"]=u.exports}},[["ce73","common/runtime","common/vendor"]]]);