bztang-admin/addons/yun_shop/static/app/js/chunk-d75c8bd0.55495cc5.js

1 line
30 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d75c8bd0","chunk-2d0dd411"],{"0951":function(e,t,a){var i=a("b887");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=a("499e").default;o("9f932470",i,!0,{sourceMap:!1,shadowMode:!1})},"238f":function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,"#background_box[data-v-24958215]{color:#382c0a;background-color:#fff;background-image:-webkit-gradient(linear,left top,left bottom,from(var(--themeBaseColor)),to(#f5f5f5));background-image:-webkit-linear-gradient(var(--themeBaseColor),#f5f5f5);background-image:linear-gradient(var(--themeBaseColor),#f5f5f5)}",""]),e.exports=t},"545b":function(e,t,a){"use strict";a("d582")},"75f5":function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{style:{minHeight:e.minHeight},attrs:{id:"background_box"}})},o=[],s={props:{minHeight:{type:String,default:"10.875rem"}},data:function(){return{}}},n=s,r=(a("545b"),a("2877")),l=Object(r["a"])(n,i,o,!1,null,"24958215",null);t["a"]=l.exports},8135:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));a("b64b"),a("14d9");function i(e){var t=JSON.parse(sessionStorage.getItem("validate_page")).drainage_code||{},a=t.drainage_scene,i=t.has_add_employee;return!(a&&!i)||(!(e.scene&&a.indexOf(e.scene)>-1)||(e.type=1,e.url=window.location.href,window.__lendApp__.$router.push(window.__lendApp__.fun.getUrl("critical-customer-share",{scene_data:e},{})),!1))}},"89ec":function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,".lis[data-v-0848f7aa]{border-bottom:1px solid #e7e7e7;padding:1rem 0}.lis .contenBox[data-v-0848f7aa]{font-size:.8125rem;color:#666}.lis .contenBox .bottom[data-v-0848f7aa]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.lis .contenBox .bottom .time[data-v-0848f7aa]{font-size:.75rem;color:#999}.lis .contenBox .bottom .txt[data-v-0848f7aa]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:#999;font-size:.75rem;color:#02bbff}.lis .contenBox .bottom .txt .txtName[data-v-0848f7aa]{margin-right:.3125rem}.lis .contenBox .listTd[data-v-0848f7aa]{margin-top:.8125rem}.lis .contenBox .listad[data-v-0848f7aa]{margin-top:.5rem;margin-bottom:.75rem}.lis .contenBox .list[data-v-0848f7aa]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.lis .contenBox .list .left[data-v-0848f7aa],.lis .contenBox .list .right[data-v-0848f7aa]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:left}.lis .top[data-v-0848f7aa]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.lis .top .top_user[data-v-0848f7aa]{-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.lis .top .top_user[data-v-0848f7aa],.lis .top .top_user .top_user_left[data-v-0848f7aa]{-webkit-box-flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.lis .top .top_user .top_user_left[data-v-0848f7aa]{-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}.lis .top .top_user .top_user_left .top_user_left_name[data-v-0848f7aa]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.lis .top .top_user .top_user_left .top_user_left_name .name[data-v-0848f7aa]{font-size:.8125rem;color:#333;font-weight:700}.lis .top .top_user .top_user_left .top_user_left_name .leave[data-v-0848f7aa]{padding:.125rem .625rem;border-radius:12px;background:var(--themeBaseColor);color:#fff;margin-left:.25rem}.lis .top .top_user .top_user_left .top_user_left_card[data-v-0848f7aa]{font-size:.75rem;color:#999}.lis .top .top_user .top_user_right .iconfont[data-v-0848f7aa]{font-size:1.3rem;color:var(--themeBaseColor)}.lis .top .top_user .top_user_right .icon-card_weixin1[data-v-0848f7aa]{margin-right:.625rem}.lis .top .img[data-v-0848f7aa]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:2.25rem;height:2.25rem;border-radius:100%;margin-right:.5rem}.lis .top .img img[data-v-0848f7aa]{width:100%;height:100%;border-radius:100%}",""]),e.exports=t},ac0d:function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var i=document.documentElement,o=document.body,s={data:function(){return{}},activated:function(){window.addEventListener("scroll",this.handleScroll)},deactivated:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{getScrollTop:function(){var e=0;return i&&i.scrollTop?e=i.scrollTop:o&&(e=o.scrollTop),e},getClientHeight:function(){var e=0;return e=o.clientHeight&&i.clientHeight?Math.min(o.clientHeight,i.clientHeight):Math.max(o.clientHeight,i.clientHeight),e},getScrollHeight:function(){return Math.max(o.scrollHeight,i.scrollHeight)},handleScroll:function(){this.otherScroll();var e=document.documentElement.scrollTop||document.body.scrollTop;this.btnFlag=e>60,this.getScrollTop()+this.getClientHeight()+105>this.getScrollHeight()?(this.isLoadMore&&this.getMoreData(),this.isBottom=!0):this.isBottom=!1},otherScroll:function(){}}}},b887:function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,'@-webkit-keyframes ident-data-v-96ca8324{0%{opacity:0}50%{opacity:.75}to{opacity:1}}@keyframes ident-data-v-96ca8324{0%{opacity:0}50%{opacity:.75}to{opacity:1}}.main[data-v-96ca8324]{margin:0 .75rem;margin-top:-8.75rem}.main .contenBox[data-v-96ca8324]{margin-top:1.25rem;border-radius:8px;background:#fff;padding:1rem .75rem}.main .contenBox .searchNavLis[data-v-96ca8324],.main .contenBox .searchNavLis .searchNav[data-v-96ca8324]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.main .contenBox .searchNavLis .searchNav[data-v-96ca8324]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin:.75rem 0;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;padding-right:.125rem;-webkit-box-sizing:border-box;box-sizing:border-box}.main .contenBox .searchNavLis .searchNav .name[data-v-96ca8324]{max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:.75rem}.main .contenBox .searchNavLis .searchNav .iconfont[data-v-96ca8324]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;color:#dbdbdb;font-size:.35rem;margin-left:.2rem}.main .contenBox .searchBox[data-v-96ca8324]{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify}.main .contenBox .searchBox[data-v-96ca8324],.main .contenBox .searchBox .searchBox_left[data-v-96ca8324]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.main .contenBox .searchBox .searchBox_left[data-v-96ca8324]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;background:#f6f6f6;-ms-flex-pack:justify}.main .contenBox .searchBox .searchBox_left .van-cell[data-v-96ca8324]{padding:.375rem .75rem;line-height:normal;background:#f6f6f6}.main .contenBox .searchBox .searchBox_left .posSearchBnt[data-v-96ca8324]{padding:.375rem 0;width:3rem;height:100%;border-radius:1.125rem;background:var(--themeBaseColor);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.main .contenBox .searchBox .searchBox_left .posSearchBnt .iconfont[data-v-96ca8324]{color:#fff}.main .contenBox .searchBox .searchBox_right[data-v-96ca8324]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;padding:.375rem 1rem;margin-left:.625rem;border:1px solid var(--themeBaseColor);color:var(--themeBaseColor);font-size:.75rem;border-radius:1.125rem}.main .nav[data-v-96ca8324]{margin:1rem;background:#fff;border-radius:1.125rem;height:2.25rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.main .nav .navli[data-v-96ca8324]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;height:100%;line-height:2.25rem;border-radius:1.125rem}.main .nav .navBg[data-v-96ca8324]{background:var(--themeBaseColor)!important;background-image:none;color:#fff;-webkit-animation:ident-data-v-96ca8324 1s;animation:ident-data-v-96ca8324 1s}.main .shareBox[data-v-96ca8324]{padding:1rem .75rem;background:#fff;margin-top:.75rem}.main .shareBox .title[data-v-96ca8324]{font-size:.9375rem;font-weight:700;color:#333;text-align:left}.main .shareBox .userBox[data-v-96ca8324]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-top:.8125rem}.main .shareBox .userBox .image[data-v-96ca8324]{width:2.75rem;height:2.75rem;background:#000;border-radius:1.375rem;margin-right:.5rem}.main .shareBox .userBox .image img[data-v-96ca8324]{width:100%;height:100%;border-radius:100%}.main .shareBox .userBox .detailRight[data-v-96ca8324]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.main .shareBox .userBox .detailRight .name[data-v-96ca8324]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;border-radius:.75rem}.main .shareBox .userBox .detailRight .name .leave[data-v-96ca8324]{font-size:.625rem;border-radius:.75rem;padding:.125rem .25rem;background:var(--themeBaseColor);color:#fff;margin-left:.25rem}.main .shareBox .userBox .detailRight .id[data-v-96ca8324]{font-size:.75rem;color:#999;text-align:left}.main .shareBox .userBox .detailRight .bottom[data-v-96ca8324]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.main .shareBox .userBox .detailRight .bottom .mobile[data-v-96ca8324]{font-size:.75rem;color:#999;text-align:left}.main .shareBox .userBox .detailRight .bottom .rightBottom[data-v-96ca8324]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.main .shareBox .userBox .detailRight .bottom .rightBottom .rightBottom_image[data-v-96ca8324]{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.main .shareBox .userBox .detailRight .bottom .rightBottom .rightBottom_image .iconfont[data-v-96ca8324]{font-size:1.2rem;color:var(--themeBaseColor)}.main .shareBox .userBox .detailRight .bottom .rightBottom .rightBottom_image .icon-card_weixin1[data-v-96ca8324]{margin-right:.625rem}.main .otherBox[data-v-96ca8324]{margin-top:1.25rem;padding:1rem .625rem;border-radius:.5rem;background:#fff}.main .otherBox .dataBox[data-v-96ca8324]{border-radius:.25rem;padding:1rem 0;background:#fff9e8;margin-top:.75rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:1rem .8125rem;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.main .otherBox .dataBox .dataLis[data-v-96ca8324]{width:30%;text-align:center;margin-bottom:1rem;overflow:hidden}.main .otherBox .dataBox .dataLis .num[data-v-96ca8324]{font-size:.875rem;font-weight:700;color:#333;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.main .otherBox .dataBox .dataLis .name[data-v-96ca8324]{font-size:.6875rem;color:#999;text-align:center;margin-top:.25rem;white-space:nowrap}.main .otherBox .dataBox .dataLis[data-v-96ca8324]:nth-child(n+3){margin-bottom:0}.main .otherBox .plugBox[data-v-96ca8324]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.main .otherBox .plugBox .plug[data-v-96ca8324]{width:25%}.main .otherBox .plugBox .plug .name[data-v-96ca8324]{font-size:.875rem;color:#333}.main .otherBox .plugBox .plug .iconfont[data-v-96ca8324]{display:inline-block;margin:0 auto .3125rem auto;margin-bottom:0;width:1.5rem;height:1.5rem}.main .otherBox .plugBox .plug .icon-member_material[data-v-96ca8324]:before{content:""}.main .otherBox .plugBox .plug .icon-member_material[data-v-96ca8324]{background:url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/member/member_a(65).png") no-repeat 50%;background-size:100% 100%}.main .otherBox .plugBox .plug .icon-extension_video[data-v-96ca8324]:before{content:""}.main .otherBox .plugBox .plug .icon-extension_video[data-v-96ca8324]{background:url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/member/member_a(73).png") no-repeat 50%;background-size:100% 100%}.main .otherBox .plugBox .plug .icon-member_community[data-v-96ca8324]:before{content:""}.main .otherBox .plugBox .plug .icon-member_community[data-v-96ca8324]{background:url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/member/member_a(74).png") no-repeat 50%;background-size:100% 100%}.main .otherBox .plugBox .plug .icon-member-collect1[data-v-96ca8324]:before{content:""}.main .otherBox .plugBox .plug .icon-member-collect1[data-v-96ca8324]{background:url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/member/member_a(41).png") no-repeat 50%;background-size:100% 100%}.main .topHead[data-v-96ca8324]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.main .topHead .right[data-v-96ca8324]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.main .topHead .right .rightTop[data-v-96ca8324]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-bottom:.25rem}.main .topHead .right .rightTop .name[data-v-96ca8324]{font-size:1.125rem;font-weight:700;color:#fff;margin-right:.25rem}.main .topHead .right .rightTop .leave[data-v-96ca8324]{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:.625rem;padding:.125rem .25rem;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:.75rem;background:var(--themeBaseColor)}.main .topHead .right .rightId[data-v-96ca8324],.main .topHead .right .rightTop .leave[data-v-96ca8324]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:#fff}.main .topHead .right .rightId[data-v-96ca8324]{font-size:.75rem}.main .topHead .right .rightId .codeInvitation[data-v-96ca8324]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.main .topHead .right .rightId .codeInvitation .img[data-v-96ca8324]{width:1rem;height:1rem;margin-left:.25rem}.main .topHead .right .rightId .codeInvitation .img img[data-v-96ca8324]{width:100%;height:100%}.main .topHead .right .rightId .ID[data-v-96ca8324]{margin-right:1rem}.main .topHead .imageBox[data-v-96ca8324]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:2.75rem;height:2.75rem;background:transparent;border-radius:100%;margin-right:.5rem}.main .topHead .imageBox img[data-v-96ca8324]{width:100%;height:100%;border-radius:100%}',""]),e.exports=t},c72e:function(e,t,a){"use strict";a("ef2f")},d582:function(e,t,a){var i=a("238f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=a("499e").default;o("9a0f92c4",i,!0,{sourceMap:!1,shadowMode:!1})},db69:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"customerCenterIndex"}},[a("c-title",{attrs:{hide:!1,text:"我的客户"}}),a("diyBackGround"),a("div",{staticClass:"main"},[e.datainfo.member?a("div",{staticClass:"topHead"},[a("div",{staticClass:"imageBox"},[a("img",{attrs:{src:e.datainfo.member.avatar_image,alt:""}})]),a("div",{staticClass:"right"},[a("div",{staticClass:"rightTop"},[a("div",{staticClass:"name"},[e._v(e._s(e.datainfo.member.nickname))]),e.datainfo.member.level_name?a("div",{staticClass:"leave"},[e._v(e._s(e.datainfo.member.level_name))]):e._e()]),a("div",{staticClass:"rightId"},[a("div",{staticClass:"ID"},[e._v("ID"+e._s(e.datainfo.member.uid))]),a("div",{staticClass:"codeInvitation"},[e._v(" 邀请码:"+e._s(e.datainfo.member.invite_code)+" "),a("div",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:e.datainfo.member.invite_code,expression:"datainfo.member.invite_code",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:e.onCopy,expression:"onCopy",arg:"success"}],staticClass:"img"},[a("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images%2FcustomerCenter%2Fimage1%402x.png",alt:""}})])])])])]):e._e(),a("div",{staticClass:"otherBox"},[e.datainfo.plugins?a("div",{staticClass:"plugBox"},e._l(e.datainfo.plugins,(function(t,i){return a("div",{key:i,staticClass:"plug",on:{click:function(a){return e.toPlugin(t.plugin_name)}}},[a("i",{staticClass:"iconfont",class:t.class?t.class:""}),a("div",{staticClass:"name"},[e._v(e._s(t.title))])])})),0):e._e(),e.datainfo.referral?a("div",{staticClass:"dataBox"},[a("div",{staticClass:"dataLis"},[a("div",{staticClass:"num"},[e._v(e._s(e.datainfo.referral.child_total))]),a("div",{staticClass:"name"},[e._v("客户数量(人)")])]),a("div",{staticClass:"dataLis"},[a("div",{staticClass:"num"},[e._v(e._s(e.datainfo.referral.team_total))]),a("div",{staticClass:"name"},[e._v("总客户数(人)")])]),a("div",{staticClass:"dataLis"},[a("div",{staticClass:"num"},[e._v(e._s(e.datainfo.referral.today_amount))]),a("div",{staticClass:"name"},[e._v("今日收入(元)")])]),a("div",{staticClass:"dataLis"},[a("div",{staticClass:"num"},[e._v(e._s(e.datainfo.referral.child_order_money))]),a("div",{staticClass:"name"},[e._v("客户订单(元)")])]),a("div",{staticClass:"dataLis"},[a("div",{staticClass:"num"},[e._v(e._s(e.datainfo.referral.team_order_money))]),a("div",{staticClass:"name"},[e._v("总客户订单(元)")])]),a("div",{staticClass:"dataLis"},[a("div",{staticClass:"num"},[e._v(e._s(e.datainfo.referral.total_amount))]),a("div",{staticClass:"name"},[e._v("累计收入(元)")])])]):e._e()]),e.datainfo.open_user_info_button&&e.datainfo.member&&e.datainfo.member.superior_info?a("div",{staticClass:"shareBox"},[a("div",{staticClass:"title"},[e._v("分享人")]),a("div",{staticClass:"userBox"},[a("div",{staticClass:"image"},[a("img",{attrs:{src:e.datainfo.member.superior_info.avatar_image,alt:""}})]),a("div",{staticClass:"detailRight"},[a("div",{staticClass:"name"},[e._v(" "+e._s(e.datainfo.member.superior_info.nickname)+" "),e.datainfo.member.superior_info.level_name?a("div",{staticClass:"leave"},[e._v(e._s(e.datainfo.member.superior_info.level_name))]):e._e()]),e.datainfo.member.superior_info.uid?a("div",{staticClass:"id"},[e._v("ID"+e._s(e.datainfo.member.superior_info.uid))]):e._e(),a("div",{staticClass:"bottom"},[e.datainfo.member.superior_info.mobile?a("div",{staticClass:"mobile"},[e._v("电话:"+e._s(e.datainfo.member.superior_info.mobile))]):e._e(),a("div",{staticClass:"rightBottom"},[a("div",{staticClass:"rightBottom_image"},[e.datainfo.member.superior_info.wechat?a("i",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:e.datainfo.member.superior_info.wechat,expression:"datainfo.member.superior_info.wechat",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:e.onCopy,expression:"onCopy",arg:"success"}],staticClass:"iconfont icon-card_weixin1"}):e._e(),e.datainfo.member.superior_info.mobile?a("i",{staticClass:"iconfont icon-card_phone",on:{click:function(t){return e.telCall(e.datainfo.member.superior_info.mobile)}}}):e._e()])])])])])]):e._e(),a("div",{staticClass:"nav"},[a("div",{staticClass:"navli",class:0==e.navInd?"navBg":"",on:{click:function(t){return e.tapNav(0)}}},[e._v("直推客户"+e._s(e.datainfo.referral?"("+e.datainfo.referral.child_total+")":""))]),a("div",{staticClass:"navli",class:1==e.navInd?"navBg":"",on:{click:function(t){return e.tapNav(1)}}},[e._v("间推客户"+e._s(e.datainfo.referral?"("+e.datainfo.referral.indirect_team+")":""))])]),a("div",{staticClass:"contenBox"},[a("div",{staticClass:"searchBox"},[a("div",{staticClass:"searchBox_left"},[a("van-field",{attrs:{placeholder:"会员姓名/昵称/手机号"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.getList.apply(null,arguments)}},model:{value:e.searchKey,callback:function(t){e.searchKey=t},expression:"searchKey"}}),a("div",{staticClass:"posSearchBnt",on:{click:e.getList}},[a("i",{staticClass:"iconfont icon-sousuo1"})])],1),a("div",{directives:[{name:"show",rawName:"v-show",value:e.datainfo.open_browse_footprint,expression:"datainfo.open_browse_footprint"}],staticClass:"searchBox_right",on:{click:e.goTrack}},[e._v("轨迹追踪")])]),a("div",{staticClass:"searchNavLis"},[a("div",{staticClass:"searchNav",on:{click:function(t){return t.stopPropagation(),e.setShowInd(0)}}},[a("div",{staticClass:"name"},[e._v(e._s(e.level_id&&e.level_id.id?e.level_id.name:"会员等级"))]),a("i",{staticClass:"iconfont icon-ht_more_bottom"})]),a("div",{staticClass:"searchNav",staticStyle:{flex:"1.2"},on:{click:function(t){return t.stopPropagation(),e.setShowInd(1)}}},[a("div",{staticClass:"name"},[e._v(e._s(e.is_agent?"推广员":"0"==e.is_agent?"不是推广员":"是否为推广员"))]),a("i",{staticClass:"iconfont icon-ht_more_bottom"})]),a("div",{staticClass:"searchNav",staticStyle:{flex:"1.2"},on:{click:function(t){return t.stopPropagation(),e.setShowInd(2)}}},[a("div",{staticClass:"name"},[e._v(e._s(e.orderby.name))]),a("i",{staticClass:"iconfont icon-ht_more_bottom"})]),a("div",{staticClass:"searchNav",on:{click:function(t){return t.stopPropagation(),e.setShowInd(3)}}},[a("div",{staticClass:"name"},[e._v(e._s(e.browse&&e.browse.id?e.browse.name:"轨迹"))]),a("i",{staticClass:"iconfont icon-ht_more_bottom"})])]),a("div",{staticClass:"record"},[a("searchRecord",{attrs:{info:e.list,set:e.display_set,open_browse_footprint:e.datainfo.open_browse_footprint,open_user_info_button:e.datainfo.open_user_info_button}})],1)])]),a("van-popup",{attrs:{round:"",position:"bottom"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[0==e.showIndex?a("van-picker",{attrs:{title:e.setTitle,"value-key":"level_name","show-toolbar":"",columns:e.userLeave},on:{confirm:e.onConfirm,cancel:e.onCancel,change:e.onChange}}):a("van-picker",{attrs:{title:e.setTitle,"value-key":"name","show-toolbar":"",columns:e.selectOption},on:{confirm:e.onConfirm,cancel:e.onCancel,change:e.onChange}})],1)],1)},o=[],s=a("2909"),n=(a("e7e5"),a("d399")),r=(a("14d9"),a("b0c0"),a("ac1f"),a("841c"),a("99af"),a("6968")),l=a("75f5"),c=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"searchRecord"}},e._l(e.info,(function(t,i){return a("div",{key:i,staticClass:"lis"},[a("div",{staticClass:"top"},[a("div",{staticClass:"img"},[a("img",{attrs:{src:t.avatar,alt:""}})]),a("div",{staticClass:"top_user"},[a("div",{staticClass:"top_user_left"},[a("div",{staticClass:"top_user_left_name"},[a("div",{staticClass:"name"},[e._v(e._s(t.nickname))]),a("div",{staticClass:"leave"},[e._v(e._s(t.level_name))])]),a("div",{staticClass:"top_user_left_card"},[e._v("ID:"+e._s(t.uid))])]),a("div",{staticClass:"top_user_right"},[e.set.wechat&&t.wechat?a("i",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:t.wechat,expression:"item.wechat",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:e.onCopy,expression:"onCopy",arg:"success"}],staticClass:"iconfont icon-card_weixin1"}):e._e(),e.set.phone&&t.mobile?a("i",{staticClass:"iconfont icon-card_phone",on:{click:function(a){return e.telCall(t.mobile)}}}):e._e()])])]),a("div",{staticClass:"contenBox"},[a("div",{staticClass:"list listTd"},[a("div",{staticClass:"left"},[e._v("订单数:"+e._s(t.self_total_order)+"个")]),a("div",{staticClass:"right"},[e._v("订单总额:"+e._s(t.self_total_price)+"元")])]),a("div",{staticClass:"list listad"},[a("div",{staticClass:"left"},[e._v("客户数量:"+e._s(t.team_num)+"个")]),a("div",{staticClass:"right"},[e._v("客户订单:"+e._s(t.child_total_price)+"元")])]),a("div",{staticClass:"bottom"},[a("div",{staticClass:"time"},[e._v(e._s(t.createtime))]),a("div",{staticClass:"txt"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.open_browse_footprint,expression:"open_browse_footprint"}],staticClass:"txtName",on:{click:function(a){return e.tapRecord(t.uid)}}},[e._v("轨迹追踪")]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.open_user_info_button,expression:"open_user_info_button"}],staticClass:"txtName",on:{click:function(a){return e.tapUserDetail(t.uid)}}},[e._v("用户信息")])])])])])})),0)},d=[],m={props:{info:{type:Array,default:function(){}},set:{type:Object,default:{}},open_user_info_button:{type:Boolean},open_browse_footprint:{type:Boolean}},data:function(){return{}},activated:function(){},methods:{tapUserDetail:function(e){this.$router.push(this.fun.getUrl("customerCenterUser",{id:e}))},onCopy:function(){Object(n["a"])({message:"复制成功",position:"bottom",duration:1500})},tapRecord:function(e){this.$router.push(this.fun.getUrl("customerCenterRecord",{id:e}))},telCall:function(e){window.location.href="tel://".concat(e)}}},f=m,p=(a("c72e"),a("2877")),h=Object(p["a"])(f,c,d,!1,null,"0848f7aa",null),u=h.exports,b=a("ac0d"),x=a("8135"),g={mixins:[b["a"]],data:function(){return{navInd:0,searchKey:"",show:!1,showIndex:"",datainfo:[],list:[],display_set:{},userLeave:[],is_agent:"",level_id:{name:"",id:""},orderby:{name:"",id:""},browse:{name:"",id:""},isLoadMore:!0,page:1,total_page:0}},activated:function(){this.getData(),this.init(),this.getList()},computed:{setTitle:function(){return 0==this.showIndex?"会员等级":1==this.showIndex?"是否推广员":2==this.showIndex?"排序":3==this.showIndex?"轨迹":void 0},selectOption:function(){return 1==this.showIndex?[{id:"",name:"是否为推广员"},{id:0,name:"不是推广员"},{id:1,name:"推广员"}]:2==this.showIndex?[{id:"",name:"排序"},{id:0,name:"注册时间倒序"},{id:1,name:"注册时间正序"},{id:2,name:"订单数量"},{id:3,name:"订单总额"},{id:4,name:"客户数量"},{id:5,name:"客户订单总金额"}]:3==this.showIndex?[{id:0,name:"轨迹"},{id:1,name:"一天之内"},{id:2,name:"三天之内"},{id:3,name:"七天之内"},{id:4,name:"30天未访问过"}]:void 0}},methods:{toPlugin:function(e){"material-center"==e?this.$router.push(this.fun.getUrl("materialCenter")):"article"==e?this.$router.push(this.fun.getUrl("notice")):"video-share"==e?this.$router.push(this.fun.getUrl("VideoList")):"micro-communities"==e&&this.$router.push(this.fun.getUrl("MicroHome"))},goTrack:function(){this.$router.push(this.fun.getUrl("customerCenterTrack",{is_type:this.navInd}))},onConfirm:function(e){0==this.showIndex?(this.level_id.id=e.id,this.level_id.name=e.level_name):1==this.showIndex?this.is_agent=e.id:2==this.showIndex?this.orderby=e:this.browse=e,this.show=!1,this.getList()},onCancel:function(){this.show=!1},init:function(){this.isLoadMore=!0,this.page=1,this.total_page=0,this.keyword="",this.is_agent="",this.level_id={name:"",id:""},this.orderby={name:"注册时间倒序",id:"0"},this.browse={name:"",id:""}},getList:function(){var e=this,t={search:{level_type:this.navInd,keyword:this.searchKey}};t.search.is_agent=this.is_agent,t.search.orderby=this.orderby.id,this.level_id&&this.level_id.id&&(t.search.level_id=this.level_id.id),this.browse&&this.browse.id&&(t.search.browse=this.browse.id),$http.post("plugin.customer-center.frontend.controllers.index.get-customer-list",t,"").then((function(t){1===t.result?(e.isLoadMore=!0,e.total_page=t.data.customer_list.last_page,e.total_page||(e.total_page=0),e.list=t.data.customer_list.data,e.display_set=t.data.display_set):Object(n["a"])(t.msg)})).catch((function(e){}))},getMoreData:function(){var e=this;if(e.isLoadMore=!1,!(this.page>=this.total_page)){var t={search:{level_type:this.navInd,keyword:this.searchKey}};t.search.is_agent=this.is_agent,t.search.orderby=this.orderby.id,this.level_id&&this.level_id.id&&(t.search.level_id=this.level_id.id),this.browse&&this.browse.id&&(t.search.browse=this.browse.id),this.page=this.page+1,t.page=this.page,$http.post("plugin.customer-center.frontend.controllers.index.get-customer-list",t,"加载中").then((function(t){var a=t.data;if(e.isLoadMore=!0,1===t.result){var i=a.customer_list.data;e.list=e.list.concat(i)}else e.page=e.page-1,e.isLoadMore=!1}),(function(e){}))}},onCopy:function(){Object(n["a"])({message:"复制成功",position:"bottom",duration:5e3})},telCall:function(e){window.location.href="tel://".concat(e)},setShowInd:function(e){this.showIndex=e,this.show=!0,0==e&&0==this.userLeave.length&&this.getUser()},tapNav:function(e){this.navInd=e,this.init(),this.getList()},onClickRight:function(){this.show=!1},onClickLeft:function(){this.show=!1},getUser:function(){var e=this;$http.get("plugin.customer-center.frontend.controllers.index.get-level-list",{},"加载中").then((function(t){if(1===t.result){var a=t.data.level_list;a=[{id:"",level_name:"请选择会员等级"}].concat(Object(s["a"])(a)),e.userLeave=a}else e.$dialog.alert({message:t.msg})})).catch((function(e){}))},getData:function(){var e=this;$http.get("plugin.customer-center.frontend.controllers.index.index",{},"加载中").then((function(t){if(1===t.result){var a=Object(x["a"])({scene:5,title:"客户中心"});if(!a)return;e.datainfo=t.data}else e.$dialog.alert({message:t.msg})})).catch((function(e){}))}},components:{cTitle:r["a"],diyBackGround:l["a"],searchRecord:u}},v=g,_=v,w=(a("e1db"),Object(p["a"])(_,i,o,!1,null,"96ca8324",null));t["default"]=w.exports},e1db:function(e,t,a){"use strict";a("0951")},ef2f:function(e,t,a){var i=a("89ec");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=a("499e").default;o("455a96ad",i,!0,{sourceMap:!1,shadowMode:!1})}}]);