(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/mine/set"],{249:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var u=o(t(250));e.__webpack_require_UNI_MP_PLUGIN__=t,n(u.default)}).call(this,t(1)["default"],t(2)["createPage"])},250:function(e,n,t){"use strict";t.r(n);var o=t(251),u=t(253);for(var r in u)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(r);t(255);var c,i=t(32),a=Object(i["default"])(u["default"],o["render"],o["staticRenderFns"],!1,null,"3eaaf1c2",null,!1,o["components"],c);a.options.__file="pages/mine/set.vue",n["default"]=a.exports},251:function(e,n,t){"use strict";t.r(n);var o=t(252);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},252:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return u})),t.d(n,"staticRenderFns",(function(){return c})),t.d(n,"recyclableRender",(function(){return r})),t.d(n,"components",(function(){return o}));try{o={uCellGroup:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-cell-group/u-cell-group")]).then(t.bind(null,508))},uCell:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-cell/u-cell")]).then(t.bind(null,516))},uButton:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-button/u-button")]).then(t.bind(null,422))},uModal:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-modal/u-modal")]).then(t.bind(null,524))}}}catch(i){if(-1===i.message.indexOf("Cannot find module")||-1===i.message.indexOf(".vue"))throw i;console.error(i.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var u=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n){e.logoutShow=!1},e.e1=function(n){e.cancleShow=!1},e.e2=function(n){e.cancleShow=!1})},r=!1,c=[];u._withStripped=!0},253:function(e,n,t){"use strict";t.r(n);var o=t(254),u=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=u.a},254:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{logoutShow:!1,cancleShow:!1,setList:[{name:"账号与安全",url:"edit-pwd"},{name:"绑定邮箱",url:"bind-email"},{name:"修改资料",url:"edit-info"},{name:"清除缓存",url:"clear"},{name:"意见反馈",url:"feedback"},{name:"关于社区",url:"about"},{name:"注销账号",url:"cancle"}],btnStyle:{width:"90%",height:"75rpx",background:"linear-gradient(-45deg,#01906c,#34D399)",color:"#FFFFFF",fontSize:"30rpx"}}},onLoad:function(){this.getStorage()},methods:{goPage:function(e){return"cancle"===e?this.cancleShow=!0:"logout"===e?this.logoutShow=!0:"clear"===e?this.clearStorage():void this.$u.route("/pages/mine/"+e)},logout:function(){this.logoutShow=!1,this.$u.route("/pages/mine/login")},clearStorage:function(){var n=this;e.showModal({title:"提示",content:"是否要清除所有缓存?",cancelText:"不清除",confirmText:"清除",success:function(t){t.confirm&&(e.clearStorage(),n.getStorage(),n.$u.toast("清除成功"))}})},getStorage:function(){var n=this;e.getStorageInfo({success:function(e){var t=e.currentSize,o=t>1024?(t/1024).toFixed(2)+"MB":t.toFixed(2)+"KB";n.$set(n.setList[3],"value",o)}})}}};n.default=t}).call(this,t(2)["default"])},255:function(e,n,t){"use strict";t.r(n);var o=t(256),u=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=u.a},256:function(e,n,t){}},[[249,"common/runtime","common/vendor"]]]); //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/mine/set.js.map