1 line
22 KiB
JavaScript
1 line
22 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-user_info-index"],{"0063":function(t,e,n){"use strict";(function(t){n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("2110"),a=(n("bed0"),n("1939")),s=n("26cb"),o=(i(n("c61b")),{components:{},data:function(){return{memberInfo:{},loginType:"h5",userIndex:0,newAvatar:"",isAuto:!1,isShowAuth:!1}},computed:(0,s.mapGetters)(["isLogin","uid","userInfo"]),onLoad:function(){this.isLogin||(0,a.toLogin)()},methods:{authColse:function(t){this.isShowAuth=t},Setting:function(){uni.openSetting({success:function(e){t.log(e.authSetting)}})},outLogin:function(){var e=this;"h5"==e.loginType&&uni.showModal({title:"提示",content:"确认退出登录?",success:function(n){n.confirm?(0,r.getLogout)().then((function(t){e.$store.commit("LOGOUT"),uni.reLaunch({url:"/pages/users/login/index"})})).catch((function(e){t.log(e)})):n.cancel&&t.log("用户点击取消")}})},uploadpic:function(){var t=this;t.$util.uploadImageOne({name:"file"},(function(e){t.newAvatar=e.data}))},formSubmit:function(t){var e=this,n=t.detail.value;if(!n.nickname)return e.$util.Tips({title:"用户姓名不能为空"});n.avatar=e.newAvatar?e.newAvatar:e.userInfo.avatar,(0,r.userEdit)(n).then((function(t){return e.$store.commit("changInfo",{amount1:"avatar",amount2:e.newAvatar}),e.$util.Tips({title:"更换头像已成功",icon:"success"},{tab:3,url:1})})).catch((function(t){return e.$util.Tips({title:t||"保存失败,您并没有修改"},{tab:3,url:1})}))}}});e.default=o}).call(this,n("5a52")["default"])},"307c":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.personal-data .wrapper[data-v-36907c7f]{margin:%?10?% 0;background-color:#fff;padding:%?36?% %?30?% %?13?% %?30?%}.personal-data .wrapper .title[data-v-36907c7f]{margin-bottom:%?30?%;font-size:%?32?%;color:#282828}.personal-data .wrapper .wrapList .item[data-v-36907c7f]{width:%?690?%;height:%?160?%;background-color:#f8f8f8;border-radius:%?20?%;margin-bottom:%?22?%;padding:0 %?30?%;position:relative;border:%?2?% solid #f8f8f8;box-sizing:border-box}.personal-data .wrapper .wrapList .item.on[data-v-36907c7f]{border-color:#e93323;border-radius:%?20?%;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArIAAACgCAYAAADw+I85AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6M0QzNkY3NzlCNzJCMTFFOTgyNEU4QzhGQTRFR
|