(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-user_info-index"],{"104c":function(t,e,n){"use strict";n.r(e);var i=n("90c4"),a=n("5bfe");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("b771");var o=n("f0c5"),s=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"7457bcea",null,!1,i["a"],void 0);e["default"]=s.exports},"1c57":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.Popup[data-v-7457bcea]{flex:1;align-items:center;justify-content:center;width:%?500?%;background-color:#fff;position:fixed;top:%?500?%;left:%?125?%;z-index:1000;border-radius:8px;overflow:hidden}.Popup .logo-auth[data-v-7457bcea]{z-index:-1;position:absolute;left:50%;top:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:%?150?%;height:%?150?%;display:flex;align-items:center;justify-content:center;border:%?8?% solid #fff;border-radius:50%;background:#fff}.Popup .image[data-v-7457bcea]{height:%?42?%;margin-top:%?-54?%}.Popup .title[data-v-7457bcea]{font-size:%?28?%;color:#000;text-align:center;margin-top:%?30?%;align-items:center;justify-content:center;width:%?500?%;display:flex}.Popup .tip[data-v-7457bcea]{font-size:%?22?%;color:#555;padding:0 %?24?%;margin-top:%?25?%;display:flex;align-items:center;justify-content:center}.Popup .bottom .item[data-v-7457bcea]{width:%?250?%;height:%?80?%;background-color:#eee;text-align:center;line-height:%?80?%;margin-top:%?54?%;font-size:%?24?%;color:#666}.Popup .bottom .item .text[data-v-7457bcea]{font-size:%?24?%;color:#666}.Popup .bottom .item.on[data-v-7457bcea]{width:%?500?%}.flex[data-v-7457bcea]{display:flex;flex-direction:row}.Popup .bottom .item.grant[data-v-7457bcea]{font-weight:700;background-color:#e93323;\r\n /* background-color: var(--view-theme); */border-radius:0;padding:0}.Popup .bottom .item.grant .text[data-v-7457bcea]{font-size:%?28?%;color:#fff}.mask[data-v-7457bcea]{position:fixed;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.65);z-index:99}',""]),t.exports=e},"20f5":function(t,e,n){var i=n("1c57");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("a31b40ae",i,!0,{sourceMap:!1,shadowMode:!1})},3967:function(t,e,n){"use strict";n.r(e);var i=n("5399"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},"4bdd":function(t,e,n){var i,a,r=n("7037").default;n("a9e3"),n("ac1f"),n("5319"),n("00b4"),n("466d"),n("d401"),n("d3b7"),n("25f0"),n("fb6a"),n("f4b3"),n("bf19"),function(o,s){"object"==r(e)&&"undefined"!=typeof t?t.exports=s():(i=s,a="function"===typeof i?i.call(e,n,e,t):i,void 0===a||(t.exports=a))}(0,(function(){"use strict";var t="millisecond",e="second",n="minute",i="hour",a="day",o="week",s="month",u="quarter",c="year",d=/^(\d{4})-?(\d{1,2})-?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d{1,3})?$/,l=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(t,e,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},p={s:f,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),a=n%60;return(e<=0?"+":"-")+f(i,2,"0")+":"+f(a,2,"0")},m:function(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,s),a=e-i<0,r=t.clone().add(n+(a?-1:1),s);return Number(-(n+(e-i)/(a?i-r:r-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(r){return{M:s,y:c,w:o,d:a,D:"date",h:i,m:n,s:e,ms:t,Q:u}[r]||String(r||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},h={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},v="en",g={};g[v]=h;var w=function(t){return t instanceof _},b=function(t,e,n){var i;if(!t)return v;if("string"==typeof t)g[t]&&(i=t),e&&(g[t]=e,i=t);else{var a=t.name;g[a]=t,i=a}return!n&&i&&(v=i),i||!n&&v},m=function(t,e){if(w(t))return t.clone();var n="object"==r(e)?e:{};return n.date=t,n.args=arguments,new _(n)},y=p;y.l=b,y.i=w,y.w=function(t,e){return m(t,{locale:e.$L,utc:e.$u,$offset:e.$offset})};var _=function(){function r(t){this.$L=this.$L||b(t.locale,null,!0),this.parse(t)}var f=r.prototype;return f.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(y.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(d);if(i)return n?new Date(Date.UTC(i[1],i[2]-1,i[3]||1,i[4]||0,i[5]||0,i[6]||0,i[7]||0)):new Date(i[1],i[2]-1,i[3]||1,i[4]||0,i[5]||0,i[6]||0,i[7]||0)}return new Date(e)}(t),this.init()},f.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},f.$utils=function(){return y},f.isValid=function(){return!("Invalid Date"===this.$d.toString())},f.isSame=function(t,e){var n=m(t);return this.startOf(e)<=n&&n<=this.endOf(e)},f.isAfter=function(t,e){return m(t)0?n("v-uni-view",{staticClass:"wrapper"},[n("v-uni-view",{staticClass:"title"},[t._v("管理我的账号")]),n("v-uni-view",{staticClass:"wrapList"},t._l(t.switchUserInfo,(function(e,i){return n("v-uni-view",{key:i,staticClass:"item acea-row row-between-wrapper",class:e.uid===t.userInfo.uid?"on":"",style:{"background-image":"url("+(e.uid==t.userInfo.uid?t.domain+"/static/diy/currentAcc"+t.keyColor+".png":"")+")"}},[n("v-uni-view",{staticClass:"picTxt acea-row row-between-wrapper"},[e.uid===t.userInfo.uid?[t.mp_is_new?t._e():n("v-uni-view",{staticClass:"pictrue",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadpic.apply(void 0,arguments)}}},[n("v-uni-image",{attrs:{src:e.avatar||"/static/images/f.png"}}),0!=t.open_update_info?n("v-uni-view",{staticClass:"radius"},[n("span",{staticClass:"iconfont iconfonta icon-jilu-xuanzhong"})]):t._e()],1),t.mp_is_new&&0!=t.open_update_info?n("v-uni-button",{staticClass:"avatar-box pictrue",attrs:{"open-type":"chooseAvatar"},on:{chooseavatar:function(e){arguments[0]=e=t.$handleEvent(e),t.onChooseAvatar.apply(void 0,arguments)}}},[n("v-uni-image",{attrs:{src:e.avatar||"/static/images/f.png"}}),n("v-uni-view",{staticClass:"radius"},[n("span",{staticClass:"iconfont iconfonta icon-jilu-xuanzhong"})])],1):t.mp_is_new&&0==t.open_update_info?n("v-uni-button",{staticClass:"avatar-box"},[n("v-uni-image",{attrs:{src:e.avatar||"/static/images/f.png"}})],1):t._e()]:n("v-uni-view",{staticClass:"pictrue"},[n("v-uni-image",{attrs:{src:e.avatar||"/static/images/f.png"}}),0!=t.open_update_info?n("v-uni-view",{staticClass:"radius"},[n("span",{staticClass:"iconfont iconfonta icon-jilu-xuanzhong"})]):t._e()],1),n("v-uni-view",{staticClass:"text"},[n("v-uni-view",{staticClass:"name line1"},[t._v(t._s(e.nickname))])],1)],2),e.uid===t.userInfo.uid?n("v-uni-view",{staticClass:"currentBnt acea-row row-center-wrapper t-color"},[t._v("当前账号")]):n("v-uni-view",{staticClass:"bnt t-color acea-row row-center-wrapper",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.switchAccounts(e,i)}}},[t._v("使用账号")])],1)})),1)],1):n("v-uni-view",{staticClass:"list"},[n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v("头像")]),t.mp_is_new?n("v-uni-button",{staticClass:"avatar-box",attrs:{"open-type":"chooseAvatar"},on:{chooseavatar:function(e){arguments[0]=e=t.$handleEvent(e),t.onChooseAvatar.apply(void 0,arguments)}}},[n("v-uni-image",{attrs:{src:t.userInfo.avatar||"/static/images/f.png"}})],1):n("v-uni-view",{staticClass:"pictrue",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadpic.apply(void 0,arguments)}}},[n("v-uni-image",{staticClass:"avatar",attrs:{src:t.userInfo.avatar||"/static/images/f.png"}})],1)],1)],1),n("v-uni-view",{staticClass:"list",staticStyle:{"margin-top":"1rpx"}},[n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v("昵称")]),n("v-uni-view",{staticClass:"input acea-row row-between-wrapper",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeInput.apply(void 0,arguments)}}},[n("v-uni-input",{attrs:{type:"text",name:"nickname",value:t.userInfo.nickname}}),0!=t.open_update_info?n("v-uni-text",{staticClass:"iconfont icon-you"}):n("v-uni-text",{staticClass:"iconfont icon-suozi"})],1)],1),n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v("ID号")]),n("v-uni-view",{staticClass:"input acea-row row-between-wrapper"},[n("v-uni-input",{staticClass:"id",attrs:{type:"text",value:t.userInfo.uid,disabled:"true"}}),n("v-uni-text",{staticClass:"iconfont icon-suozi"})],1)],1),n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v("手机号码")]),t.userInfo.phone?n("v-uni-navigator",{staticClass:"input acea-row row-between-wrapper",attrs:{url:"/pages/users/user_modify_phone/index","hover-class":"none"}},[n("v-uni-input",{staticClass:"id",attrs:{type:"text",disabled:"true",name:"phone",value:t.userInfo.phone}}),n("v-uni-text",{staticClass:"iconfont icon-you"})],1):n("v-uni-navigator",{staticClass:"input",attrs:{url:"/pages/users/user_phone/index","hover-class":"none"}},[t._v("点击绑定手机号"),n("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1)],1),n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v("登录密码")]),n("v-uni-view",{staticClass:"input acea-row row-between-wrapper",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changePwd.apply(void 0,arguments)}}},[n("v-uni-input",{staticClass:"id",attrs:{type:"text",placeholder:"修改登录密码",disabled:"true"}}),n("v-uni-text",{staticClass:"iconfont icon-you"})],1)],1),n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v("地址管理")]),n("v-uni-navigator",{staticClass:"input acea-row row-between-wrapper",attrs:{url:"/pages/users/user_address_list/index","hover-class":"none"}},[n("v-uni-input",{staticClass:"id",attrs:{type:"text",placeholder:"立即前往",disabled:"true"}}),n("v-uni-text",{staticClass:"iconfont icon-you"})],1)],1),n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v("发票管理")]),n("v-uni-navigator",{staticClass:"input acea-row row-between-wrapper",attrs:{url:"/pages/users/user_invoice_list/index","hover-class":"none"}},[n("v-uni-input",{staticClass:"id",attrs:{type:"text",placeholder:"立即前往",disabled:"true"}}),n("v-uni-text",{staticClass:"iconfont icon-you"})],1)],1),n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v("注销账号")]),n("v-uni-view",{staticClass:"input acea-row row-between-wrapper",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeCancel.apply(void 0,arguments)}}},[n("v-uni-input",{staticClass:"id",attrs:{type:"text",placeholder:"账号注销后不能恢复",disabled:"true"}}),n("v-uni-text",{staticClass:"iconfont icon-you"})],1)],1)],1),this.$wechat.isWeixin()?t._e():n("v-uni-view",{staticClass:"logOut acea-row row-center-wrapper",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.outLogin.apply(void 0,arguments)}}},[t._v("退出登录")]),n("v-uni-view",{staticClass:"foot-bar"})],1)],1),n("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)},authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)}}})],1)},a=[]},e40c:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("5530")),r=(i(n("a040")),n("cc48"),n("8a31"),n("26cb")),o=(i(n("8afb")),n("5315")),s=(i(n("1ba1")),n("5eb1")),u=(getApp(),{name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1}},components:{},data:function(){return{title:"用户登录",info:"请登录,将为您提供更好的服务!",isWeixin:this.$wechat.isWeixin(),canUseGetUserProfile:!1,code:null,top:0,mp_is_new:this.$Cache.get("MP_VERSION_ISNEW")||!1,editModal:!1}},computed:(0,a.default)((0,a.default)({},(0,r.mapGetters)(["isLogin","userInfo","viewColor"])),(0,o.configMap)(["routine_logo"])),watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)},isShowAuth:function(t){this.getCode(this.isShowAuth)}},created:function(){this.top=uni.getSystemInfoSync().windowHeight/2-70,wx.getUserProfile&&(this.canUseGetUserProfile=!0),this.setAuthStatus(),this.getCode(this.isShowAuth)},methods:{setAuthStatus:function(){},getCode:function(t){t&&(this.code=1)},toWecahtAuth:function(){(0,s.toLogin)(!0)},getUserProfile:function(){(0,s.toLogin)(!0),uni.navigateTo({url:"/pages/users/login/login_copy"})},close:function(){var t=getCurrentPages();t[t.length-1];this.$emit("authColse",!1),this.isGoIndex?uni.switchTab({url:"/pages/index/index"}):this.$emit("authColse",!1)}}});e.default=u},ece0:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.ajcaptchaCheck=function(t){return a.default.post("ajcheck",t,{noAuth:!0})},e.appleAppAuth=function(t){return a.default.post("auth/apple",t,{noAuth:!0})},e.appletsDecrypt=function(t){return a.default.post("user/mp/binding",t)},e.bindingPhone=function(t){return a.default.post("user/binding",t)},e.brigade=function(t){return a.default.get("v2/system/brigade",t,{noAuth:!0})},e.cloudWarehouse=function(t){return a.default.get("store/product/cloudWarehouse",t,{noAuth:!0})},e.getAjcaptcha=function(t){return a.default.get("ajcaptcha",t,{noAuth:!0})},e.getAppVersion=function(){return a.default.get("appVersion",{},{noAuth:!0})},e.getArticleBannerList=function(){return a.default.get("article/banner/list",{},{noAuth:!0})},e.getArticleCategoryList=function(){return a.default.get("article/category/lst",{},{noAuth:!0})},e.getArticleCategoryLists=function(){return a.default.get("article/category/lst?is_home=1",{},{noAuth:!0})},e.getArticleDetails=function(t){return a.default.get("article/detail/"+t,{},{noAuth:!0})},e.getArticleHotList=function(){return a.default.get("article/hot/list",{},{noAuth:!0})},e.getArticleList=function(t,e){return a.default.get("article/lst/"+t,e,{noAuth:!0})},e.getCity=function(){return a.default.get("system/city/lst",{},{noAuth:!0})},e.getCityCloundShop=function(t){return a.default.get("city/get_cloud_shop",t)},e.getCityList=function(t){return a.default.get("v2/system/city",{address:t},{noAuth:!0})},e.getCityV2=function(t){return a.default.get("v2/system/city/lst/"+t,{},{noAuth:!0})},e.getCoupons=function(t){return a.default.get("coupon/product",t,{noAuth:!0})},e.getDiy=function(t){return a.default.get("diy",t,{noAuth:!0})},e.getIndexData=function(){return a.default.get("common/home",{},{noAuth:!0})},e.getLiveList=function(t,e){return a.default.get("wechat/live",{page:t,limit:e},{noAuth:!0})},e.getLogo=function(){return a.default.get("wechat/get_logo",{},{noAuth:!0})},e.getPageDiy=function(t){return a.default.get("micro",t,{noAuth:!0})},e.getProductSpuAPI=function(t,e){return a.default.get("product/spu/cloud_merchant/".concat(t),e,{noAuth:!0})},e.getShopCoupons=function(t){return a.default.get("coupon/store/"+t,{},{noAuth:!0})},e.getTemlIds=function(){return a.default.get("wechat/teml_ids",{},{noAuth:!0})},e.getUserCoupons=function(t){return a.default.get("coupon/list",t)},e.get_cloud_shop=function(t){return a.default.get("city/get_cloud_shop?street_code=".concat(t),{},{noAuth:!0})},e.loginMobile=function(t){return a.default.post("login/mobile",t,{noAuth:!0})},e.logout=function(){return a.default.get("logout")},e.marginlist=function(t){return a.default.get("user/margin/list",t)},e.merchant=function(t){return a.default.get("store/merchant/margin",t)},e.modifyPassword=function(t){return a.default.post("user/change/password",t)},e.modifyPhone=function(t){return a.default.post("user/change/phone",t)},e.paymerchant=function(){return a.default.post("user/margin",{})},e.phoneLogin=function(t){return a.default.post("login",t,{noAuth:!0})},e.phoneRegister=function(t){return a.default.post("register",t,{noAuth:!0})},e.phoneRegisterReset=function(t){return a.default.post("register/reset",t,{noAuth:!0})},e.pink=function(){return a.default.get("pink",{},{noAuth:!0})},e.post_product_import=function(t){return a.default.post("micro/product_import",{id:t},{noAuth:!0})},e.registerVerify=function(t,e,n,i){return a.default.post("register/verify",{phone:t,type:void 0===e?"reset":e,key:n,code:i},{noAuth:!0})},e.seachBarCodeAPI=function(t){return a.default.get("micro/seach_bar_code",t)},e.setCouponReceive=function(t){return a.default.post("coupon/receive/"+t)},e.setFormId=function(t){return a.default.post("wechat/set_form_id",{formId:t})},e.spuRecommend=function(t){return a.default.get("product/spu/recommend",t,{noAuth:!0})},e.switchH5Login=function(t){return a.default.post("user/switch",t)},e.verifyCode=function(){return a.default.get("verify_code",{},{noAuth:!0})},e.village=function(t){return a.default.get("v2/system/geo/lst",t,{noAuth:!0})},e.wechatAppAuth=function(t){return a.default.post("auth/app",t,{noAuth:!0})};var a=i(n("6860"))},f4b3:function(t,e,n){"use strict";var i=n("23e7"),a=n("d039"),r=n("7b0b"),o=n("c04e"),s=a((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}));i({target:"Date",proto:!0,arity:1,forced:s},{toJSON:function(t){var e=r(this),n=o(e,"number");return"number"!=typeof n||isFinite(n)?e.toISOString():null}})}}]);