1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-set-set"],{"020f":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("d726")),c=a(n("d03d")),u=n("c2c1"),l=n("26cb"),r={components:{uniList:o.default,uniListItem:c.default},data:function(){return{}},methods:(0,i.default)((0,i.default)({},(0,l.mapMutations)("user",["logout"])),{},{navTo:function(t){uni.navigateTo({url:t})},toLogout:function(){var t=this;uni.showModal({content:"确定要退出登录么",success:function(e){e.confirm&&((0,u.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=r},"0c0f":function(t,e,n){"use strict";n.r(e);var a=n("e864"),i=n("d1c1");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("8dc2");var c,u=n("f0c5"),l=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,"ad536e6c",null,!1,a["a"],c);e["default"]=l.exports},"353e":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-ad536e6c]{background:#f8f8f8}.list-cell[data-v-ad536e6c]{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-ad536e6c]{margin-top:%?40?%}.list-cell.log-out-btn .cell-tit[data-v-ad536e6c]{color:#5dbc7c;text-align:center;margin-right:0}.list-cell .cell-tit[data-v-ad536e6c]{flex:1;font-size:%?30?%;color:#303133;margin-right:%?10?%}.list-cell .cell-tip[data-v-ad536e6c]{font-size:%?28?%;color:#909399}.list-cell uni-switch[data-v-ad536e6c]{-webkit-transform:translateX(%?16?%) scale(.84);transform:translateX(%?16?%) scale(.84)}body.?%PAGE?%[data-v-ad536e6c]{background:#f8f8f8}',""]),t.exports=e},"8dc2":function(t,e,n){"use strict";var a=n("a557"),i=n.n(a);i.a},a557:function(t,e,n){var a=n("353e");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("006eec6d",a,!0,{sourceMap:!1,shadowMode:!1})},c2c1:function(t,e,n){"use strict";var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.userEdit=o,e.logout=c,e.registerReset=u,e.binding=l;var i=a(n("4c3b"));function o(t){return(0,i.default)({url:"/api/user/edit",method:"post",data:t})}function c(t){return(0,i.default)({url:"/api/logout",method:"get",data:t})}function u(t){return(0,i.default)({url:"/api/register/reset",method:"post",data:t})}function l(t){return(0,i.default)({url:"/api/binding",method:"post",data:t})}},d1c1:function(t,e,n){"use strict";n.r(e);var a=n("020f"),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},e864: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("d726").default,uniListItem:n("d03d").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")}}})],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=[]}}]);
|