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 lines
2.3 KiB
1 lines
2.3 KiB
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/user_cancellation/index"],{"0aea":function(n,t,e){"use strict";var i=e("6897"),a=e.n(i);a.a},6897:function(n,t,e){},"94ff":function(n,t,e){"use strict";e.r(t);var i=e("eb55"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(o);t["default"]=a.a},ba85:function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){}));var i=function(){var n=this,t=n.$createElement;n._self._c;n._isMounted||(n.e0=function(t){n.inAnimation=!1},n.e1=function(t){n.isCancellation=!1},n.e2=function(t){n.isCancellation=!1})},a=[]},c0f5:function(n,t,e){"use strict";(function(n,t){var i=e("47a9");e("7561");i(e("3240"));var a=i(e("e9fe"));n.__webpack_require_UNI_MP_PLUGIN__=e,t(a.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},e9fe:function(n,t,e){"use strict";e.r(t);var i=e("ba85"),a=e("94ff");for(var o in a)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(o);e("0aea");var c=e("828b"),u=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"26b8ef13",null,!1,i["a"],void 0);t["default"]=u.exports},eb55:function(n,t,e){"use strict";(function(n){var i=e("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(e("cef6")),o=e("77d7"),c={mixins:[a.default],components:{tuiModal:function(){e.e("components/tui-modal/index").then(function(){return resolve(e("ac66"))}.bind(null,e)).catch(e.oe)}},data:function(){return{isCancellation:!1,agreementData:"",protocol:!1,inAnimation:!1}},onLoad:function(){this.getAgreement()},onShow:function(){n.removeStorageSync("form_type_cart")},methods:{ChangeIsDefault:function(n){this.$set(this,"protocol",!this.protocol)},getAgreement:function(){var n=this;(0,o.getUserAgreement)("cancel").then((function(t){n.agreementData=t.data}))},next:function(){this.protocol?this.isCancellation=!0:this.$util.Tips({title:"请先阅读隐私协议"})},cancelUser:function(){var t=this;(0,o.cancelUser)().then((function(e){t.$store.commit("LOGOUT"),n.reLaunch({url:"/pages/index/index"})})).catch((function(n){return t.$util.Tips({title:n})}))},privacy:function(t){n.navigateTo({url:"/pages/users/privacy/index?type="+t})}}};t.default=c}).call(this,e("df3c")["default"])}},[["c0f5","common/runtime","common/vendor"]]]); |