bundle-pages-cancel_result-cancel_result.468083ef.js 5.8 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bundle-pages-cancel_result-cancel_result"],{"010e":function(e,t,a){"use strict";var n=a("b0c5"),i=a.n(n);i.a},2662:function(e,t,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a("2634")),o=n(a("2fdc"));a("bf0f"),a("aa9c"),a("5c47"),a("a1c1"),a("45da");var s=a("e585"),c=n(a("4632")),r={data:function(){return{passType:"",reason:[]}},computed:{showReason:function(){var e=this;return function(t){return console.log(e.reason),e.reason.some((function(e){return e==t}))}}},methods:{handleReason:function(e){for(var t in e)0==e[t]["pass"]&&this.reason.push(t)},handleComfirm:function(){this.$Router.replaceAll({path:"/pages/index/index"})},handleBack:function(){this.$Router.replaceAll({path:"/pages/user/user"})}},onLoad:function(){var e=this;return(0,o.default)((0,i.default)().mark((function t(){var a,n,o;return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.$Route.query.pass,e.passType=a,1!=a){t.next=4;break}return t.abrupt("return",c.default.commit("logout"));case 4:return t.next=6,(0,s.apiuserDeletecheck)();case 6:n=t.sent,o=n.data,e.handleReason(o);case 9:case"end":return t.stop()}}),t)})))()}};t.default=r},"72eb":function(e,t,a){"use strict";a.r(t);var n=a("8165"),i=a("da0e");for(var o in i)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(o);a("010e");var s=a("828b"),c=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"db3ce77e",null,!1,n["a"],void 0);t["default"]=c.exports},8165:function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){}));var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{class:e.themeName},[1==e.passType?a("v-uni-view",{staticClass:"success"},[a("v-uni-image",{staticClass:"img m-b-40",staticStyle:{"margin-top":"150rpx"},attrs:{src:"/static/images/icon_success.png"}}),a("v-uni-view",{staticClass:"m-t-40 m-b-40"},[e._v("注销完成")]),a("v-uni-view",[e._v("你的所有信息都已清空")]),a("v-uni-button",{staticClass:"btn",style:{"background-color":e.themeColor},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleComfirm.apply(void 0,arguments)}}},[e._v("确定")])],1):e._e(),0==e.passType?a("v-uni-view",{staticStyle:{padding:"0 42rpx"}},[a("v-uni-view",{staticClass:"fail"},[a("v-uni-image",{staticClass:"img m-b-20",staticStyle:{"margin-top":"50rpx"},attrs:{src:"/static/images/icon_fail.png"}}),a("v-uni-view",{staticClass:"m-t-40 m-b-20 tip"},[e._v("抱歉,无法注销")]),a("v-uni-view",[e._v("很遗憾,由于以下原因,导致账号无法注销")])],1),a("v-uni-view",{staticStyle:{"margin-top":"50rpx"}},[e.showReason("status")?[a("v-uni-view",{staticClass:"fail-body"},[e._v("账号冻结中")]),a("v-uni-view",{staticClass:"muted"},[e._v("你的账号处于冻结状态,暂时无法申请注销,可联系客服进行处理。")])]:e._e(),e.showReason("order")?[a("v-uni-view",{staticClass:"fail-body"},[e._v("存在未完成订单")]),a("v-uni-view",{staticClass:"muted"},[e._v("发现你的账号内有未处理完成的商城订单,待完成后可重新提交申请。")])]:e._e(),e.showReason("after_sale")?[a("v-uni-view",{staticClass:"fail-body"},[e._v("存在售后中订单")]),a("v-uni-view",{staticClass:"muted"},[e._v("发现你的账号内有订单处于售后中,待商家处理完成后可重新提交申请。")])]:e._e(),e.showReason("withdraw")?[a("v-uni-view",{staticClass:"fail-body"},[e._v("存在佣金待提现申请")]),a("v-uni-view",{staticClass:"muted"},[e._v("发现你的账号内有佣金处于待提现中,待商家处理完成后可重新提交申请。")])]:e._e()],2),a("v-uni-button",{staticClass:"btn",style:{"background-color":e.themeColor},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleBack.apply(void 0,arguments)}}},[e._v("返回个人中心")])],1):e._e()],1)},i=[]},b0c5:function(e,t,a){var n=a("c9ae");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("967d").default;i("50de9f03",n,!0,{sourceMap:!1,shadowMode:!1})},c9ae:function(e,t,a){var n=a("c86c");t=n(!1),t.push([e.i,"@charset \"UTF-8\";\n/* 颜色变量 */\n/** S Font's size **/\n/** E Font's size **/[data-v-db3ce77e]:export{red_theme:#ff2c3c;orange_theme:#f7971e;pink_theme:#fa444d;gold_theme:#e0a356;blue_theme:#2f80ed;green_theme:#2ec840}uni-page-body[data-v-db3ce77e]{height:100%;background-color:#fff;padding-bottom:0}body.?%PAGE?%[data-v-db3ce77e]{background-color:#fff}uni-page-body .img[data-v-db3ce77e]{width:%?120?%;height:%?120?%}uni-page-body .success[data-v-db3ce77e]{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:%?36?%}uni-page-body .btn[data-v-db3ce77e]{height:%?80?%;line-height:%?80?%;color:#fff;font-size:%?28?%;position:fixed;bottom:env(safe-area-inset-bottom);bottom:constant(safe-area-inset-bottom);left:%?42?%;right:%?42?%}.red_theme uni-page-body .btn[data-v-db3ce77e]{background-color:#ff2c3c}.orange_theme uni-page-body .btn[data-v-db3ce77e]{background-color:#f7971e}.pink_theme uni-page-body .btn[data-v-db3ce77e]{background-color:#fa444d}.gold_theme uni-page-body .btn[data-v-db3ce77e]{background-color:#e0a356}.blue_theme uni-page-body .btn[data-v-db3ce77e]{background-color:#2f80ed}.green_theme uni-page-body .btn[data-v-db3ce77e]{background-color:#2ec840}uni-page-body .fail[data-v-db3ce77e]{display:flex;flex-direction:column;justify-content:center;align-items:center}uni-page-body .fail .tip[data-v-db3ce77e]{font-size:%?36?%}uni-page-body .fail-body[data-v-db3ce77e]{font-size:%?32?%;margin-top:%?50?%}",""]),e.exports=t},da0e:function(e,t,a){"use strict";a.r(t);var n=a("2662"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(o);t["default"]=i.a}}]);