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