(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/my/set/index"],{"0157":function(t,s,e){"use strict";e.r(s);var i=e("275a"),n=e("7e4d");for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(s,t,(function(){return n[t]}))}(o);e("5130");var c=e("f0c5"),u=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"51a589ab",null,!1,i["a"],void 0);s["default"]=u.exports},1309:function(t,s,e){"use strict";(function(t,s){var i=e("4ea4");e("d716");i(e("66fd"));var n=i(e("0157"));t.__webpack_require_UNI_MP_PLUGIN__=e,s(n.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},"275a":function(t,s,e){"use strict";e.d(s,"b",(function(){return n})),e.d(s,"c",(function(){return o})),e.d(s,"a",(function(){return i}));var i={uSwitch:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-switch/u-switch")]).then(e.bind(null,"2361"))},uButton:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-button/u-button")]).then(e.bind(null,"45b3"))}},n=function(){var t=this.$createElement;this._self._c},o=[]},5130:function(t,s,e){"use strict";var i=e("fd72"),n=e.n(i);n.a},"5fe6":function(t,s,e){"use strict";(function(t){var i=e("4ea4");Object.defineProperty(s,"__esModule",{value:!0}),s.default=void 0;var n=i(e("9523")),o={components:{},data:function(){var t;return t={role:""},(0,n.default)(t,"role",""),(0,n.default)(t,"value1",!0),(0,n.default)(t,"value2",!1),(0,n.default)(t,"value3",!1),t},onLoad:function(t){this.role=t.role},onShow:function(){this.value1=Boolean(this.switchs[0]),this.value2=Boolean(this.switchs[1]),this.value3=Boolean(this.switchs[2]),console.log(this.switchs)},computed:{switchs:function(){return t.getStorageSync("switchs")}},methods:{logoOut:function(){t.showModal({title:"提示",content:"确认退出?",confirmColor:"#F7790C",success:function(s){s.confirm?(t.removeStorageSync("token"),t.setStorageSync("switchs",[1,0,0]),t.reLaunch({url:"/pages/my"})):s.cancel&&console.log("用户点击取消")}})},change1:function(s){s?(this.switchs[0]=1,this.value2&&(this.value2=!1,this.switchs[1]=0),this.value3&&(this.value3=!1,this.switchs[2]=0)):this.switchs[0]=0,t.setStorageSync("switchs",this.switchs),console.log(this.switchs)},change2:function(s){s?(this.switchs[1]=1,this.value1&&(this.value1=!1,this.switchs[0]=0),this.value3&&(this.value3=!1,this.switchs[2]=0)):this.switchs[1]=0,t.setStorageSync("switchs",this.switchs),console.log(this.switchs)},change3:function(s){s?(this.switchs[2]=1,this.value1&&(this.value1=!1,this.switchs[0]=0),this.value2&&(this.value2=!1,this.switchs[1]=0)):this.switchs[2]=0,t.setStorageSync("switchs",this.switchs),console.log(this.switchs)}}};s.default=o}).call(this,e("543d")["default"])},"7e4d":function(t,s,e){"use strict";e.r(s);var i=e("5fe6"),n=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(s,t,(function(){return i[t]}))}(o);s["default"]=n.a},fd72:function(t,s,e){}},[["1309","common/runtime","common/vendor"]]]);