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
7.3 KiB
1 lines
7.3 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-zhuxiao-index"],{"05c9":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var i=function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("v-uni-view",{staticClass:"zhuxiao"},[i("v-uni-view",{staticClass:"title"},[t._v("注销后,你账号将:")]),i("v-uni-view",{staticClass:"content",domProps:{innerHTML:t._s(t.content)}}),i("v-uni-view",{staticClass:"fd"},[i("v-uni-view",{staticClass:"xieyi",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.toToggle()}}},[0==t.isCheck?i("v-uni-image",{attrs:{src:e("f49e")}}):i("v-uni-image",{attrs:{src:e("0722")}}),t._v("我已认真阅读且同意注销账号需要注意的内容")],1),i("v-uni-view",{staticClass:"btns"},[i("v-uni-view",{staticClass:"cancle",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.toCancle.apply(void 0,arguments)}}},[t._v("取消")]),i("v-uni-view",{staticClass:"sure",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.toClick.apply(void 0,arguments)}}},[t._v("确定")])],1)],1)],1)},a=[]},"0722":function(t,n){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAv5JREFUWEfFl0tPE1EUx/+nIFYERJGgSMQKFQkCImARjAvcQtDwiqQtLUMfYONC2oKwwYUaea3URP0SFhpCJMFQeRQkmEiiruh3UGkTaTs6g0yBDG2RNnMXM8nMOef/u3PPOXcu4d+4eeN6HWT0ECAVAcnbz2N5Z4GfALuCIDs2t7js5GITd6mpqXpCQH8sxSLFYoGn8/PuAaquVjUQ8C6SQzzes8AdqlZVzoLoVjwEIsYk1kVVqooNxGnNIwIAXlJVlrNRGMbNhCoryqQFKL9WKi1A2dViaQFKS4riBtDY1AyL5QGcznGMjgyL5hEVXymMC4BarYG99xEvyrIsSkuKxAGKCgtiDqDV6WC39wmCc3MfYTYaxAEuFyhjCtDBdMJmswtin5aXode3IxAIiANcUuaJAshkMuQrlfCse7C5+TuqPmA0mtBjtQm2iwsLYBj9vuL8ZpSfpxAFeP3mLWprb2Nt7Qs0ajU2Nn6FhTB3daOnxyrYuFwuGA2dCAT8Yf1IcSFXFODrt++Qy+W88+fVVWi1HIRXNFh3931YbaGZf5iZgclkgN8v/tl3BqHc8zmiAHV19Xjx8pVgu7S0BJ1OC593NwQnbu8NJdz09Ht0mU3w+8PPfDsw5ZzL3jcJW1pbMTo6JkC43YvQajTw+Xz8M4vFgt6+rVLjxtTU1IHE+RzIPnsmbBXca2vD8PAIiPh/F7jdbrS2NMNkMqN/YEAQn5ychNlkDJtwYutHWVmZEcuQayo7ITyedSgUF4V4TucEjEYDgsFgVNWyKwcyT2dEBOAc2nU6HmLvGB93oJNhDiws5EDGqZNRAXAOHQyDoaFQT3c4HGA69P8tzudAevqJqAE4B+bvbAcHH4OriqamxkOJ8wBpaakHAji04p4AlJJyXFqA5ORj0gLI5UelBUhKOvIDoNRYr2108VgvJSYmzhIgycGEBVyUkJDQAImOZgDu8g1eJpM9AxDa0qL7foe1eh4MBvu2dpitUQ/ASoSKOB7VvCyLFQBcT5/gRP8A8R7pFdAnfQMAAAAASUVORK5CYII="},"0a24":function(t,n,e){"use strict";var i=e("2240"),a=e.n(i);a.a},2240:function(t,n,e){var i=e("805d");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("967d").default;a("ae8b686c",i,!0,{sourceMap:!1,shadowMode:!1})},"6f3f":function(t,n,e){"use strict";e.r(n);var i=e("05c9"),a=e("be2d");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("0a24");var c=e("828b"),s=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"551d6642",null,!1,i["a"],void 0);n["default"]=s.exports},"805d":function(t,n,e){var i=e("c86c");n=i(!1),n.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.zhuxiao[data-v-551d6642]{min-height:100vh;background-color:#fff;padding:%?30?% %?30?% %?400?%;overflow:hidden;box-sizing:border-box}.zhuxiao .title[data-v-551d6642]{font-weight:500;font-size:%?36?%;color:#222;line-height:%?40?%;margin-top:%?20?%}.zhuxiao .content[data-v-551d6642]{font-weight:500;font-size:%?26?%;color:#666;line-height:%?40?%;text-align:left;margin-top:%?40?%}.zhuxiao .fd[data-v-551d6642]{width:100%;font-weight:500;font-size:%?24?%;color:#222;position:fixed;left:0;bottom:%?100?%;z-index:22;padding:0 %?30?%;box-sizing:border-box}.zhuxiao .fd .xieyi[data-v-551d6642]{display:flex;align-items:center;justify-content:flex-start}.zhuxiao .fd .xieyi uni-image[data-v-551d6642]{width:%?35?%;height:%?35?%;margin-right:%?10?%}.zhuxiao .fd .btns[data-v-551d6642]{display:flex;align-items:center;justify-content:space-between;margin-top:%?50?%;text-align:center}.zhuxiao .fd .btns .cancle[data-v-551d6642]{width:%?300?%;height:%?90?%;line-height:%?90?%;background:#ededed;border-radius:%?90?%;font-weight:500;font-size:%?30?%;color:#222}.zhuxiao .fd .btns .sure[data-v-551d6642]{width:%?300?%;height:%?90?%;line-height:%?90?%;background:linear-gradient(0deg,#000,#3d3b38);border-radius:%?90?%;font-weight:500;font-size:%?30?%;color:#fff}',""]),t.exports=n},"8d0c":function(t,n,e){"use strict";e("6a54");var i=e("f5bd").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("5c47"),e("a1c1");var a=i(e("2634")),o=i(e("2fdc")),c={data:function(){return{isCheck:!1,content:""}},onLoad:function(){this.getInfo()},methods:{toToggle:function(){this.isCheck=!this.isCheck},toClick:function(){0!=this.isCheck?uni.showModal({title:"温馨提示",content:"是否要注销当前账号?",success:function(t){var n=this;return(0,o.default)((0,a.default)().mark((function t(){var e,i,o;return(0,a.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,n.$api.cancelAccount({userId:uni.getStorageSync("userInfo").id});case 2:e=t.sent,i=e.code,e.data,o=e.msg,200==i?(uni.showToast({title:"注销成功"}),uni.clearStorageSync(),setTimeout((function(){uni.reLaunch({url:"/pages/login/index"})}),2e3)):uni.showToast({icon:"none",position:"bottom",title:o});case 7:case"end":return t.stop()}}),t)})))()}}):uni.showToast({icon:"none",position:"bottom",title:"请选择注销内容协议"})},toCancle:function(){uni.navigateBack({delta:1})},getInfo:function(){var t=this;return(0,o.default)((0,a.default)().mark((function n(){var e,i,o;return(0,a.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.$api.getConfigData({dictType:"CONFIG_CANCEL_ACCOUNT"});case 2:e=n.sent,i=e.code,o=e.data,200==i&&(t.content=o.content.replace(/style=""/g,"").replace(/<img " src=/g,"<img src=").replace(/<img src=/g,'<img style="width: 100%; height:100%; display:block" src='));case 6:case"end":return n.stop()}}),n)})))()}}};n.default=c},be2d:function(t,n,e){"use strict";e.r(n);var i=e("8d0c"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},f49e:function(t,n){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAORJREFUSEvtlzEOgkAQRf8nUGlCPAEdJQ0UnEB7j6MH8DRyABN7CZAQKlu4gIB0QNasiQ2xZMVit5qdYn7m500yQwCI49g1DONEcgtgLXMKXieEuJA8BkFwZ57n7jAMNwAbBWLfSj7GcQyZJMmZ5N62bTiOA8uylOj3fY+yLNE0DYQQEdM0fUp7Pc9TJvrpRIoXRSG/nRQWMvJ9X0mn06JZlr1TWli53dpqTbUyyDRcGi4N12wO6HHS4zQbTH+5cy2x3rY/XeirqkJd1yAZLXLCmKYZcnK07QCsFJHVArgCOMij7QUf3OGGjBaTkAAAAABJRU5ErkJggg=="}}]); |