bztang-admin/addons/yun_shop/static/app/js/chunk-ba8d3a4c.7cfadcc8.js

1 line
9.6 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ba8d3a4c"],{"1dcb":function(t,e,i){var a=i("4e38");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var l=i("499e").default;l("f4c3fb30",a,!0,{sourceMap:!1,shadowMode:!1})},"3c61":function(t,e,i){"use strict";i("1dcb")},"4e38":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,"#myrelationship[data-v-04786392]{width:100%;height:100%}#myrelationship .relation-people[data-v-04786392]{margin-top:2.5rem}#myrelationship .relation-people h3[data-v-04786392]{color:#666;font-size:12px;margin:0;padding:.625rem;text-align:left;font-weight:400;background:#fff}#myrelationship .relation-people-info[data-v-04786392]{padding:.625rem;float:left;width:100%}#myrelationship .relation-people-info .relation-people-info-img[data-v-04786392]{width:3.125rem;height:3.125rem;float:left;line-height:3.125rem;background:#ccc}#myrelationship .relation-people-info .relation-people-info-img img[data-v-04786392]{width:100%;height:100%}#myrelationship .relation-people-info .relation-people-information[data-v-04786392]{float:left;height:3.125rem}#myrelationship .relation-people-info .relation-people-information p[data-v-04786392]{margin:.4375rem}#myrelationship .relation-people-row[data-v-04786392]{background:#fff;clear:both}#myrelationship .relation-people-row h3[data-v-04786392]{color:#666;font-size:12px;margin:0;padding:.625rem;text-align:left;font-weight:400;background:#fff}#myrelationship .relation-people-amount[data-v-04786392]{background:#fff;height:2.3125rem;line-height:2.3125rem}#myrelationship .relation-people-amount span[data-v-04786392]{color:#666;font-size:12px;padding-left:.625rem;text-align:left;font-weight:400;float:left}#myrelationship .relation-people-amount a[data-v-04786392],#myrelationship a[data-v-04786392]{float:right;margin-right:3%}.tbs .li3 span[data-v-04786392]{border:.0625rem solid #b1a6a6}.relation-popup[data-v-04786392]{overflow:auto;width:100%}.relation-popup-con h3[data-v-04786392]{color:red;font-size:.8rem;margin:0;padding:5%;text-align:left;font-weight:400;background:#fff}.relation-popup-con ul[data-v-04786392]{padding:0 5% 0 5%}.relation-popup-con ul li[data-v-04786392]{width:30%;background:#e8e6e9;float:left;height:1.875rem;margin-right:5%;margin-bottom:.625rem;border-radius:.3125rem;line-height:1.875rem}.relation-popup-con ul li[data-v-04786392]:nth-of-type(3n){margin-right:0}.relation-popup-con ul .active[data-v-04786392]{border:.0625rem solid red;background:#fff}.relation-popup-lever[data-v-04786392]{clear:both}.relation-popup-lever h3[data-v-04786392]{color:red;font-size:12px;margin:0;padding:5%;text-align:left;font-weight:400;background:#fff}.relation-popup-lever ul[data-v-04786392]{padding:0 5% 0 5%}.relation-popup-lever ul li[data-v-04786392]{width:30%;background:#e8e6e9;float:left;height:1.875rem;margin-right:5%;margin-bottom:.625rem;border-radius:.3125rem;line-height:1.875rem}.relation-popup-lever ul li[data-v-04786392]:nth-of-type(3n){margin-right:0}.relation-popup-lever ul .active[data-v-04786392]{border:.0625rem solid red;background:#fff}.tbs2[data-v-04786392]{background:#f5f5f5;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;border-bottom:.0625rem solid #e8e8e8;padding:0 .625rem}.tbs2 .left[data-v-04786392]{width:46%;text-align:left;height:2.8125rem;display:inline-block;line-height:2.8125rem}.tbs2 .left img[data-v-04786392]{width:30%}.tbs2 .right[data-v-04786392]{width:46%;display:inline-block;text-align:right}.tbs[data-v-04786392]{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;border-bottom:.0625rem solid #e8e8e8;padding:.625rem;float:left;width:100%;background:#fff}.tbs .left[data-v-04786392]{font-size:12px;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%;text-align:left;height:2.8125rem;line-height:2.8125rem;float:left}.tbs .left img[data-v-04786392]{width:30%;float:left}.tbs .right[data-v-04786392]{width:50%;text-align:right}.tbs a[data-v-04786392]{color:#000}.tbs .relation[data-v-04786392]{color:#666}.tbs .id[data-v-04786392],.tbs .level[data-v-04786392]{font-size:14px;line-height:2.8125rem}.tbs .fa.fa-search[data-v-04786392]{color:#999;font-size:20px}.tbs i[data-v-04786392]{font-size:24px}.tbs .img[data-v-04786392]{margin:.625rem 0}.tbs .li1[data-v-04786392]{width:3.125rem;height:3.125rem;float:left;line-height:3.125rem;background:#ccc}.tbs .li1 img[data-v-04786392]{width:100%;height:100%}.tbs .li2[data-v-04786392]{float:left;height:3.125rem}.tbs .li2 p[data-v-04786392]{margin-top:.4375rem;margin-left:.4375rem;text-align:left}.tbs .li3[data-v-04786392]{-webkit-box-flex:30%;-webkit-flex:30%;-ms-flex:30%;flex:30%;width:30%}.tbs .li3 span[data-v-04786392]{border:1px solid #b1a6a6;padding:.3125rem 1.25rem;border-radius:.4375rem;display:none}.tbs .li4[data-v-04786392]{float:right;height:3.125rem;line-height:3.125rem}.tbs2[data-v-04786392]{padding:.625rem 1.25rem}.imgst[data-v-04786392]{background:#f5f5f5}.fade-enter-active[data-v-04786392]{-webkit-transition:.5s;transition:.5s}.fade-enter[data-v-04786392],.fade-leave-active[data-v-04786392]{opacity:0;height:0}.tbs3 .left[data-v-04786392]{width:46%;text-align:left;height:2.8125rem;display:inline-block;line-height:2.8125rem}.tbs3 .left img[data-v-04786392]{width:30%}.tbs3 .left1[data-v-04786392]{width:100%;text-align:left;height:2.8125rem;padding-left:.8125rem;display:inline-block;line-height:2.8125rem}.tbs3 .left1 img[data-v-04786392]{width:30%}.tbs3 .right[data-v-04786392]{width:46%;display:inline-block;text-align:right;height:2.8125rem;line-height:2.8125rem}",""]),t.exports=e},"962a":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"}},[i("c-title",{attrs:{hide:!1,text:"我的关系"}}),i("div",{staticClass:"search"},[i("div",[i("div",{staticClass:"tbs",on:{click:function(e){return t.toggle(e,t.index)}}},[t._m(0),t._m(1),i("div",{staticClass:"li4"},[i("i",{staticClass:"fa",class:{"fa-angle-down":t.sort==t.index,"fa-angle-right":t.sort!=t.index}})])]),i("transition",{attrs:{name:"fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.sort==t.index,expression:"sort==index"}],staticClass:"tbs3"},[i("div",{staticClass:"left"},[t._v("粉丝数量:"+t._s(t.activeName))]),i("div",{staticClass:"right"},[t._v("粉丝订单金额:"+t._s(t.$i18n.t("元")))]),i("div",{staticClass:"left1"},[t._v("推广角色:"+t._s(t.myReferral))])])])],1)])],1)},l=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"li1"},[i("img")])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"li2"},[i("p",[t._v("昵称:111[id:111]")]),i("p",[t._v("金额:100")])])}],n=(i("4e82"),i("6968")),r="0",o=!1,s=!1,d=!1,h={data:function(){return{myReferral:"",total:0,level1:"",level2:"",level3:"",activeName:"first",first_content:[],second_content:[],third_content:[],keyword:"",level:"",relationLevel:"",sort:1e4,show2:!1,filterData:[],filterSort:-1,filterLevelData:[],filterLeveSort:-1}},methods:{toggle:function(t,e){e!=this.sort?this.sort=e:this.sort=9999},initData:function(){r="0",o=!1,s=!1,d=!1,this.myReferral="",this.total=0,this.level1="",this.level2="",this.level3="",this.activeName="first",this.first_content=[],this.second_content=[],this.third_content=[],this.keyword="",this.level="",this.relationLevel="",this.sort=1e4,this.show2=!1,this.filterData=[],this.filterLevelData=[],this.filterSort=-1,this.filterLeveSort=-1},getMyRelation:function(){var t=this;$http.get("member.member.getMyReferral_v2",{},"").then((function(e){1==e.result?(t.myReferral=e.data,t.getMyAgentBaseInfo()):t.getMyAgentBaseInfo()}),(function(t){}))},getMyAgentBaseInfo:function(){var t=this;$http.get("member.member.getMyAgent_v2",{},"").then((function(e){if(1==e.result){if(t.total=e.data.total,t.level1=e.data.level1,t.level2=e.data.level2,t.level3=e.data.level3,!t.fun.isTextEmpty(t.level1)&&t.level1.is_show)return t.activeName="first",t.currentTabIndex="0",void t.setDataByTabIndex();if(!t.fun.isTextEmpty(t.level2)&&t.level2.is_show)return t.activeName="second",t.currentTabIndex="1",void t.setDataByTabIndex();if(!t.fun.isTextEmpty(t.level3)&&t.level3.is_show)return t.activeName="third",t.currentTabIndex="2",void t.setDataByTabIndex()}}),(function(t){}))},openPop:function(){0==this.filterData.length&&this.getFilterData(),this.show2=!0},closePop:function(){this.show2=!1},getFilterData:function(){var t=this,e={};$http.get("member.member.memberRelationFilter",e,"").then((function(e){1==e.result&&(t.filterData=e.data,t.filterData.length>0&&(t.filterLevelData=t.filterData[0].level))}),(function(t){}))},getData:function(){var t=this,e={relationLevel:this.relationLevel,page:1,keyword:this.keyword,level:this.level};$http.get("member.member.getMyAgentData_v2",e,"").then((function(e){if(1==e.result)switch(r){case"0":t.first_content=e.data;break;case"1":t.second_content=e.data;break;case"2":t.third_content=e.data;break;default:break}}),(function(t){}))},setDataByTabIndex:function(){"0"!=r||o?"1"!=r||s?"2"!=r||d||(d=!0,this.relationLevel="3",this.getData()):(s=!0,this.relationLevel="2",this.getData()):(o=!0,this.relationLevel="1",this.getData())},handleClick:function(t,e){r!=t.index&&(r=t.index,this.setDataByTabIndex())},filterDataHandle:function(t,e){e!=this.filterSort&&(this.filterLevelData=t.level,this.filterSort=e,this.keyword=t.role,this.filterLeveSort=-1,this.level="")},filterLevelDataHandle:function(t,e){e!=this.filterLeveSort&&(this.filterLeveSort=e,this.level=t.id)},filterGetData:function(){this.closePop(),this.getData()}},activated:function(){this.initData(),this.getMyRelation()},components:{cTitle:n["a"]}},f=h,g=f,v=(i("3c61"),i("2877")),c=Object(v["a"])(g,a,l,!1,null,"04786392",null);e["default"]=c.exports}}]);