setting.js 2.4 KB

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesSub/setting/setting"],{"11a8":function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var c=function(){var t=this,e=t.$createElement;t._self._c},i=[]},"37e8":function(t,e,n){"use strict";var o=n("6cbd"),c=n.n(o);c.a},"6cbd":function(t,e,n){},a9d2:function(t,e,n){"use strict";n.r(e);var o=n("fcc4"),c=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=c.a},b5a2:function(t,e,n){"use strict";n.r(e);var o=n("11a8"),c=n("a9d2");for(var i in c)"default"!==i&&function(t){n.d(e,t,(function(){return c[t]}))}(i);n("37e8");var a,r=n("f0c5"),u=Object(r["a"])(c["default"],o["b"],o["c"],!1,null,"2994c36c",null,!1,o["a"],a);e["default"]=u.exports},e889:function(t,e,n){"use strict";(function(t){n("39a3");o(n("66fd"));var e=o(n("b5a2"));function o(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n("543d")["createPage"])},fcc4:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{topbarIcon:"back",topbarTitle:"设置",assetsUrl:this.$util.assetsUrl,topNavHeight:0}},mounted:function(){this.computedScollviewHeight()},computed:{statusBarHeight:function(){return this.$store.state.statusBarHeight},topbarOffsetHeight:function(){return this.$store.state.topbarOffsetHeight},userInfo:function(){return this.$store.state.userInfo||JSON.parse(t.getStorageSync("userInfo"))}},methods:{back:function(){t.navigateBack({delta:1})},computedScollviewHeight:function(){var e=this,n=t.createSelectorQuery().in(this),o=0;n.select("#topnav").boundingClientRect((function(t){e.topNavHeight=t.height,o+=t.height})).exec((function(){var n=t.getSystemInfoSync();e.scrollHeight=n.windowHeight-o}))},loginOut:function(){t.showModal({title:"退出登录",content:"退出登录后将清除所有本机数据,下次登录自动登录,是否继续?",confirmColor:"#6C52F4",confirmText:"继续",success:function(e){e.confirm&&(t.$TUIKit.logout(),t.$TUIKit.destroy(),t.setStorageSync("token",""),t.setStorageSync("LL_Ukn",""),t.setStorageSync("autoLogin","false"),t.reLaunch({url:"/pages/login/login"}))}})}}};e.default=n}).call(this,n("543d")["default"])}},[["e889","common/runtime","common/vendor"]]]);