1 line
5.5 KiB
JavaScript
1 line
5.5 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-eb0dd760"],{"0542":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,"#myrelationship-detail[data-v-378e551d]{text-align:left}#myrelationship-detail .ul[data-v-378e551d]{padding:0 .9375rem}#myrelationship-detail .ul .list[data-v-378e551d]{margin-top:2.125rem;background:#fff;border-radius:.625rem;padding:0 0 .8125rem 1.125rem}#myrelationship-detail .ul .list .row1[data-v-378e551d]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#myrelationship-detail .ul .list .row1 .img[data-v-378e551d]{width:3.125rem;height:3.125rem;border-radius:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}#myrelationship-detail .ul .list .row1 .img img[data-v-378e551d]{width:100%;height:100%;border-radius:50%}#myrelationship-detail .ul .list .row1 .title[data-v-378e551d]{padding-top:.8125rem;color:#202020;font-size:1rem;margin-left:.625rem;font-weight:600}#myrelationship-detail .ul .list .row2[data-v-378e551d]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;padding-top:.5rem}#myrelationship-detail .ul .list .row2 .li[data-v-378e551d]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:center}#myrelationship-detail .ul .list .row2 .li .num[data-v-378e551d]{color:#202020;font-size:1rem;font-weight:600;padding-top:.15rem}#myrelationship-detail .ul .list .row2 .li .text[data-v-378e551d]{color:#666;padding-top:.15rem}#myrelationship-detail .ul .list .row3[data-v-378e551d]{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}#myrelationship-detail .ul .list .row3 .li[data-v-378e551d]{width:33.3%;min-width:33.3%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center;padding:1rem .625rem}#myrelationship-detail .ul .list .row3 .li .num[data-v-378e551d]{color:#202020;font-size:1rem;font-weight:600;padding-top:.15rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#myrelationship-detail .ul .list .row3 .li .text[data-v-378e551d]{color:#666;padding-top:.15rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}",""]),t.exports=e},"36a5":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"myrelationship-detail"}},[i("c-title",{attrs:{hide:!1,text:"会员概况"}}),i("div",{staticClass:"ul"},[i("div",{staticClass:"list"},[i("div",{staticClass:"row1"},[i("div",{staticClass:"img"},[i("img",{attrs:{src:t.member.avatar,alt:""}})]),i("div",{staticClass:"title"},[t._v("Ta的业绩")])]),i("div",{staticClass:"row2"},[i("div",{staticClass:"li"},[i("div",{staticClass:"num"},[t._v(t._s(t.orderCount))]),i("div",{staticClass:"text"},[t._v("销售额")])]),i("div",{staticClass:"li"},[i("div",{staticClass:"num"},[t._v(t._s(t.orderNum))]),i("div",{staticClass:"text"},[t._v("销售笔数")])])])])]),i("div",{staticClass:"ul"},[i("div",{staticClass:"list"},[i("div",{staticClass:"row1"},[i("div",{staticClass:"img"},[i("img",{attrs:{src:t.member.avatar,alt:""}})]),i("div",{staticClass:"title"},[t._v("Ta的直推")])]),i("div",{staticClass:"row3"},[i("div",{staticClass:"li"},[i("div",{staticClass:"num"},[t._v(t._s(t.count))]),i("div",{staticClass:"text"},[t._v("全部")])]),t._l(t.levelList,(function(e,a){return i("div",{key:a,staticClass:"li"},[i("div",{staticClass:"num"},[t._v(t._s(e.yz_member_count))]),i("div",{staticClass:"text"},[t._v(t._s(e.level_name))])])}))],2)])])],1)},l=[],s=i("ac0d"),r={mixins:[s["a"]],data:function(){return{count:0,member_id:"",orderCount:"",orderNum:"",member:{},projectList:[],allLoad:!1,isLoadMore:!0,page:1,total_page:0}},activated:function(){this.member_id=this.$route.params.uid,this.getData()},methods:{init:function(){this.allLoad=!1,this.page=1,this.isLoadMore=!0,this.total_page=0,this.projectList=[]},getData:function(){var t=this;this.init(),$http.post("plugin.member-center-agent.api.index",{page:this.page,member_id:this.member_id},"获取中").then((function(e){1===e.result?(t.orderCount=e.data.order.orderCount,t.member=e.data.member,t.orderNum=e.data.order.orderNum,t.count=e.data.count,t.levelList=e.data.level):t.$dialog.alert({message:e.msg})})).catch((function(t){}))}},components:{}},o=r,d=o,n=(i("cd79"),i("2877")),c=Object(n["a"])(d,a,l,!1,null,"378e551d",null);e["default"]=c.exports},"91ef":function(t,e,i){var a=i("0542");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var l=i("499e").default;l("b8241b02",a,!0,{sourceMap:!1,shadowMode:!1})},ac0d:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var a=document.documentElement,l=document.body,s={data:function(){return{}},activated:function(){window.addEventListener("scroll",this.handleScroll)},deactivated:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{getScrollTop:function(){var t=0;return a&&a.scrollTop?t=a.scrollTop:l&&(t=l.scrollTop),t},getClientHeight:function(){var t=0;return t=l.clientHeight&&a.clientHeight?Math.min(l.clientHeight,a.clientHeight):Math.max(l.clientHeight,a.clientHeight),t},getScrollHeight:function(){return Math.max(l.scrollHeight,a.scrollHeight)},handleScroll:function(){this.otherScroll();var t=document.documentElement.scrollTop||document.body.scrollTop;this.btnFlag=t>60,this.getScrollTop()+this.getClientHeight()+105>this.getScrollHeight()?(this.isLoadMore&&this.getMoreData(),this.isBottom=!0):this.isBottom=!1},otherScroll:function(){}}}},cd79:function(t,e,i){"use strict";i("91ef")}}]); |