1 line
27 KiB
JavaScript
1 line
27 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-289aa572"],{"0a00":function(t,e,i){"use strict";i("fde7")},"23e1":function(t,e,i){var a=i("85e4");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var s=i("499e").default;s("0650df1f",a,!0,{sourceMap:!1,shadowMode:!1})},2482:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".Visitorlist[data-v-12b5dcd2]{margin:0 .75rem;border-radius:8px;background:#fff;padding:0 .75rem}.Visitorlist .list[data-v-12b5dcd2]{padding:1.1875rem 0 1.125rem 0;border-bottom:1px solid #e7e7e7;-ms-flex-pack:justify}.Visitorlist .list[data-v-12b5dcd2],.Visitorlist .list .right[data-v-12b5dcd2]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.Visitorlist .list .right[data-v-12b5dcd2]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-ms-flex-pack:justify}.Visitorlist .list .right .iconBox[data-v-12b5dcd2]{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}.Visitorlist .list .right .iconBox .iconfont[data-v-12b5dcd2]{font-size:1.3rem;color:var(--themeBaseColor)}.Visitorlist .list .right .iconBox .icon-card_weixin1[data-v-12b5dcd2]{margin-right:.625rem}.Visitorlist .list .right .right_left[data-v-12b5dcd2]{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}.Visitorlist .list .right .right_left .name[data-v-12b5dcd2]{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:.8125rem}.Visitorlist .list .right .right_left .name .id[data-v-12b5dcd2]{font-size:.6875rem;color:#999;margin-left:.25rem}.Visitorlist .list .right .right_left .detail[data-v-12b5dcd2]{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;font-size:.75rem;color:#02bbff}.Visitorlist .list .right .right_left .detail .detailBtn[data-v-12b5dcd2]{padding:.125rem .25rem;border-radius:.75rem;color:#fff;background:var(--themeBaseColor);margin-left:.5rem}.Visitorlist .list .left[data-v-12b5dcd2]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:2.25rem;height:2.25rem;background:transparent;border-radius:50%;margin-right:.5rem}.Visitorlist .list .left img[data-v-12b5dcd2]{width:100%;height:100%;border-radius:50%}.Visitorlist .list[data-v-12b5dcd2]:last-child{border-bottom:none}",""]),t.exports=e},3293:function(t,e,i){"use strict";i("4c20")},49258:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,"#customerCenterTrack[data-v-37ffed4c]{padding-bottom:1.5rem}.fade-enter-active[data-v-37ffed4c],.fade-leave-active[data-v-37ffed4c]{-webkit-transition:opacity .5s;transition:opacity .5s}.fade-enter[data-v-37ffed4c],.fade-leave-to[data-v-37ffed4c]{opacity:0}@-webkit-keyframes ident-data-v-37ffed4c{0%{opacity:0}50%{opacity:.75}to{opacity:1}}@keyframes ident-data-v-37ffed4c{0%{opacity:0}50%{opacity:.75}to{opacity:1}}.navBox[data-v-37ffed4c]{margin:0 1.75rem;background:rgba(231,231,232,.39);opacity:1;border-radius:18px;height:2.25rem;margin-bottom:.75rem;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:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.navBox .navLis[data-v-37ffed4c]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:center;height:2.25rem;line-height:2.25rem;font-size:.875rem;color:#999}.navBox .select[data-v-37ffed4c]{border-radius:18px;background:var(--themeBaseColor);-webkit-animation:ident-data-v-37ffed4c .5s;animation:ident-data-v-37ffed4c .5s;color:#fff}.customer-statistic[data-v-37ffed4c]{background-color:#f2f2f2}.customer-statistic[data-v-37ffed4c] .header-box{padding:.94rem;padding-top:0;color:#fff;background:var(--themeBaseColor)}.customer-statistic[data-v-37ffed4c] .header-box .van-nav-bar{background-color:transparent}.customer-statistic[data-v-37ffed4c] .header-box .van-nav-bar .van-icon-arrow-left,.customer-statistic[data-v-37ffed4c] .header-box .van-nav-bar .van-nav-bar__title{font-size:18px;color:#fff}.customer-statistic[data-v-37ffed4c] .header-box .van-hairline--bottom:after{display:none}.customer-statistic[data-v-37ffed4c] .header-box .calendar-cell{margin-top:2rem;font-size:15px}.customer-statistic[data-v-37ffed4c] .header-box .calendar-cell .icon-fontclass-rili{margin-right:.5rem}.customer-statistic[data-v-37ffed4c] .header-box .cumulative{font-size:10px;line-height:30px}.customer-statistic[data-v-37ffed4c] .header-box .cumulative .cumulative-num{font-size:23px;font-weight:700;margin-right:.3rem}.customer-statistic[data-v-37ffed4c] .header-box .statistic-box{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-top:1.2rem}.customer-statistic[data-v-37ffed4c] .header-box .statistic-box .cumulative-box,.customer-statistic[data-v-37ffed4c] .header-box .statistic-box .current-box{width:9.38rem;padding:.69rem;background-color:#fff;border-radius:.31rem}.customer-statistic[data-v-37ffed4c] .header-box .statistic-box .cumulative-box .statistic-title,.customer-statistic[data-v-37ffed4c] .header-box .statistic-box .current-box .statistic-title{font-size:12px;color:#575757}.customer-statistic[data-v-37ffed4c] .header-box .statistic-box .cumulative-box .statistic-num,.customer-statistic[data-v-37ffed4c] .header-box .statistic-box .current-box .statistic-num{font-size:18px;font-weight:700;padding:.5rem 0;color:#323232}.customer-statistic[data-v-37ffed4c] .header-box .statistic-box .cumulative-box .diff,.customer-statistic[data-v-37ffed4c] .header-box .statistic-box .current-box .diff{font-size:10px;color:#868686}.customer-statistic[data-v-37ffed4c] .header-box .increase-icon{color:#ee2525}.customer-statistic[data-v-37ffed4c] .header-box .reduce-icon{color:#4aa22b;-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.customer-statistic .container[data-v-37ffed4c]{padding-bottom:1rem}.customer-statistic .plane-block[data-v-37ffed4c]{margin:.63rem .94rem;border-radius:.53rem;background-color:#fff}.customer-statistic[data-v-37ffed4c] .calendar-popup{padding:.5rem 2rem}.flex[data-v-37ffed4c],.flex-j-c[data-v-37ffed4c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flex-j-c[data-v-37ffed4c]{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.flex-j-sb[data-v-37ffed4c]{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.flex-a-c[data-v-37ffed4c],.flex-j-sb[data-v-37ffed4c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flex-a-c[data-v-37ffed4c]{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.flex-a-fe[data-v-37ffed4c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end}",""]),t.exports=e},"4c20":function(t,e,i){var a=i("49258");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var s=i("499e").default;s("1f95a33c",a,!0,{sourceMap:!1,shadowMode:!1})},"5dad":function(t,e,i){"use strict";i("23e1")},7017:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".pageRank[data-v-1c79e855]{padding:1rem .75rem;margin:.75rem;background:#fff;border-radius:.5rem}.pageRank .lis[data-v-1c79e855]{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;border-bottom:1px solid #e7e7e7;padding:.8125rem 0}.pageRank .lis[data-v-1c79e855],.pageRank .lis .img[data-v-1c79e855]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.pageRank .lis .img[data-v-1c79e855]{-webkit-box-flex:.5;-webkit-flex:.5;-ms-flex:.5;flex:.5;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-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}.pageRank .lis .img .numInd[data-v-1c79e855]{font-size:.875rem;color:#333;font-weight:700}.pageRank .lis .img img[data-v-1c79e855]{width:2.6875rem;height:2.0625rem}.pageRank .lis .contenbox[data-v-1c79e855]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:left;overflow:hidden;color:#02bbff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.pageRank .lis .contenbox .urlLine[data-v-1c79e855]{text-decoration:underline}.pageRank .lis .contenbox .cRight[data-v-1c79e855]{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-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.pageRank .lis .contenbox .cRight .ctitle[data-v-1c79e855]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-decoration:underline}.pageRank .lis .contenbox .cRight .cprice[data-v-1c79e855]{color:#f84949;font-size:.75rem;text-decoration:none}.pageRank .lis .contenbox .cimg[data-v-1c79e855]{margin-right:.325rem}.pageRank .lis .contenbox .cimg[data-v-1c79e855],.pageRank .lis .contenbox .cimg img[data-v-1c79e855]{width:2.5rem;height:2.5rem;border-radius:.25rem}.pageRank .lis .num[data-v-1c79e855]{-webkit-box-flex:.5;-webkit-flex:.5;-ms-flex:.5;flex:.5;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;font-size:.875rem;color:#333;font-weight:700}.pageRank .lis .num img[data-v-1c79e855]{width:.5rem;height:.75rem;margin:0}.pageRank .lis[data-v-1c79e855]:last-child{border-bottom:none}.pageRank .nav[data-v-1c79e855]{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;margin-bottom:1rem}.pageRank .nav .title[data-v-1c79e855]{-webkit-box-flex:.5;-webkit-flex:.5;-ms-flex:.5;flex:.5}.pageRank .nav .ad[data-v-1c79e855]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}",""]),t.exports=e},"85e4":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".listBox[data-v-6283fe56]{margin:0 .75rem;border-radius:.5rem;padding:1rem 1rem 1rem .75rem;background:#fff;position:relative;margin-bottom:.625rem}.listBox .wcPhone[data-v-6283fe56]{position:absolute;right:1rem;bottom:1.6875rem;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}.listBox .wcPhone .iconfont[data-v-6283fe56]{font-size:1.6rem;color:var(--themeBaseColor)}.listBox .wcPhone .icon-card_weixin1[data-v-6283fe56]{margin-right:.5rem}.listBox .type[data-v-6283fe56]{text-align:left;line-height:1.1875rem;margin-bottom:.5rem;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;font-size:.8125rem}.listBox .type .type_left[data-v-6283fe56]{color:#999}.listBox .type .btn[data-v-6283fe56]{background:var(--themeBaseColor);color:#fff;padding:.0625rem .5rem;border-radius:12px}.listBox .type .copyBtn[data-v-6283fe56]{color:var(--themeBaseColor);padding:.0625rem .5rem;border:1px solid var(--themeBaseColor);border-radius:12px;margin-left:.5rem}.listBox .top[data-v-6283fe56]{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;margin-bottom:.8125rem}.listBox .top .img[data-v-6283fe56]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-right:.5rem}.listBox .top .img[data-v-6283fe56],.listBox .top .img img[data-v-6283fe56]{border-radius:50%;width:2.25rem;height:2.25rem}.listBox .top .right[data-v-6283fe56]{-webkit-box-flex:1;-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}.listBox .top .right[data-v-6283fe56],.listBox .top .right .right_top[data-v-6283fe56]{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}.listBox .top .right .right_top[data-v-6283fe56]{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.listBox .top .right .right_top .name[data-v-6283fe56]{font-size:.8125rem;color:#333}.listBox .top .right .right_top .txt[data-v-6283fe56]{font-size:.75rem;color:var(--themeBaseColor)}.listBox .top .right .right_top .id[data-v-6283fe56],.listBox .top .right .right_top .time[data-v-6283fe56]{font-size:.75rem;color:#999}",""]),t.exports=e},"93b53":function(t,e,i){var a=i("2482");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var s=i("499e").default;s("54b4760a",a,!0,{sourceMap:!1,shadowMode:!1})},ab4d: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:"customerCenterTrack"}},[i("div",{staticClass:"customer-statistic"},[i("div",{staticClass:"header-box"},[i("van-nav-bar",{staticClass:"nav-bar",attrs:{"left-arrow":"",title:"轨迹追踪"},on:{"click-left":t.onClickLeft}}),i("div",{staticClass:"calendar-cell flex-j-sb flex-a-c",on:{click:t.showCalendar}},[i("span",[i("van-icon",{staticClass:"iconfont icon-fontclass-rili"}),i("span",[t._v(t._s(t.timeText))])],1),i("van-icon",{attrs:{name:"arrow"}})],1),i("div",{staticClass:"cumulative"},[i("p",[t._v("累计访问次数")]),i("div",[i("span",{staticClass:"cumulative-num"},[t._v(t._s(t.visit_data.all_visit_count))]),i("span",[t._v("昨日访问"+t._s(t.visit_data.yesterday_visit_people_count))])])]),i("div",{staticClass:"statistic-box"},[i("div",{staticClass:"cumulative-box"},[i("p",{staticClass:"statistic-title"},[t._v("累计访问人数")]),i("p",{staticClass:"statistic-num"},[t._v(t._s(t.visit_data.all_visit_people_count))]),i("div",{staticClass:"diff flex-j-sb flex-a-c"},[i("span",[t._v("较昨日"+t._s(t.visit_data.yesterday_visit_people_count))]),i("van-icon",{staticClass:"iconfont icon-rise",class:t.visit_data.all_visit_people_count>t.visit_data.yesterday_visit_people_count?"increase-icon":"reduce-icon"})],1)]),i("div",{staticClass:"current-box"},[i("p",{staticClass:"statistic-title"},[t._v("当日最高访问次数")]),i("p",{staticClass:"statistic-num"},[t._v(t._s(t.visit_data.today_visit_max_count))]),i("div",{staticClass:"diff flex-j-sb flex-a-c"},[i("span",[t._v("较昨日"+t._s(t.visit_data.yesterday_visit_max_count))]),i("van-icon",{staticClass:"iconfont icon-rise",class:t.visit_data.today_visit_max_count>t.visit_data.yesterday_visit_max_count?"increase-icon":"reduce-icon"})],1)])])],1),i("div",{staticClass:"container"},[i("div",{staticClass:"plane-block"},[i("history-echart",{attrs:{id:"line-history-chart",history:t.history}})],1),i("div",{staticClass:"plane-block"},[i("port-echart",{attrs:{barId:"bar-port-chart",pieId:"pie-port-chart",port:t.port}})],1)])]),i("div",{staticClass:"navBox"},[i("div",{staticClass:"navLis",class:1==t.tabInd?"select":"",on:{click:function(e){return t.selectTab(1)}}},[t._v("轨迹记录")]),i("div",{staticClass:"navLis",class:2==t.tabInd?"select":"",on:{click:function(e){return t.selectTab(2)}}},[t._v("页面排行")]),i("div",{staticClass:"navLis",class:3==t.tabInd?"select":"",on:{click:function(e){return t.selectTab(3)}}},[t._v("访客排行")])]),t.top_list.length>0?[1==t.tabInd?i("trackList",{attrs:{list:t.top_list,display_set:t.display_set}}):t._e(),2==t.tabInd?i("pageRankList",{attrs:{list:t.top_list,display_set:t.display_set}}):t._e(),3==t.tabInd?i("Visitorlist",{attrs:{list:t.top_list,display_set:t.display_set}}):t._e()]:t._e(),i("van-popup",{attrs:{position:"bottom"},model:{value:t.isShowCalendar,callback:function(e){t.isShowCalendar=e},expression:"isShowCalendar"}},[i("van-datetime-picker",{attrs:{type:"date",title:"选择年月日","max-date":t.maxDate},on:{cancel:t.cancel,confirm:t.confirm},model:{value:t.currentDate,callback:function(e){t.currentDate=e},expression:"currentDate"}})],1)],2)},s=[],o=(i("14d9"),i("99af"),i("ff78")),n=i("c996"),l=i("bfeb"),c=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"main"},t._l(t.list,(function(e){return i("div",{key:e,staticClass:"listBox"},[e.has_one_member?i("div",{staticClass:"top"},[i("div",{staticClass:"img"},[i("img",{attrs:{src:e.has_one_member.avatar_image,alt:""}})]),i("div",{staticClass:"right"},[i("div",{staticClass:"right_top"},[i("div",{staticClass:"name"},[t._v(t._s(e.has_one_member.nickname))]),i("div",{staticClass:"txt"},[t._v("当天第"+t._s(e.second)+"次访问")])]),i("div",{staticClass:"right_top"},[i("div",{staticClass:"id"},[t._v("ID:"+t._s(e.has_one_member.uid))]),i("div",{staticClass:"time"},[t._v(t._s(e.created_at))])])])]):t._e(),i("div",{staticClass:"type"},[i("div",{staticClass:"type_left"},[t._v("页面类型:")]),t._v(" "+t._s(e.page_type)+" ")]),i("div",{staticClass:"type"},[i("div",{staticClass:"type_left"},[t._v("页面标题:")]),t._v(" "+t._s(e.title)+" ")]),i("div",{staticClass:"type"},[i("div",{staticClass:"type_left"},[t._v("访问端口:")]),t._v(" "+t._s(e.port_name)+" ")]),i("div",{staticClass:"type"},[i("div",{staticClass:"type_left"},[t._v("页面URL:")]),i("div",{staticClass:"btn",on:{click:function(i){return t.toUrl(e.url)}}},[t._v("访问")]),i("div",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:e.url,expression:"item.url",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:t.onCopy,expression:"onCopy",arg:"success"}],staticClass:"copyBtn"},[t._v("复制")])]),e.has_one_member?i("div",{staticClass:"wcPhone"},[t.display_set.wechat&&e.has_one_member.wechat?i("i",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:e.has_one_member.wechat,expression:"item.has_one_member.wechat",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:t.onCopy,expression:"onCopy",arg:"success"}],staticClass:"iconfont icon-card_weixin1"}):t._e(),t.display_set.phone&&e.has_one_member.mobile?i("i",{staticClass:"iconfont icon-card_phone",on:{click:function(i){return t.telCall(e.has_one_member.mobile)}}}):t._e()]):t._e()])})),0)},r=[],d=(i("e7e5"),i("d399")),f={props:{list:{type:null},display_set:{type:null}},data:function(){return{}},methods:{telCall:function(t){window.location.href="tel://".concat(t)},toUrl:function(t){window.location.href=t},onCopy:function(){Object(d["a"])({message:"复制成功",position:"bottom",duration:1500})}}},m=f,p=(i("5dad"),i("2877")),b=Object(p["a"])(m,c,r,!1,null,"6283fe56",null),u=b.exports,x=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"pageRank"},[t._m(0),t._l(t.list,(function(e,a){return i("div",{key:a,staticClass:"lis"},[i("div",{staticClass:"img"},[0==a?i("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images/customerCenter/image4@2x.png",alt:""}}):1==a?i("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images/customerCenter/image5@2x.png",alt:""}}):2==a?i("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images/customerCenter/image6@2x.png",alt:""}}):i("div",{staticClass:"numInd"},[t._v(t._s(a+1))])]),"goods"!=e.page_type?[t.fun.isUrl(e.url)?i("div",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:e.url,expression:"item.url",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:t.onCopy,expression:"onCopy",arg:"success"}],staticClass:"contenbox"},[i("span",{staticClass:"urlLine"},[t._v(t._s(e.url))])]):i("div",{staticClass:"contenbox",on:{click:function(i){return t.toUrl(e.url)}}},[i("span",{staticClass:"urlLine"},[t._v(t._s(e.url))])])]:[i("div",{staticClass:"contenbox"},[i("div",{staticClass:"cimg"},[i("img",{attrs:{src:e.thumb,alt:""}})]),t.fun.isUrl(e.url)?i("div",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:e.url,expression:"item.url",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:t.onCopy,expression:"onCopy",arg:"success"}],staticClass:"cRight"},[i("div",{staticClass:"ctitle"},[t._v(t._s(e.title))]),i("div",{staticClass:"cprice"},[t._v("¥"+t._s(e.price))])]):i("div",{staticClass:"cRight",on:{click:function(i){return t.toUrl(e.url)}}},[i("div",{staticClass:"ctitle"},[t._v(t._s(e.title))]),i("div",{staticClass:"cprice"},[t._v("¥"+t._s(e.price))])])])],i("div",{staticClass:"num"},[t._v(" "+t._s(e.top)+" "),a<=2?i("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images%2FcustomerCenter%2Fimage7%402x.png",alt:""}}):t._e()])],2)}))],2)},v=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"nav"},[i("div",{staticClass:"title"},[t._v("排名")]),i("div",{staticClass:"title ad"},[t._v("页面")]),i("div",{staticClass:"title"},[t._v("访客次数")])])}],g={props:{list:{type:Array,default:[]},display_set:{type:null}},data:function(){return{}},methods:{onCopy:function(){Object(d["a"])({message:"复制成功",position:"bottom",duration:1500})},toUrl:function(t){window.location.href=t}}},h=g,_=(i("0a00"),Object(p["a"])(h,x,v,!1,null,"1c79e855",null)),y=_.exports,k=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"Visitorlist"},t._l(t.list,(function(e,a){return i("div",{key:a,staticClass:"list"},[e.has_one_member?i("div",{staticClass:"left"},[i("img",{attrs:{src:e.has_one_member.avatar_image,alt:""}})]):t._e(),i("div",{staticClass:"right"},[i("div",{staticClass:"right_left"},[e.has_one_member?i("div",{staticClass:"name"},[t._v(" "+t._s(e.has_one_member.nickname)+" "),i("div",{staticClass:"id"},[t._v("ID: "+t._s(e.has_one_member.uid))])]):t._e(),i("div",{staticClass:"detail"},[i("div",{staticClass:"txt"},[t._v("访问次数:"+t._s(e.top))]),i("div",{staticClass:"detailBtn",on:{click:function(i){return t.toRecord(e.member_id)}}},[t._v("查看记录")])])]),e.has_one_member?i("div",{staticClass:"iconBox"},[e.has_one_member.wechat&&t.display_set.wechat?i("i",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:e.has_one_member.wechat,expression:"item.has_one_member.wechat",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:t.onCopy,expression:"onCopy",arg:"success"}],staticClass:"iconfont icon-card_weixin1"}):t._e(),e.has_one_member.mobile&&t.display_set.mobile?i("i",{staticClass:"iconfont icon-card_phone",on:{click:function(i){return t.telCall(e.has_one_member.mobile)}}}):t._e()]):t._e()])])})),0)},w=[],C={props:{list:{type:Array,default:[]},display_set:{type:null}},data:function(){return{}},methods:{telCall:function(t){window.location.href="tel://".concat(t)},onCopy:function(){Toast({message:"复制成功",position:"bottom",duration:1500})},toRecord:function(t){this.$router.push(this.fun.getUrl("customerCenterRecord",{id:t}))}}},j=C,B=(i("b1ca"),Object(p["a"])(j,k,w,!1,null,"12b5dcd2",null)),R=B.exports,L=i("ac0d"),T={mixins:[L["a"]],data:function(){return{isShowCalendar:!1,currentTime:new Date,timeText:"",markDate:[],display_set:[],top_list:[],resData:null,cumulative:{},history:[],port:[],rank:[],member:[],visit_data:[],tabInd:1,maxDate:new Date,currentDate:new Date,isLoadMore:!0,page:1,total_page:0}},activated:function(){var t=this.fun.getKey("date");t&&(this.currentTime=new Date(t)),this.timeText=this.fun.dateFormat("YYY-mm-dd",this.currentTime),this.markDate[0]=this.fun.dateFormat("YYYY/mm/dd",this.currentTime),this.getData(),this.getList(),window.scrollTo({top:0,left:0,behavior:"smooth"})},computed:{},methods:{onClickLeft:function(){try{this.$router.go(-1)}catch(t){this.$router.push(this.fun.getUrl("home"))}},selectTab:function(t){this.tabInd=t,this.init(),this.getList()},init:function(){this.page=1,this.total_page=0,this.isLoadMore=!0,this.top_list=[]},showCalendar:function(){this.isShowCalendar=!0},cancel:function(){this.isShowCalendar=!1},confirm:function(t){this.timeText=this.fun.dateFormat("YYY-mm-dd",t),this.isShowCalendar=!1,this.init(),this.getData(),this.getList()},getData:function(){var t=this,e={};e.level_type=this.$route.params.is_type,e.date=this.timeText,$http.get("plugin.customer-center.frontend.controllers.browse.index",e,"加载中").then((function(e){1===e.result?(t.history=e.data.history_data,t.port=e.data.port_data,t.visit_data=e.data.visit_data,t.display_set=e.data.display_set):t.$dialog.alert({message:e.msg})})).catch((function(t){}))},getList:function(){var t=this,e={};e.level_type=this.$route.params.is_type,e.date=this.timeText,e.top_type=this.tabInd,$http.get("plugin.customer-center.frontend.controllers.browse.get-record-list",e,"加载中").then((function(e){1===e.result?(t.isLoadMore=!0,t.total_page=e.data.top_list.last_page,t.total_page||(t.total_page=0),t.top_list=e.data.top_list.data):t.$dialog.alert({message:e.msg})})).catch((function(t){}))},getMoreData:function(){var t=this;if(this.isLoadMore=!1,!(this.page>=this.total_page)){var e={};e.level_type=this.$route.params.is_type,e.date=this.timeText,e.top_type=this.tabInd,this.page=this.page+1,e.page=this.page,$http.post("plugin.customer-center.frontend.controllers.browse.get-record-list",e,"加载中").then((function(e){if(t.isLoadMore=!0,1===e.result){var i=e.data.top_list.data;t.top_list=t.top_list.concat(i)}else t.page=t.page-1,t.isLoadMore=!1}),(function(t){}))}}},components:{historyEchart:o["a"],portEchart:n["a"],pageRanking:l["a"],trackList:u,pageRankList:y,Visitorlist:R}},z=T,M=z,D=(i("3293"),Object(p["a"])(M,a,s,!1,null,"37ffed4c",null));e["default"]=D.exports},ac0d:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var a=document.documentElement,s=document.body,o={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:s&&(t=s.scrollTop),t},getClientHeight:function(){var t=0;return t=s.clientHeight&&a.clientHeight?Math.min(s.clientHeight,a.clientHeight):Math.max(s.clientHeight,a.clientHeight),t},getScrollHeight:function(){return Math.max(s.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(){}}}},b1ca:function(t,e,i){"use strict";i("93b53")},fde7:function(t,e,i){var a=i("7017");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var s=i("499e").default;s("c3250f12",a,!0,{sourceMap:!1,shadowMode:!1})}}]); |