| 1 |
- require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/after_sale_detail/after_sale_detail"],{"01f0":function(e,t,n){"use strict";n.r(t);var a=n("f170"),i=n.n(a);for(var u in a)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(u);t["default"]=i.a},"0ead":function(e,t,n){e.exports={red_theme:"#FF2C3C",orange_theme:"#f7971e",pink_theme:"#fa444d",gold_theme:"#e0a356",blue_theme:"#2f80ed",green_theme:"#2ec840"}},"38db":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return a}));var a={uSticky:function(){return n.e("components/uview-ui/components/u-sticky/u-sticky").then(n.bind(null,"3420"))},uNavbar:function(){return n.e("components/uview-ui/components/u-navbar/u-navbar").then(n.bind(null,"6331"))},uIcon:function(){return n.e("components/uview-ui/components/u-icon/u-icon").then(n.bind(null,"1340"))},uImage:function(){return n.e("components/uview-ui/components/u-image/u-image").then(n.bind(null,"566d"))},price:function(){return n.e("components/price/price").then(n.bind(null,"1266"))},uModal:function(){return n.e("components/uview-ui/components/u-modal/u-modal").then(n.bind(null,"e709"))}},i=function(){var e=this,t=e.$createElement,n=(e._self._c,1==e.detail.refund_method&&11==e.detail.sub_status?e.$getImageUri("/resource/image/shopapi/default/after_sale1.png"):null),a=1==e.detail.refund_method&&15==e.detail.sub_status?e.$getImageUri("/resource/image/shopapi/default/after_sale5.png"):null,i=2==e.detail.refund_method&&11==e.detail.sub_status?e.$getImageUri("/resource/image/shopapi/default/after_sale4.png"):null,u=2==e.detail.refund_method&&12==e.detail.sub_status?e.$getImageUri("/resource/image/shopapi/default/after_sale2.png"):null,r=2==e.detail.refund_method&&13==e.detail.sub_status?e.$getImageUri("/resource/image/shopapi/default/after_sale2.png"):null,o=2==e.detail.refund_method&&14==e.detail.sub_status?e.$getImageUri("/resource/image/shopapi/default/after_sale3.png"):null;e._isMounted||(e.e0=function(t){e.showCancel=!0},e.e1=function(t){e.showCancel=!1}),e.$mp.data=Object.assign({},{$root:{a0:{background:"rgba(256,256, 256,0)"},m0:n,m1:a,m2:i,m3:u,m4:r,m5:o,a1:{"border-left":"1rpx solid #e5e5e5"}}})},u=[]},"53ab":function(e,t,n){"use strict";n.r(t);var a=n("38db"),i=n("01f0");for(var u in i)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(u);n("ca43");var r=n("828b"),o=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);t["default"]=o.exports},"975f":function(e,t,n){"use strict";(function(e,t){var a=n("47a9");n("b46f");a(n("3240"));var i=a(n("53ab"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},ca43:function(e,t,n){"use strict";var a=n("0ead"),i=n.n(a);i.a},f170:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("0669"),i=n("7398"),u={data:function(){return{id:13,detail:{},address:"",showCancel:!1}},computed:{completeAddress:function(){return this.detail.return_address.province+this.detail.return_address.city+this.detail.return_address.district+this.detail.return_address.address}},methods:{gotoService:function(){this.$Router.push({path:"/bundle/pages/artificial_service/artificial_service"})},getRefundDetailFun:function(){var e=this;(0,a.apiAfterSaleDetail)({id:this.id}).then((function(t){e.detail=t;try{e.address=t.address+", "+t.return_contact+": "+t.return_contact_mobile}catch(n){console.log(n)}}))},cancelApplyFun:function(){var e=this;(0,a.apiAfterSaleCancel)({id:this.detail.master_id}).then((function(t){e.getRefundDetailFun()}))},toExpressInfo:function(e){this.$Router.push({path:"/bundle/pages/input_express_info/input_express_info",query:{id:this.detail.master_id,order_id:this.id,change:e}})},toApplyAfter:function(){this.$Router.push({path:"/bundle/pages/post_after_sale/post_after_sale",query:{id:this.detail.order_goods_id}})},onCopy:function(e){(0,i.copy)(e)},previewImage:function(t,n){console.log(a,n);var a=t.map((function(e){return e}));e.previewImage({current:n,urls:a})},handleDetail:function(){this.$Router.push({path:"/bundle/pages/express_detail/express_detail",query:{id:this.id}})}},onLoad:function(){var e=this.$Route.query;this.id=e.id,this.getRefundDetailFun()},onShow:function(){this.getRefundDetailFun()}};t.default=u}).call(this,n("df3c")["default"])}},[["975f","common/runtime","common/vendor"]]]);
|