(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-set-set"],{"0c0f":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}.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:#5dbc7c;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)}body.?%PAGE?%[data-v-9b0623d0]{background:#f8f8f8}',""]),t.exports=n},1645: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("0d94").default,uniListItem:e("dc5e").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=[]},"1a7c":function(t,n,e){"use strict";e.r(n);var i=e("747b"),a=e.n(i);for(var o in i)"default"!==o&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},"3f3a":function(t,n,e){var i=e("0c0f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("0a637910",i,!0,{sourceMap:!1,shadowMode:!1})},"747b":function(t,n,e){"use strict";var i=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("5530")),o=i(e("0d94")),l=i(e("dc5e")),s=e("f27c"),c=e("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(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=u},bfc6:function(t,n,e){"use strict";var i=e("3f3a"),a=e.n(i);a.a},d098:function(t,n,e){"use strict";e.r(n);var i=e("1645"),a=e("1a7c");for(var o in a)"default"!==o&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("bfc6");var l,s=e("f0c5"),c=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"9b0623d0",null,!1,i["a"],l);n["default"]=c.exports},f27c:function(t,n,e){"use strict";var i=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.userEdit=o,n.logout=l,n.registerReset=s,n.binding=c;var a=i(e("559e"));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})}}}]);