(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-set-set"],{"076e":function(t,e,n){"use strict";var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.userEdit=o,e.logout=u,e.registerReset=l,e.binding=c;var i=a(n("c9b6"));function o(t){return(0,i.default)({url:"/api/user/edit",method:"post",data:t})}function u(t){return(0,i.default)({url:"/api/logout",method:"get",data:t})}function l(t){return(0,i.default)({url:"/api/register/reset",method:"post",data:t})}function c(t){return(0,i.default)({url:"/api/binding",method:"post",data:t})}},"091f":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var a={uniList:n("afc6").default,uniListItem:n("7def").default},i=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/phone")}}}),n("uni-list-item",{attrs:{title:"收货地址"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navTo("/pages/set/address")}}})],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=[]},3795:function(t,e,n){"use strict";n.r(e);var a=n("f68b"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},"6d075":function(t,e,n){var a=n("7ee3");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("7728e74a",a,!0,{sourceMap:!1,shadowMode:!1})},"7ee3":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-39330bae]{background:#f8f8f8}.list-cell[data-v-39330bae]{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-39330bae]{margin-top:%?40?%}.list-cell.log-out-btn .cell-tit[data-v-39330bae]{color:#5dbc7c;text-align:center;margin-right:0}.list-cell .cell-tit[data-v-39330bae]{flex:1;font-size:%?30?%;color:#303133;margin-right:%?10?%}.list-cell .cell-tip[data-v-39330bae]{font-size:%?28?%;color:#909399}.list-cell uni-switch[data-v-39330bae]{-webkit-transform:translateX(%?16?%) scale(.84);transform:translateX(%?16?%) scale(.84)}body.?%PAGE?%[data-v-39330bae]{background:#f8f8f8}',""]),t.exports=e},c4b4:function(t,e,n){"use strict";n.r(e);var a=n("091f"),i=n("3795");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("e131");var u,l=n("f0c5"),c=Object(l["a"])(i["default"],a["b"],a["c"],!1,null,"39330bae",null,!1,a["a"],u);e["default"]=c.exports},e131:function(t,e,n){"use strict";var a=n("6d075"),i=n.n(a);i.a},f68b:function(t,e,n){"use strict";var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("5530")),o=a(n("afc6")),u=a(n("7def")),l=n("076e"),c=n("26cb"),s={components:{uniList:o.default,uniListItem:u.default},data:function(){return{}},methods:(0,i.default)((0,i.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,l.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=s}}]);