You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
10 KiB
1 line
10 KiB
1 year ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-refund-detail"],{"04b5":function(e,t,i){"use strict";i.r(t);var n=i("366d"),a=i("c622");for(var s in a)["default"].indexOf(s)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(s);i("0d8e");var l=i("f0c5"),r=Object(l["a"])(a["default"],n["b"],n["c"],!1,null,"6d21013a",null,!1,n["a"],void 0);t["default"]=r.exports},"0a19":function(e,t,i){var n=i("d8f3");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=i("4f06").default;a("2061a6a6",n,!0,{sourceMap:!1,shadowMode:!1})},"0d8e":function(e,t,i){"use strict";var n=i("0a19"),a=i.n(n);a.a},"22a1":function(e,t,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(i("c7eb")),s=n(i("1da1")),l=n(i("5530")),r=i("26cb"),o={components:{},data:function(){return{options:{},statusType:{1:"退款中",2:"退款成功",3:"退款失败"},detail:{},popupInfo:{}}},computed:(0,r.mapState)({primaryColor:function(e){return e.config.configInfo.primaryColor},subColor:function(e){return e.config.configInfo.subColor},configInfo:function(e){return e.config.configInfo},userInfo:function(e){return e.user.userInfo}}),onLoad:function(e){this.options=e,this.initIndex()},methods:(0,l.default)((0,l.default)({},(0,r.mapMutations)([""])),{},{initIndex:function(){var e=arguments,t=this;return(0,s.default)((0,a.default)().mark((function i(){var n,s;return(0,a.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(n=e.length>0&&void 0!==e[0]&&e[0],n||!t.$jweixin.isWechat()){i.next=5;break}return i.next=4,t.$jweixin.initJssdk();case 4:t.$jweixin.wxReady((function(){t.$jweixin.hideOptionMenu()}));case 5:return s=t.options.id,i.next=8,t.$api.order.refundOrderInfo({id:s});case 8:t.detail=i.sent,t.$util.setNavigationBarColor({bg:t.primaryColor});case 10:case"end":return i.stop()}}),i)})))()},initRefresh:function(){this.initIndex(!0)},toCancel:function(){var e=this;return(0,s.default)((0,a.default)().mark((function t(){var i,n,s,l;return(0,a.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:i=e.detail,n=i.order_code,s=i.order_goods,l=s[0].goods_cover,e.popupInfo={name:"退款单号:".concat(n),image:l},e.$refs.cancel_item.open();case 4:case"end":return t.stop()}}),t)})))()},confirmCancel:function(){var e=this;return(0,s.default)((0,a.default)().mark((function t(){var i;return(0,a.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.detail.id,!e.lockTap){t.next=3;break}return t.abrupt("return");case 3:return e.lockTap=!0,e.$util.showLoading(),t.prev=5,t.next=8,e.$api.order.cancelRefundOrder({id:i});case 8:e.$util.hideAll(),e.$util.showToast({title:"取消成功"}),e.lockTap=!1,e.$refs.cancel_item.close(),setTimeout((function(){e.$util.back(),e.$util.goUrl({url:1,openType:"navigateBack"})}),1e3),t.next=18;break;case 15:t.prev=15,t.t0=t["catch"](5),setTimeout((function(){e.lockTap=!1,e.$util.hideAll()}),2e3);case 18:case"end":return t.stop()}}),t,null,[[5,15]])})))()},toTel:function(){var e=this.configInfo.mobile;this.$util.goUrl({url:e,openType:"call"})},previewImage:function(e,t){this.$util.previewImage({current:e,urls:t})}})};t.default=o},"366d":function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return a})),i.d(t,"a",(function(){}));var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.detail.id?i("v-uni-view",{staticClass:"order-pages"},[i("v-uni-view",{staticClass:"item-child mt-md ml-lg mr-lg pd-lg fill-base f-paragraph c-base radius-16",style:{background:e.primaryColor}},[i("v-uni-view",{staticClass:"flex-y-baseline text-bold"},[e._v(e._s(e.statusType[e.detail.status])),2==e.detail.status?i("v-uni-view",{staticClass:"f-caption text-normal ml-md"},[e._v("退款金额¥"+e._s(e.detail.refund_price))]):e._e()],1)],1),i("v-uni-view",{staticClass:"address-info flex-warp mt-lg ml-lg mr-lg pd-lg fill-base radius-16"},[i("v-uni-view",{staticClass:"address-icon flex-center c-base radius",style:{background:"linear-gradient(to right,
|