(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-set-set"],{"05c6":function(t,n,e){"use strict";var i=e("74c9"),a=e.n(i);a.a},1381:function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.binding=function(t){return(0,a.default)({url:"/api/binding",method:"post",data:t})},n.logout=function(t){return(0,a.default)({url:"/api/logout",method:"get",data:t})},n.registerReset=function(t){return(0,a.default)({url:"/api/register/reset",method:"post",data:t})},n.userEdit=function(t){return(0,a.default)({url:"/api/user/edit",method:"post",data:t})};var a=i(e("4398"))},"70f6":function(t,n,e){var i=e("24fb");n=i(!1),n.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-9b0623d0]{background:#f8f8f8}body.?%PAGE?%[data-v-9b0623d0]{background:#f8f8f8}.list-cell[data-v-9b0623d0]{display:flex;align-items:baseline;padding:%?20?% %?30?%;line-height:%?60?%;position:relative;background:#fff;justify-content:center}.list-cell.log-out-btn[data-v-9b0623d0]{margin-top:%?40?%}.list-cell.log-out-btn .cell-tit[data-v-9b0623d0]{color:#ff4c4c;text-align:center;margin-right:0}.list-cell .cell-tit[data-v-9b0623d0]{flex:1;font-size:%?30?%;color:#303133;margin-right:%?10?%}.list-cell .cell-tip[data-v-9b0623d0]{font-size:%?28?%;color:#909399}.list-cell uni-switch[data-v-9b0623d0]{-webkit-transform:translateX(%?16?%) scale(.84);transform:translateX(%?16?%) scale(.84)}',""]),t.exports=n},"74c9":function(t,n,e){var i=e("70f6");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("23c40ebc",i,!0,{sourceMap:!1,shadowMode:!1})},8020:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return i}));var i={uniList:e("2aa3").default,uniListItem:e("2d3b").default},a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{staticClass:"container"},[e("uni-list",[e("uni-list-item",{attrs:{title:"个人资料"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.navTo("/pages/set/userinfo")}}}),e("uni-list-item",{attrs:{title:"修改密码"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.navTo("/pages/set/password")}}}),e("uni-list-item",{attrs:{title:"实名认证"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.navTo("/pages/set/phone")}}}),e("uni-list-item",{attrs:{title:"收货地址"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.navTo("/pages/set/address")}}})],1),e("uni-list",{staticClass:"margin-t-20"},[e("uni-list-item",{attrs:{title:"消息推送","switch-checked":!0,"show-switch":!0,"show-arrow":!1,"switch-color":"#5dbc7c"},on:{switchChange:function(n){arguments[0]=n=t.$handleEvent(n),t.switchChange.apply(void 0,arguments)}}})],1),e("uni-list",{staticClass:"margin-t-20"},[e("uni-list-item",{attrs:{title:"清除缓存"}}),e("uni-list-item",{attrs:{title:"检查更新"}},[e("template",{slot:"right"},[t._v("当前版本 1.0.3")])],2)],1),e("v-uni-view",{staticClass:"list-cell log-out-btn",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.toLogout.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"cell-tit"},[t._v("退出登录")])],1)],1)},o=[]},"85c7":function(t,n,e){"use strict";e.r(n);var i=e("8020"),a=e("ae96");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("05c6");var l=e("f0c5"),s=Object(l["a"])(a["default"],i["b"],i["c"],!1,null,"9b0623d0",null,!1,i["a"],void 0);n["default"]=s.exports},ae96:function(t,n,e){"use strict";e.r(n);var i=e("eff2"),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},eff2:function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("5530")),o=i(e("2aa3")),l=i(e("2d3b")),s=e("1381"),u=e("26cb"),c={components:{uniList:o.default,uniListItem:l.default},data:function(){return{}},methods:(0,a.default)((0,a.default)({},(0,u.mapMutations)("user",["logout"])),{},{navTo:function(t){uni.navigateTo({url:t})},toLogout:function(){var t=this;uni.showModal({content:"确定要退出登录么",success:function(n){n.confirm&&((0,s.logout)({}).then((function(t){uni.navigateBack()})).catch((function(t){console.log(t)})),t.logout())}})},switchChange:function(t){console.log(t);var n=t.value?"打开":"关闭";this.$api.msg("".concat(n,"消息推送"))}})};n.default=c}}]);