1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-invite-my-invite"],{"468f":function(t,e,i){"use strict";var n=i("4ea4");i("99af"),i("4160"),i("d3b7"),i("3ca3"),i("159b"),i("ddb0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("2909")),r={data:function(){return{MIXIN_NowIndex:0,MIXIN_ActiveIndex:0,MIXIN_MoveBarLeft:0,MIXIN_FinishedIndex:0,MIXIN_ScrollViewHeight:0,MIXIN_ScreenWidth:this.$store.state.device.screenWidth,MIXIN_api_all:!1}},mounted:function(){var t=this;this.$offset(".swiper").then((function(e){t.MIXIN_ScrollViewHeight=e.height}))},methods:{MIXIN_transition:function(t){t.detail.dx},MIXIN_change:function(t){var e=t.detail.current;this.MIXIN_ActiveIndex=e,this.MIXIN_MoveBarLeft=this.MIXIN_ActiveIndex*(this.MIXIN_ScreenWidth/this.typeList.length)},MIXIN_animationfinish:function(t){var e=t.detail.current;this.MIXIN_FinishedIndex=this.MIXIN_NowIndex=e,this.lists[this.MIXIN_NowIndex].length||0===this.page[this.MIXIN_NowIndex]||this.MIXIN_request()},switchSwiper:function(t){this.MIXIN_NowIndex=this.MIXIN_ActiveIndex=t,this.MIXIN_MoveBarLeft=(this.MIXIN_NowIndex+1)*(this.MIXIN_ScreenWidth/this.typeList.length)},MIXIN_pulldownrefresh:function(){var t=this;this.page[this.MIXIN_NowIndex]=1,this.MIXIN_request().then((function(){t.$refs.pulldownRefresher.pullup()}))},MIXIN_scrolltolower:function(){!this._requesting&&this.MIXIN_request("loadmore")},MIXIN_request:function(t){var e=this;if(this.MIXIN_api_all){var i=[];return this.apis.forEach((function(t){i.push(t({page:1}))})),Promise.all(i).then((function(t){e.MIXIN_api_all=!1,t.forEach((function(t,i){var n=t.data;e.totalList[i]=n.total,e.lists[i]=n.list,n.list&&n.list.length<n.size?e.page[i]=0:e.page=[2,2]})),e.MIXIN_requestHandle&&e.MIXIN_requestHandle(t[0])}))}return new Promise((function(i){if(e.page[e.MIXIN_NowIndex]){!t&&uni.showLoading({mask:!0}),e._requesting=!0;var n={page:e.page[e.MIXIN_NowIndex]};e.queryParams&&Object.assign(n,e.queryParams),e.apis[e.MIXIN_NowIndex](n).then((function(i){e.MIXIN_requestHandle&&e.MIXIN_requestHandle(i),t||(e.lists[e.MIXIN_NowIndex]=[]),e.lists[e.MIXIN_NowIndex]=[].concat((0,a.default)(e.lists[e.MIXIN_NowIndex]),(0,a.default)(i.data.list)),i.data.list.length<+i.data.size?e.page[e.MIXIN_NowIndex]=0:e.page[e.MIXIN_NowIndex]+=1})).catch((function(){e.page[e.MIXIN_NowIndex]=-1,e.lists[e.MIXIN_NowIndex]=[]})).finally((function(){e._requesting=!1,i()}))}}))}}};e.default=r},"7a7c":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"my-invite"},[i("custom-nav",{ref:"ltm",attrs:{noback:"noback",transparent:"transparent",title:" "}}),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"swiper-nav"},[t._l(t.typeList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"item",class:{active:t.MIXIN_ActiveIndex===n},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.switchSwiper(n)}}},[t._v(t._s(e))])})),i("v-uni-view",{staticClass:"moveBar",style:{left:t.MIXIN_MoveBarLeft+"px",width:100/t.typeList.length+"%"}},[i("v-uni-text")],1)],2),i("v-uni-view",{staticClass:"swiper-area"},[i("pulldown-refresher",{ref:"pulldownRefresher",on:{pulldownRefresh:function(e){arguments[0]=e=t.$handleEvent(e),t.MIXIN_pulldownrefresh.apply(void 0,arguments)}}},[i("v-uni-swiper",{staticClass:"swiper",attrs:{current:t.MIXIN_NowIndex,duration:234},on:{transition:function(e){arguments[0]=e=t.$handleEvent(e),t.MIXIN_transition.apply(void 0,arguments)},change:function(e){arguments[0]=e=t.$handleEvent(e),t.MIXIN_change.apply(void 0,arguments)},animationfinish:function(e){arguments[0]=e=t.$handleEvent(e),t.MIXIN_animationfinish.apply(void 0,arguments)}}},[i("v-uni-swiper-item",[i("v-uni-scroll-view",{style:{height:t.MIXIN_ScrollViewHeight+"px"},attrs:{"scroll-y":!0},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.MIXIN_scrolltolower.apply(void 0,arguments)}}},[t._l(t.lists[0],(function(e,n){return i("v-uni-view",{key:n,staticClass:"team-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.toPerson(e.id)}}},[i("v-uni-image",{staticClass:"left",attrs:{src:e.avatar}}),i("v-uni-view",{staticClass:"center"},[i("v-uni-view",{staticClass:"top"},[i("v-uni-text",{staticClass:"ellipsis"},[t._v(t._s(e.nickname))]),i("v-uni-view",{staticClass:"level-name"},[i("v-uni-text",{staticClass:"cuIcon-crownfill"}),t._v(t._s(e.level))],1)],1),i("v-uni-view",{staticClass:"bot"},[t._v(t._s(e.created_at+" 加入"))])],1),i("v-uni-text",{staticClass:"right cuIcon-right"})],1)})),t.lists[0].length?i("custom-reach-bottom",{attrs:{nomore:0===t.page[0]}}):i("swiper-status",{attrs:{page:t.page[0],unit:"邀请"}})],2)],1),i("v-uni-swiper-item",[i("v-uni-scroll-view",{style:{height:t.MIXIN_ScrollViewHeight+"px"},attrs:{"scroll-y":!0},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.MIXIN_scrolltolower.apply(void 0,arguments)}}},[t._l(t.lists[1],(function(e,n){return i("v-uni-view",{key:n,staticClass:"team-item"},[i("v-uni-image",{staticClass:"left",attrs:{src:e.avatar}}),i("v-uni-view",{staticClass:"center"},[i("v-uni-view",{staticClass:"top"},[i("v-uni-text",{staticClass:"ellipsis"},[t._v(t._s(e.nickname))]),i("v-uni-view",{staticClass:"level-name"},[i("v-uni-text",{staticClass:"cuIcon-crownfill"}),t._v(t._s(e.level))],1)],1),i("v-uni-view",{staticClass:"bot"},[t._v(t._s(e.created_at+" 加入"))])],1),i("v-uni-text")],1)})),t.lists[1].length?i("custom-reach-bottom",{attrs:{nomore:0===t.page[1]}}):i("swiper-status",{attrs:{page:t.page[1],unit:"邀请"}})],2)],1)],1)],1)],1)],1)],1)},r=[]},a4ac:function(t,e,i){"use strict";i.r(e);var n=i("7a7c"),a=i("d036");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("ddea");var o,c=i("f0c5"),s=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"d7433c3c",null,!1,n["a"],o);e["default"]=s.exports},c3c4:function(t,e,i){"use strict";var n=i("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 a=n(i("ef4f")),r=function(t){return a.default.get("/app/chart?type=1",t)};e._API_TeamChart=r;var o=function(t){return a.default.get("/team/card_data",t)};e._API_TeamPerData=o;var c=function(t){return a.default.get("/team/list?type=0",t)};e._API_TeamList_Direct=c;var s=function(t){return a.default.get("/team/list?type=1",t)};e._API_TeamList_Down=s;var l=function(t){return a.default.get("/team/GetUserTeamList",t)};e._API_TeamList_Grouping=l;var d=function(t){return a.default.get("/team/GetUserTeamLevelDetail",t)};e._API_TeamList_GTeamLevelDetail=d;var f=function(t){return a.default.get("/team/GetNewUserDetail",t)};e._API_GetNewUserDetail=f;var u=function(t){return a.default.get("/team/GetTeamList",t)};e._API_GetTeamList=u;var v=function(t){return a.default.get("/team/add_list?type=0",t)};e._API_TeamNewList_Day=v;var p=function(t){return a.default.get("/team/add_list?type=1",t)};e._API_TeamNewList_Month=p;var m=function(t){return a.default.get("/team/money",t)};e._API_TeamAchievement=m;var _=function(t){return a.default.get("/team/invite?type=0",t)};e._API_TeamInviteActive=_;var I=function(t){return a.default.get("/team/invite?type=1",t)};e._API_TeamInviteNoActive=I;var h=function(t){return a.default.get("/team/examine_list?type=0",t)};e._API_ExamineList_Invite=h;var g=function(t){return a.default.get("/team/examine_list?type=1",t)};e._API_ExamineList_Down=g;var w=function(t){return a.default.get("/team/examine_list?type=2",t)};e._API_ExamineList_Wait=w;var x=function(t){return a.default.post("/team/examine",t)};e._API_Examine=x;var y=function(t){return a.default.get("/team/invite_code",t)};e._API_InviteCode=y;var N=function(t){return a.default.get("/team/SearchUserTeamLevelDetail",t)};e._API_SearchUserDetail=N;var b=function(t){return a.default.get("/team/StoreNoOpen",t)};e._API_StoreNoOpen=b;var A=function(t){return a.default.get("/apply/GetApplyList",t)};e._API_GetApplyList=A;var M=function(t){return a.default.post("/apply/Apply",t)};e._API_GetApply=M;var X=function(t){return a.default.post("/apply/UploadApplyImg",t)};e._API_UploadApplyImg=X;var P=function(t){return a.default.get("/apply/CancleApply",t)};e._API_CancleApply=P},d036:function(t,e,i){"use strict";i.r(e);var n=i("e3cd"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},d5aa:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-d7433c3c]{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-d7433c3c]{margin-top:%?10?%}.app-item uni-input[data-v-d7433c3c], .app-item uni-picker[data-v-d7433c3c], .app-item uni-textarea[data-v-d7433c3c]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-d7433c3c]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-d7433c3c]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-d7433c3c]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-d7433c3c]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-d7433c3c]{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-d7433c3c]{color:#fff;background:#f76454}.small-btn[data-v-d7433c3c]{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-d7433c3c]{color:#999;border-color:#999}.login-btn[data-v-d7433c3c]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-d7433c3c]{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-d7433c3c]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-d7433c3c]{margin-right:%?20?%}.border-right[data-v-d7433c3c]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-d7433c3c]{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-d7433c3c]{margin-right:%?6?%}.position-center[data-v-d7433c3c]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-d7433c3c]{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-d7433c3c]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-d7433c3c]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-d7433c3c]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-d7433c3c]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-d7433c3c]{color:#f76454}.swiper-nav[data-v-d7433c3c]{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-d7433c3c]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-d7433c3c]{color:#f76454}.swiper-nav .moveBar[data-v-d7433c3c]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-d7433c3c]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-d7433c3c]{flex:1;width:100%}.swiper-area uni-swiper[data-v-d7433c3c]{width:100%;height:100%}.article-header[data-v-d7433c3c]{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-d7433c3c]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-d7433c3c]{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-d7433c3c]{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-d7433c3c]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-d7433c3c]{color:#f76454}.article-footer[data-v-d7433c3c]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-d7433c3c]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-d7433c3c]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-d7433c3c]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-d7433c3c]{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/* 文章场景相关 */.my-invite[data-v-d7433c3c]{height:100%;box-sizing:border-box;flex-direction:column;background:#f2f2f2}.my-invite .content[data-v-d7433c3c]{flex:1;height:100%;position:relative;box-sizing:border-box}.my-invite .content[data-v-d7433c3c]{display:flex;align-items:center;justify-content:center;flex-direction:column}.my-invite .content .swiper-nav[data-v-d7433c3c]{margin-bottom:%?10?%}.my-invite .content .swiper-nav uni-text[data-v-d7433c3c]{width:%?56?%}.my-invite .content .swiper-area[data-v-d7433c3c]{margin-bottom:%?10?%}.my-invite .content .swiper-area uni-scroll-view .team-item[data-v-d7433c3c]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;padding:0 %?30?%;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.my-invite .content .swiper-area uni-scroll-view .team-item .left[data-v-d7433c3c]{width:%?100?%;height:%?100?%;border-radius:50%}.my-invite .content .swiper-area uni-scroll-view .team-item .center[data-v-d7433c3c]{display:flex;align-items:center;justify-content:center;flex-direction:column;flex:1;height:100%;margin:0 %?30?%;align-items:flex-start}.my-invite .content .swiper-area uni-scroll-view .team-item .center .top[data-v-d7433c3c]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;justify-content:flex-start}.my-invite .content .swiper-area uni-scroll-view .team-item .center .top .ellipsis[data-v-d7433c3c]{width:%?345?%}.my-invite .content .swiper-area uni-scroll-view .team-item .center .bot[data-v-d7433c3c]{font-size:%?24?%;margin-top:%?8?%;color:#999}.my-invite .content .swiper-area uni-scroll-view .team-item .right[data-v-d7433c3c]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%}',""]),t.exports=e},ddea:function(t,e,i){"use strict";var n=i("f94d"),a=i.n(n);a.a},e3cd:function(t,e,i){"use strict";var n=i("4ea4");i("ac1f"),i("5319"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("468f")),r=n(i("1e76")),o=n(i("4a42")),c=n(i("be34")),s=i("c3c4"),l={mixins:[a.default],components:{swiperStatus:r.default,customReachBottom:c.default,pulldownRefresher:o.default},data:function(){return{title:"我的邀请",page:[1,1],lists:{0:[],1:[]},typeList:["激活(0)","未激活(0)"],apis:[s._API_TeamInviteActive,s._API_TeamInviteNoActive]}},onLoad:function(){this.MIXIN_request()},methods:{MIXIN_requestHandle:function(t){this.$set(this.typeList,this.MIXIN_NowIndex,this.typeList[this.MIXIN_NowIndex].replace(/\d+/g,t.data.total))},toPerson:function(t){uni.navigateTo({url:"../person-card/person-card?id=".concat(t)})}}};e.default=l},f94d:function(t,e,i){var n=i("d5aa");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("c31df4a2",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
|