pages-person-card-person-card.3eea88cd.js 18 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-person-card-person-card"],{3733:function(t,e,a){"use strict";var i=a("8803"),n=a.n(i);n.a},8803:function(t,e,a){var i=a("9b9c");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("33673682",i,!0,{sourceMap:!1,shadowMode:!1})},"9b9c":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-14fa9d1a]{margin-top:%?10?%}.app-item uni-input[data-v-14fa9d1a], .app-item uni-picker[data-v-14fa9d1a], .app-item uni-textarea[data-v-14fa9d1a]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-14fa9d1a]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-14fa9d1a]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-14fa9d1a]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-14fa9d1a]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-14fa9d1a]{color:#fff;background:#f76454}.small-btn[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-14fa9d1a]{color:#999;border-color:#999}.login-btn[data-v-14fa9d1a]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-14fa9d1a]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-14fa9d1a]{margin-right:%?20?%}.border-right[data-v-14fa9d1a]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-14fa9d1a]{margin-right:%?6?%}.position-center[data-v-14fa9d1a]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-14fa9d1a]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-14fa9d1a]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-14fa9d1a]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-14fa9d1a]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-14fa9d1a]{color:#f76454}.swiper-nav[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-14fa9d1a]{color:#f76454}.swiper-nav .moveBar[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-14fa9d1a]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-14fa9d1a]{flex:1;width:100%}.swiper-area uni-swiper[data-v-14fa9d1a]{width:100%;height:100%}.article-header[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-14fa9d1a]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-14fa9d1a]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-14fa9d1a]{color:#f76454}.article-footer[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-14fa9d1a]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-14fa9d1a]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-14fa9d1a]{color:#f76454}\r\n/*主题色及按钮渐变背景*/\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/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.share_mobile_container[data-v-14fa9d1a]{position:fixed;top:0;left:0;right:0;bottom:0;z-index:99;display:flex;align-items:center;justify-content:center}.test[data-v-14fa9d1a]{height:100%;box-sizing:border-box;flex-direction:column;background:#f2f2f2}.test .content[data-v-14fa9d1a]{flex:1;height:100%;position:relative;box-sizing:border-box}.test .change-name-wrapper[data-v-14fa9d1a]{z-index:1;width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:row;position:fixed;background:rgba(0,0,0,.3)}.test .change-name-wrapper .change-name[data-v-14fa9d1a]{width:%?540?%;height:%?400?%;font-size:%?32?%;background:#fff;border-radius:%?6?%;display:flex;align-items:center;justify-content:center;flex-direction:column;justify-content:space-between}.test .change-name-wrapper .change-name .title[data-v-14fa9d1a]{width:100%;height:%?90?%;display:flex;align-items:center;justify-content:center;flex-direction:row}.test .change-name-wrapper .change-name .oldName[data-v-14fa9d1a],\r\n.test .change-name-wrapper .change-name .newName[data-v-14fa9d1a]{width:100%;display:flex;align-items:center;justify-content:center;flex-direction:row;justify-content:flex-start;margin-left:%?41?%}.test .change-name-wrapper .change-name .oldName uni-input[data-v-14fa9d1a],\r\n.test .change-name-wrapper .change-name .newName uni-input[data-v-14fa9d1a]{width:%?335?%;height:%?54?%;border:%?1?% solid #aaa;box-sizing:border-box;padding:0 %?8?%;font-size:%?28?%}.test .change-name-wrapper .change-name .bar[data-v-14fa9d1a]{width:100%;height:%?76?%;display:flex;align-items:center;justify-content:center;flex-direction:row;color:#666;border-top:%?1?% solid #f2f4f5}.test .change-name-wrapper .change-name .bar uni-text[data-v-14fa9d1a]{flex:1;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:row}.test .change-name-wrapper .change-name .bar uni-text.save[data-v-14fa9d1a]{color:#f76454;border-left:%?1?% solid #f2f4f5}.test .content .top-bg[data-v-14fa9d1a]{height:%?300?%;overflow:hidden;-webkit-filter:blur(%?8?%);filter:blur(%?8?%)}.test .content .top-bg uni-image[data-v-14fa9d1a]{width:100%;-webkit-transform:translateY(-25%);transform:translateY(-25%)}.test .content .info[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:column;height:%?270?%;font-size:%?26?%;position:relative;background:#fff;justify-content:flex-end;border-bottom:%?1?% solid #f2f2f2}.test .content .info .avatar[data-v-14fa9d1a]{top:0;left:50%;width:%?108?%;height:%?108?%;position:absolute;border-radius:%?8?%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.test .content .info > uni-view[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;padding:0 %?30?%;line-height:%?72?%;box-sizing:border-box;justify-content:flex-start}.test .content .info > uni-view.nickname[data-v-14fa9d1a]{margin-bottom:%?12?%;justify-content:center}.test .content .info > uni-view .left[data-v-14fa9d1a]{width:%?300?%}.test .content .level-info[data-v-14fa9d1a]{background:#fff;margin-bottom:%?20?%}.test .content .level-info .level-items[data-v-14fa9d1a]{height:0;overflow:hidden}.test .content .level-info .level-items.open[data-v-14fa9d1a]{height:%?270?%}.test .content .level-info .level-items > uni-view[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?90?%;padding:0 %?30?%;box-sizing:border-box;justify-content:flex-start;border-bottom:%?1?% solid #f2f2f2}.test .content .level-info .level-items > uni-view .left[data-v-14fa9d1a]{width:%?300?%}.test .content .level-info .level-lock[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?60?%}.test .content .team-info > uni-view[data-v-14fa9d1a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?90?%;padding:0 %?30?%;font-size:%?32?%;background:#fff;box-sizing:border-box;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.test .content .team-info > uni-view .left[data-v-14fa9d1a]{width:%?300?%}.test .content .team-info > uni-view .right[data-v-14fa9d1a]{display:flex;justify-content:center;align-items:center}.test .content .team-info > uni-view .eqcode_img[data-v-14fa9d1a]{width:40px;height:40px}',""]),t.exports=e},"9cc4":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"test"},[t.showChangeName?a("v-uni-view",{staticClass:"change-name-wrapper"},[a("v-uni-view",{staticClass:"change-name"},[a("v-uni-view",{staticClass:"title"},[t._v("昵称修改")]),a("v-uni-view",{staticClass:"oldName"},[t._v("旧昵称:"),a("v-uni-input",{attrs:{type:"text",value:t.oldName,disabled:!0}})],1),a("v-uni-view",{staticClass:"newName"},[t._v("新昵称:"),a("v-uni-input",{attrs:{type:"text",focus:!0,maxlength:"12",placeholder:"请输入您的新昵称"},model:{value:t.newName,callback:function(e){t.newName=e},expression:"newName"}})],1),a("v-uni-view",{staticClass:"bar"},[a("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showChangeName=!1}}},[t._v("取消")]),a("v-uni-text",{staticClass:"save",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeName.apply(void 0,arguments)}}},[t._v("保存")])],1)],1)],1):t._e(),a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"top-bg"},[a("v-uni-image",{attrs:{src:t.info.avatar,mode:"widthFix"}})],1),a("v-uni-view",{staticClass:"info"},[a("v-uni-image",{staticClass:"avatar",attrs:{src:t.info.avatar}}),a("v-uni-view",{staticClass:"nickname"},[t._v(t._s(t.info.nickname||""))]),a("v-uni-view",{staticClass:"realname"},[a("v-uni-text",{staticClass:"left"},[t._v("真实姓名")]),a("v-uni-text",{staticClass:"right"},[t._v(t._s(t.info.real_name||""))])],1),a("v-uni-view",{staticClass:"phone"},[a("v-uni-text",{staticClass:"left"},[t._v("联系方式")]),a("v-uni-text",{staticClass:"right"},[t._v(t._s(t.info.mobile))])],1)],1),a("v-uni-view",{staticClass:"level-info"},[a("v-uni-view",{staticClass:"level-items",class:{open:t.open}},[a("v-uni-view",{staticClass:"level-item"},[a("v-uni-text",{staticClass:"left"},[t._v("代理级别")]),a("v-uni-text",{staticClass:"right"},[t._v(t._s(t.info.level))])],1),a("v-uni-view",{staticClass:"level-item"},[a("v-uni-text",{staticClass:"left"},[t._v("邀请人")]),a("v-uni-text",{staticClass:"right"},[t._v(t._s(t.info.recom_nickname))])],1),a("v-uni-view",{staticClass:"level-item"},[a("v-uni-text",{staticClass:"left"},[t._v("上级代理")]),a("v-uni-text",{staticClass:"right"},[t._v(t._s(t.info.up_nickname||""))])],1)],1),a("v-uni-view",{staticClass:"level-lock basecolor",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toogle.apply(void 0,arguments)}}},[t._v(t._s(t.open?"收起":"显示更多"))])],1),a("v-uni-view",{staticClass:"team-info"},["我的名片"==this.title?a("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showChangeName=!0}}},[a("v-uni-text",{staticClass:"left"},[t._v("修改昵称")]),a("v-uni-text",{staticClass:"cuIcon-right"})],1):t._e(),0==t.info.status?a("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toAuthCard.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"left"},[t._v("授权书")]),a("v-uni-text",{staticClass:"cuIcon-right"})],1):t._e(),a("v-uni-view",[a("v-uni-text",{staticClass:"left"},[t._v("团队人数")]),a("v-uni-text",{staticClass:"right"},[t._v(t._s(t.info.team_num||"0")+"人")])],1)],1)],1)],1)},r=[]},c3c4:function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e._API_CancleApply=e._API_UploadApplyImg=e._API_GetApply=e._API_GetApplyList=e._API_StoreNoOpen=e._API_SearchUserDetail=e._API_InviteCode=e._API_Examine=e._API_ExamineList_Wait=e._API_ExamineList_Down=e._API_ExamineList_Invite=e._API_TeamInviteNoActive=e._API_TeamInviteActive=e._API_TeamAchievement=e._API_TeamNewList_Month=e._API_TeamNewList_Day=e._API_GetTeamList=e._API_GetNewUserDetail=e._API_TeamList_GTeamLevelDetail=e._API_TeamList_Grouping=e._API_TeamList_Down=e._API_TeamList_Direct=e._API_TeamPerData=e._API_TeamChart=void 0;var n=i(a("ef4f")),r=function(t){return n.default.get("/app/chart?type=1",t)};e._API_TeamChart=r;var o=function(t){return n.default.get("/team/card_data",t)};e._API_TeamPerData=o;var s=function(t){return n.default.get("/team/list?type=0",t)};e._API_TeamList_Direct=s;var f=function(t){return n.default.get("/team/list?type=1",t)};e._API_TeamList_Down=f;var d=function(t){return n.default.get("/team/GetUserTeamList",t)};e._API_TeamList_Grouping=d;var l=function(t){return n.default.get("/team/GetUserTeamLevelDetail",t)};e._API_TeamList_GTeamLevelDetail=l;var c=function(t){return n.default.get("/team/GetNewUserDetail",t)};e._API_GetNewUserDetail=c;var u=function(t){return n.default.get("/team/GetTeamList",t)};e._API_GetTeamList=u;var v=function(t){return n.default.get("/team/add_list?type=0",t)};e._API_TeamNewList_Day=v;var m=function(t){return n.default.get("/team/add_list?type=1",t)};e._API_TeamNewList_Month=m;var g=function(t){return n.default.get("/team/money",t)};e._API_TeamAchievement=g;var h=function(t){return n.default.get("/team/invite?type=0",t)};e._API_TeamInviteActive=h;var p=function(t){return n.default.get("/team/invite?type=1",t)};e._API_TeamInviteNoActive=p;var _=function(t){return n.default.get("/team/examine_list?type=0",t)};e._API_ExamineList_Invite=_;var w=function(t){return n.default.get("/team/examine_list?type=1",t)};e._API_ExamineList_Down=w;var x=function(t){return n.default.get("/team/examine_list?type=2",t)};e._API_ExamineList_Wait=x;var b=function(t){return n.default.post("/team/examine",t)};e._API_Examine=b;var y=function(t){return n.default.get("/team/invite_code",t)};e._API_InviteCode=y;var A=function(t){return n.default.get("/team/SearchUserTeamLevelDetail",t)};e._API_SearchUserDetail=A;var I=function(t){return n.default.get("/team/StoreNoOpen",t)};e._API_StoreNoOpen=I;var P=function(t){return n.default.get("/apply/GetApplyList",t)};e._API_GetApplyList=P;var C=function(t){return n.default.post("/apply/Apply",t)};e._API_GetApply=C;var k=function(t){return n.default.post("/apply/UploadApplyImg",t)};e._API_UploadApplyImg=k;var j=function(t){return n.default.get("/apply/CancleApply",t)};e._API_CancleApply=j},cddd:function(t,e,a){"use strict";a.r(e);var i=a("e67e"),n=a.n(i);for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},d8a5:function(t,e,a){"use strict";a.r(e);var i=a("9cc4"),n=a("cddd");for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("3733");var o,s=a("f0c5"),f=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"14fa9d1a",null,!1,i["a"],o);e["default"]=f.exports},e67e:function(t,e,a){"use strict";a("ac1f"),a("5319"),a("498a"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a("c3c4"),n=a("50e6"),r={data:function(){return{title:"个人名片",info:{},open:!1,id:"",showChangeName:!1,oldName:this.$store.state.userinfo.nickname,newName:""}},onLoad:function(t){var e=this;t.self&&(this.title="我的名片"),this.id=t.id,(0,i._API_TeamPerData)({id:t.id}).then((function(t){e.info=t.data,"我的名片"!==e.title&&(e.info.real_name?e.info.real_name=e.info.real_name.replace(/./g,"*").replace(/^\*/,e.info.real_name[0]):e.info.real_name="***")}))},methods:{toShareSet:function(){uni.navigateTo({url:"../share-set/index"})},toogle:function(){this.open=!this.open},toAuthCard:function(){uni.navigateTo({url:"../auth-card/auth-card?id=".concat(this.id)})},changeName:function(){var t=this;this.newName.trim()?(uni.loading(),(0,n._API_Proxy_ChangeName)({nickname:this.newName.trim()}).then((function(e){t.info.nickname=t.newName.trim(),uni.loading(),uni.$emit("INIT"),t.showChangeName=!1,t.newName=""}))):uni.toast("新昵称不能为空")}}};e.default=r}}]);