(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-487e8636"],{1175:function(t,o,e){},"11fe":function(t,o,e){"use strict";e.d(o,"pb",(function(){return i})),e.d(o,"hb",(function(){return s})),e.d(o,"c",(function(){return r})),e.d(o,"z",(function(){return a})),e.d(o,"C",(function(){return l})),e.d(o,"F",(function(){return c})),e.d(o,"A",(function(){return u})),e.d(o,"yb",(function(){return p})),e.d(o,"cb",(function(){return d})),e.d(o,"D",(function(){return m})),e.d(o,"R",(function(){return f})),e.d(o,"S",(function(){return h})),e.d(o,"B",(function(){return v})),e.d(o,"E",(function(){return g})),e.d(o,"Y",(function(){return w})),e.d(o,"O",(function(){return A})),e.d(o,"y",(function(){return b})),e.d(o,"K",(function(){return y})),e.d(o,"v",(function(){return D})),e.d(o,"u",(function(){return C})),e.d(o,"w",(function(){return B})),e.d(o,"ib",(function(){return O})),e.d(o,"d",(function(){return S})),e.d(o,"s",(function(){return x})),e.d(o,"N",(function(){return T})),e.d(o,"xb",(function(){return E})),e.d(o,"b",(function(){return j})),e.d(o,"qb",(function(){return k})),e.d(o,"rb",(function(){return U})),e.d(o,"wb",(function(){return L})),e.d(o,"nb",(function(){return I})),e.d(o,"q",(function(){return N})),e.d(o,"m",(function(){return R})),e.d(o,"G",(function(){return M})),e.d(o,"H",(function(){return H})),e.d(o,"I",(function(){return z})),e.d(o,"k",(function(){return G})),e.d(o,"T",(function(){return W})),e.d(o,"j",(function(){return P})),e.d(o,"vb",(function(){return Q})),e.d(o,"lb",(function(){return Y})),e.d(o,"ob",(function(){return F})),e.d(o,"p",(function(){return Z})),e.d(o,"t",(function(){return V})),e.d(o,"l",(function(){return J})),e.d(o,"fb",(function(){return X})),e.d(o,"Z",(function(){return q})),e.d(o,"r",(function(){return _})),e.d(o,"n",(function(){return K})),e.d(o,"x",(function(){return $})),e.d(o,"jb",(function(){return tt})),e.d(o,"i",(function(){return ot})),e.d(o,"W",(function(){return et})),e.d(o,"V",(function(){return nt})),e.d(o,"Q",(function(){return it})),e.d(o,"M",(function(){return st})),e.d(o,"sb",(function(){return rt})),e.d(o,"bb",(function(){return at})),e.d(o,"L",(function(){return lt})),e.d(o,"U",(function(){return ct})),e.d(o,"ub",(function(){return ut})),e.d(o,"tb",(function(){return pt})),e.d(o,"a",(function(){return dt})),e.d(o,"ab",(function(){return mt})),e.d(o,"gb",(function(){return ft})),e.d(o,"o",(function(){return ht})),e.d(o,"db",(function(){return vt})),e.d(o,"kb",(function(){return gt})),e.d(o,"X",(function(){return wt})),e.d(o,"J",(function(){return At})),e.d(o,"e",(function(){return bt})),e.d(o,"h",(function(){return yt})),e.d(o,"f",(function(){return Dt})),e.d(o,"g",(function(){return Ct})),e.d(o,"mb",(function(){return Bt})),e.d(o,"P",(function(){return Ot})),e.d(o,"eb",(function(){return St}));var n=e("b775");function i(t){return Object(n["a"])({url:"/api/crm_customer/source",method:"post",data:t})}function s(t){return Object(n["a"])({url:"/api/crm_customer/product",method:"post",data:t})}function r(t){return Object(n["a"])({url:"/api/crm_customer/add",method:"post",data:t})}function a(t){return Object(n["a"])({url:"/api/crm_customer/count",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/api/crm_customer/pool",method:"post",data:t})}function c(t){return Object(n["a"])({url:"/api/crm_customer/visitlog",method:"post",data:t})}function u(t){return Object(n["a"])({url:"/api/crm_customer/fetchpoolitem",method:"post",data:t})}function p(t){return Object(n["a"])({url:"/api/crm_customer/visit_schedule",method:"get",params:t})}function d(t){return Object(n["a"])({url:"/api/crm_customer/lists",method:"post",data:t})}function m(t){return Object(n["a"])({url:"/api/crmCustomer/customer_top",method:"post",data:t})}function f(t){return Object(n["a"])({url:"/api/crmCustomer/getCrmPhone",method:"post",data:t})}function h(t){return Object(n["a"])({url:"/api/profile/getCustomerCount",method:"post",data:t})}function v(t){return Object(n["a"])({url:"/api/profile/customernew",method:"post",data:t})}function g(t){return Object(n["a"])({url:"/api/profile/customervisitlog",method:"post",data:t})}function w(t){return Object(n["a"])({url:"/api/profile/invalidClue",method:"post",data:t})}function A(t){return Object(n["a"])({url:"/api/crm_customer/forhouseinfo",method:"post",data:t})}function b(t){return Object(n["a"])({url:"/api/crm_customer/confirmList",method:"post",data:t})}function y(t){return Object(n["a"])({url:"/api/designer/list",method:"post",data:t})}function D(t){return Object(n["a"])({url:"/api/crm_customer/customerExt",method:"post",data:t})}function C(t){return Object(n["a"])({url:"/api/crm_customer/detail",method:"post",data:t})}function B(t){return Object(n["a"])({url:"/api/crm_customer/house",method:"post",data:t})}function O(t){return Object(n["a"])({url:"/api/crm_customer/reserveDesigner",method:"post",data:t})}function S(t){return Object(n["a"])({url:"/api/crm_customer/addVisitlog",method:"post",data:t})}function x(t){return Object(n["a"])({url:"/api/crm_customer/shareList",method:"post",data:t})}function T(t){return Object(n["a"])({url:"/api/crmCustomer/followup_schedule",method:"get",params:t})}function E(t){return Object(n["a"])({url:"/api/crmCustomer/visitlogDetails",method:"post",data:t})}function j(t){return Object(n["a"])({url:"/api/activity/activity_list",method:"post",data:t})}function k(t){return Object(n["a"])({url:"/api/team/statistics",method:"post",data:t})}function U(t){return Object(n["a"])({url:"/api/team/statistics_more",method:"post",data:t})}function L(t){return Object(n["a"])({url:"/api/team/customers",method:"post",data:t})}function I(t){return Object(n["a"])({url:"/api/crm_customer/show_fields",method:"post",data:t})}function N(t){return Object(n["a"])({url:"/api/crmCustomer/newList",method:"post",data:t})}function R(t){return Object(n["a"])({url:"/api/crm_customer/line_chart",method:"post",data:t})}function M(t){return Object(n["a"])({url:"/api/dailyTasks/index",method:"post",data:t})}function H(t){return Object(n["a"])({url:"/api/dailyTasks/read",method:"post",data:t})}function z(t){return Object(n["a"])({url:"/api/dailyTasks/sign",method:"post",data:t})}function G(t){return Object(n["a"])({url:"/api/share/urlscheme",method:"post",data:t})}function W(t){return Object(n["a"])({url:"/api/PreformanceTasks/index",method:"post",data:t})}function P(t){return Object(n["a"])({url:"/api/profile/clue_detail",method:"post",data:t})}function Q(t){return Object(n["a"])({url:"/api/team/addVisitlog",method:"post",data:t})}function Y(t){return Object(n["a"])({url:"/api/crmCustomer/sms",method:"post",data:t})}function F(t){return Object(n["a"])({url:"/api/crmCustomer/smslog",method:"post",data:t})}function Z(t){return Object(n["a"])({url:"/api/crmCustomer/get_date",method:"post",data:t})}function V(t){return Object(n["a"])({url:"/api/crmCustomer/subscribe",method:"post",data:t})}function J(t){return Object(n["a"])({url:"/api/crm_customer/get_setting",method:"post",data:t})}function X(t){return Object(n["a"])({url:"/api/customerPackage/list",method:"post",data:t})}function q(t){return Object(n["a"])({url:"/api/activity/is_show_qrcode",method:"post",data:t})}function _(t){return Object(n["a"])({url:"/api/crm_customer/get_portrait_field",method:"post",data:t})}function K(t){return Object(n["a"])({url:"/api/crm_customer/add_customer_extfield",method:"post",data:t})}function $(t){return Object(n["a"])({url:"/api/crm_customer/customerTransfer",method:"post",data:t})}function tt(t){return Object(n["a"])({url:"/api/crm_customer/returnVisit",method:"post",data:t})}function ot(t){return Object(n["a"])({url:"/api/crm_customer/checkRepeat",method:"post",data:t})}function et(t){return Object(n["a"])({url:"/api/crm_customer/visitField",method:"post",data:t})}function nt(t){return Object(n["a"])({url:"/api/crm_customer/clueTag",method:"post",data:t})}function it(t){return Object(n["a"])({url:"/api/crm_customer/changeModule",method:"post",data:t})}function st(t){return Object(n["a"])({url:"/api/crm_customer/edit",method:"post",data:t})}function rt(t){return Object(n["a"])({url:"/api/crm_customer/subscribeModule",method:"post",data:t})}function at(t){return Object(n["a"])({url:"/api/crm_customer/moduleSwitch",method:"post",data:t})}function lt(t){return Object(n["a"])({url:"/api/crm_customer/dieCustomer",method:"post",data:t})}function ct(t){return Object(n["a"])({url:"/api/crm_customer/shop_list",method:"post",data:t})}function ut(t){return Object(n["a"])({url:"/api/team/teamStatistics",method:"post",data:t})}function pt(t){return Object(n["a"])({url:"/api/team/teamRate",method:"post",data:t})}function dt(t){return Object(n["a"])({url:"/api/team/OrgEmployeeStatistics",method:"post",data:t})}function mt(t){return Object(n["a"])({url:"/api/crm_customer/moduleHandel",method:"post",data:t})}function ft(t){return Object(n["a"])({url:"/api/crm_customer/produceUrl",method:"post",data:t})}function ht(t){return Object(n["a"])({url:"/api/crm_customer/getCommunity",method:"post",data:t})}function vt(t){return Object(n["a"])({url:"/api/outCall/bind",method:"post",data:t})}function gt(t){return Object(n["a"])({url:"/api/crm_customer/saveWisdomImg",method:"post",data:t})}function wt(t){return Object(n["a"])({url:"/api/crm_customer/getWisdomImg",method:"post",data:t})}function At(t){return Object(n["a"])({url:"/api/crm_customer/delWisdomImg",method:"post",data:t})}function bt(t){return Object(n["a"])({url:"/api/resources/list",method:"post",data:t})}function yt(t){return Object(n["a"])({url:"/api/resources/statistics",method:"post",data:t})}function Dt(t){return Object(n["a"])({url:"/api/resources/label",method:"post",data:t})}function Ct(t){return Object(n["a"])({url:"/api/resources/labelList",method:"post",data:t})}function Bt(t){return Object(n["a"])({url:"/api/crm_customer/shareStatistics",method:"post",data:t})}function Ot(t){return Object(n["a"])({url:"/api/crm_customer/getAssignType",method:"post",data:t})}function St(t){return Object(n["a"])({url:"/api/outCall/mobile",method:"post",data:t})}},2241:function(t,o,e){"use strict";var n,i=e("c31d"),s=e("2b0e"),r=e("2638"),a=e.n(r),l=e("d282"),c=e("ea8e"),u=e("b1d2"),p=e("6605"),d=e("b650"),m=e("9884"),f=Object(l["a"])("goods-action"),h=f[0],v=f[1],g=h({mixins:[Object(m["b"])("vanGoodsAction")],props:{safeAreaInsetBottom:{type:Boolean,default:!0}},render:function(){var t=arguments[0];return t("div",{class:v({unfit:!this.safeAreaInsetBottom})},[this.slots()])}}),w=e("48f4"),A=Object(l["a"])("goods-action-button"),b=A[0],y=A[1],D=b({mixins:[Object(m["a"])("vanGoodsAction")],props:Object(i["a"])({},w["c"],{type:String,text:String,icon:String,color:String,loading:Boolean,disabled:Boolean}),computed:{isFirst:function(){var t=this.parent&&this.parent.children[this.index-1];return!t||t.$options.name!==this.$options.name},isLast:function(){var t=this.parent&&this.parent.children[this.index+1];return!t||t.$options.name!==this.$options.name}},methods:{onClick:function(t){this.$emit("click",t),Object(w["b"])(this.$router,this)}},render:function(){var t=arguments[0];return t(d["a"],{class:y([{first:this.isFirst,last:this.isLast},this.type]),attrs:{size:"large",type:this.type,icon:this.icon,color:this.color,loading:this.loading,disabled:this.disabled},on:{click:this.onClick}},[this.slots()||this.text])}}),C=Object(l["a"])("dialog"),B=C[0],O=C[1],S=C[2],x=B({mixins:[Object(p["a"])()],props:{title:String,theme:String,width:[Number,String],message:String,className:null,callback:Function,beforeClose:Function,messageAlign:String,cancelButtonText:String,cancelButtonColor:String,confirmButtonText:String,confirmButtonColor:String,showCancelButton:Boolean,overlay:{type:Boolean,default:!0},allowHtml:{type:Boolean,default:!0},transition:{type:String,default:"van-dialog-bounce"},showConfirmButton:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!1}},data:function(){return{loading:{confirm:!1,cancel:!1}}},methods:{onClickOverlay:function(){this.handleAction("overlay")},handleAction:function(t){var o=this;this.$emit(t),this.value&&(this.beforeClose?(this.loading[t]=!0,this.beforeClose(t,(function(e){!1!==e&&o.loading[t]&&o.onClose(t),o.loading.confirm=!1,o.loading.cancel=!1}))):this.onClose(t))},onClose:function(t){this.close(),this.callback&&this.callback(t)},onOpened:function(){this.$emit("opened")},onClosed:function(){this.$emit("closed")},genRoundButtons:function(){var t=this,o=this.$createElement;return o(g,{class:O("footer")},[this.showCancelButton&&o(D,{attrs:{size:"large",type:"warning",text:this.cancelButtonText||S("cancel"),color:this.cancelButtonColor,loading:this.loading.cancel},class:O("cancel"),on:{click:function(){t.handleAction("cancel")}}}),this.showConfirmButton&&o(D,{attrs:{size:"large",type:"danger",text:this.confirmButtonText||S("confirm"),color:this.confirmButtonColor,loading:this.loading.confirm},class:O("confirm"),on:{click:function(){t.handleAction("confirm")}}})])},genButtons:function(){var t,o=this,e=this.$createElement,n=this.showCancelButton&&this.showConfirmButton;return e("div",{class:[u["e"],O("footer")]},[this.showCancelButton&&e(d["a"],{attrs:{size:"large",loading:this.loading.cancel,text:this.cancelButtonText||S("cancel")},class:O("cancel"),style:{color:this.cancelButtonColor},on:{click:function(){o.handleAction("cancel")}}}),this.showConfirmButton&&e(d["a"],{attrs:{size:"large",loading:this.loading.confirm,text:this.confirmButtonText||S("confirm")},class:[O("confirm"),(t={},t[u["c"]]=n,t)],style:{color:this.confirmButtonColor},on:{click:function(){o.handleAction("confirm")}}})])},genContent:function(t,o){var e=this.$createElement;if(o)return e("div",{class:O("content")},[o]);var n=this.message,i=this.messageAlign;if(n){var s,r,l={class:O("message",(s={"has-title":t},s[i]=i,s)),domProps:(r={},r[this.allowHtml?"innerHTML":"textContent"]=n,r)};return e("div",{class:O("content",{isolated:!t})},[e("div",a()([{},l]))])}}},render:function(){var t=arguments[0];if(this.shouldRender){var o=this.message,e=this.slots(),n=this.slots("title")||this.title,i=n&&t("div",{class:O("header",{isolated:!o&&!e})},[n]);return t("transition",{attrs:{name:this.transition},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[t("div",{directives:[{name:"show",value:this.value}],attrs:{role:"dialog","aria-labelledby":this.title||o},class:[O([this.theme]),this.className],style:{width:Object(c["a"])(this.width)}},[i,this.genContent(n,e),"round-button"===this.theme?this.genRoundButtons():this.genButtons()])])}}}),T=e("a142");function E(t){return document.body.contains(t)}function j(){n&&n.$destroy(),n=new(s["default"].extend(x))({el:document.createElement("div"),propsData:{lazyRender:!1}}),n.$on("input",(function(t){n.value=t}))}function k(t){return T["g"]?Promise.resolve():new Promise((function(o,e){n&&E(n.$el)||j(),Object(i["a"])(n,k.currentOptions,t,{resolve:o,reject:e})}))}k.defaultOptions={value:!0,title:"",width:"",theme:null,message:"",overlay:!0,className:"",allowHtml:!0,lockScroll:!0,transition:"van-dialog-bounce",beforeClose:null,overlayClass:"",overlayStyle:null,messageAlign:"",getContainer:"body",cancelButtonText:"",cancelButtonColor:null,confirmButtonText:"",confirmButtonColor:null,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1,callback:function(t){n["confirm"===t?"resolve":"reject"](t)}},k.alert=k,k.confirm=function(t){return k(Object(i["a"])({showCancelButton:!0},t))},k.close=function(){n&&(n.value=!1)},k.setDefaultOptions=function(t){Object(i["a"])(k.currentOptions,t)},k.resetDefaultOptions=function(){k.currentOptions=Object(i["a"])({},k.defaultOptions)},k.resetDefaultOptions(),k.install=function(){s["default"].use(x)},k.Component=x,s["default"].prototype.$dialog=k;o["a"]=k},"2fcb":function(t,o,e){},"4cf9":function(t,o,e){},"53ca":function(t,o,e){"use strict";e.d(o,"a",(function(){return n}));e("a4d3"),e("e01a"),e("d3b7"),e("d28b"),e("3ca3"),e("ddb0");function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}},"5e78":function(t,o,e){"use strict";e.r(o);var n,i=function(){var t=this,o=t.$createElement,n=t._self._c||o;return n("div",{staticClass:"guestcluesbox"},[n("div",{staticClass:"topdatabox"},[n("img",{attrs:{src:t.$store.state.imgUrl+"/xcx/aaa/guestcluestop.png?x-oss-process=image/resize,w_300"}}),n("div",{staticClass:"topnumbox clearfix colorfff center"},[n("div",{staticClass:"width50_ pull-left"},[n("div",{staticClass:"familyimpact font56 lh68"},[t._v(t._s(t.topnumobj.total?t.topnumobj.total:0))]),n("div",{staticClass:"fontfpr font24 lh36"},[t._v("总线索")])]),n("div",{staticClass:"width50_ pull-left"},[n("div",{staticClass:"familyimpact font56 lh68"},[t._v(t._s(t.topnumobj.today?t.topnumobj.today:0))]),n("div",{staticClass:"fontfpr font24 lh36"},[t._v("今日线索")])])])]),n("div",{staticClass:"guestclueslistbox"},[n("div",{staticClass:"guestcluestitbox clearfix"},[n("div",{staticClass:"color249EFB pull-left font32 fontfps lh44 leftext"},[t._v("最新线索")]),n("div",{staticClass:"conditbox pull-right clearfix relative font28 fontfpr color384855"},[n("div",{staticClass:"width33_3 pull-right center everycondit lh44",on:{click:t.statetap}},[n("div",{staticClass:"inline-block clearfix lh44"},[n("div",{staticClass:"pull-left"},[t._v(t._s(t.statetext))]),n("img",{staticClass:"pull-left",attrs:{src:t.$store.state.imgUrl+"/xcx/aaa/downtriangle.png"}})])]),n("div",{staticClass:"width33_3 pull-right center everycondit lh44",on:{click:t.phonetap}},[n("div",{staticClass:"inline-block clearfix lh44"},[n("div",{staticClass:"pull-left"},[t._v(t._s(t.phonetext))]),n("img",{staticClass:"pull-left",attrs:{src:t.$store.state.imgUrl+"/xcx/aaa/downtriangle.png"}})])]),n("div",{directives:[{name:"show",rawName:"v-show",value:1==t.phoneflag,expression:"phoneflag==true"}],staticClass:"hasphonebox"},[n("div",{staticClass:"fontfpr font24 lh48 color249EFB",on:{click:function(o){return t.setphonetap("手机号","")}}},[t._v("全部")]),n("div",{staticClass:"fontfpr font24 lh48 color249EFB",on:{click:function(o){return t.setphonetap("有手机号","has")}}},[t._v("有手机号")]),n("div",{staticClass:"fontfpr font24 lh48 color249EFB",on:{click:function(o){return t.setphonetap("无手机号","hasno")}}},[t._v("无手机号")])]),n("div",{directives:[{name:"show",rawName:"v-show",value:1==t.stateflag,expression:"stateflag==true"}],staticClass:"statebox"},[n("div",{staticClass:"fontfpr font24 lh48 color249EFB",on:{click:function(o){return t.setstatetap("状态","")}}},[t._v("全部")]),n("div",{staticClass:"fontfpr font24 lh48 color249EFB",on:{click:function(o){return t.setstatetap("未建档","0")}}},[t._v("未建档")]),n("div",{staticClass:"fontfpr font24 lh48 color249EFB",on:{click:function(o){return t.setstatetap("已建档","1")}}},[t._v("已建档")]),n("div",{staticClass:"fontfpr font24 lh48 color249EFB",on:{click:function(o){return t.setstatetap("无效","2")}}},[t._v("无效")])]),n("div",{directives:[{name:"show",rawName:"v-show",value:1==t.alertflag,expression:"alertflag==true"}],staticClass:"alllayerbox",on:{click:t.setalertap}})])]),n("mescroll-vue",{ref:"guestclues",staticClass:"guestcluesmescroll",attrs:{down:t.mescrollDown,up:t.mescrollUp},on:{init:t.mescrollInit}},[n("div",{staticClass:"conditlistbox"},[t._l(t.customerList,(function(o,i){return n("div",{key:o.id,staticClass:"everyconditlist",on:{click:function(t){o.statelook=0}}},[0==i||t.customerList[i].updatetime[0]!=t.customerList[i-1].updatetime[0]?n("div",{staticClass:"datebox clearfix"},[n("img",{staticClass:"pull-left",attrs:{src:t.$store.state.imgUrl+"/xcx/aaa/caleimg.png"}}),n("div",{staticClass:"pull-left font32 color384855 fontfpr"},[t._v(t._s(o.updatetime[0]))])]):t._e(),n("div",{staticClass:"cluesbox"},[n("div",{staticClass:"everycluesbox"},[n("div",{staticClass:"topcluesbox clearfix relative"},[n("div",{staticClass:"headbox pull-left relative",on:{click:function(e){return t.recordtap(o.id)}}},[n("img",{directives:[{name:"show",rawName:"v-show",value:!!o.headimgurl,expression:"!!item.headimgurl"}],attrs:{src:o.headimgurl}}),n("img",{directives:[{name:"show",rawName:"v-show",value:!o.headimgurl,expression:"!item.headimgurl"}],attrs:{src:e("ee87")}})]),n("div",{staticClass:"color586B84 font28 lh48 pull-left fontfpr nickname ellipsis"},[t._v(t._s(o.nickname))]),n("button",{directives:[{name:"show",rawName:"v-show",value:!(!o.name&&null==o.nickname),expression:"!(!item.name&&item.nickname==null)"}],staticClass:"copy pull-left",attrs:{type:"button",id:"copy"+o.id,"data-clipboard-action":"copy","data-clipboard-text":o.nickname},on:{mouseenter:function(e){return t.copyText(o.nickname,o.id)},click:function(e){return t.copyText(o.nickname,o.id)}}},[n("img",{attrs:{src:e("e61d")}})]),n("div",{staticClass:"color483855 pull-left font28 lh48 fontfpr cluestimebox"},[t._v("时间:"+t._s(o.updatetime[1]?o.updatetime[1]:o.addtime.split(" ")[0]))]),n("div",{staticClass:"pull-right handlebox center ",class:{handledbox:0!=o.state},on:{click:function(e){return e.stopPropagation(),t.seteverystatetap(o.state,i,o.id)}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:0==o.state,expression:"item.state==0"}],staticClass:"inline-block clearfix"},[n("div",{staticClass:"pull-left color249EFB font24 fontfpr"},[t._v("操作")]),n("img",{staticClass:"pull-left",attrs:{src:t.$store.state.imgUrl+"/xcx/aaa/nowdowntriangle.png"}})]),n("div",{directives:[{name:"show",rawName:"v-show",value:1==o.state,expression:"item.state==1"}],staticClass:" font24 fontfpr"},[t._v("已建档")]),n("div",{directives:[{name:"show",rawName:"v-show",value:2==o.state,expression:"item.state==2"}],staticClass:" font24 fontfpr"},[t._v("无效")])]),n("div",{directives:[{name:"show",rawName:"v-show",value:1==o.statelook,expression:"item.statelook==1"}],staticClass:"everysetstatebox"},[n("div",{staticClass:"fontfpr font24 lh48 color249EFB",on:{click:function(e){return e.stopPropagation(),t.setjiandangtap(i,o.phone?o.phone:o.wxphone,o.id)}}},[t._v("建档")]),n("div",{staticClass:"fontfpr font24 lh48 color249EFB",on:{click:function(e){return e.stopPropagation(),t.setinvalidtap(i,o.id)}}},[t._v("无效")])])]),n("div",{staticClass:"bottomcluesbox clearfix"},[n("div",{staticClass:"pull-left color9DB6CF font24 fontfpr"},[t._v("首次访问时间:"+t._s(o.addtime)+" ")]),n("div",{directives:[{name:"show",rawName:"v-show",value:0!=o.subscribe_count,expression:"item.subscribe_count!=0"}],staticClass:"pull-left color9DB6CF font24 fontfpr mglr10"},[t._v("预约次数:"+t._s(o.subscribe_count)+" ")]),n("a",{directives:[{name:"show",rawName:"v-show",value:!((!o.phone||null==o.phone)&&(!o.wxphone||null==o.wxphone)),expression:"!((!item.phone||item.phone==null)&&(!item.wxphone||item.wxphone==null))"}],staticClass:"pull-right phoneimg",attrs:{href:"tel:"+(o.phone?o.phone:o.wxphone)},on:{click:function(o){return o.stopPropagation(),t.dothis.apply(null,arguments)}}},[n("img",{attrs:{src:t.$store.state.imgUrl+"/xcx/aaa/phoneimg.png"}})]),n("img",{staticClass:"pull-right wxnameimg",attrs:{src:e("81c0")},on:{click:function(e){return t.recordtap(o.id)}}})])])])])})),n("nonedata",{attrs:{datashow:t.datashow,len:t.customerList.length}})],2)])],1),1==t.recordshow?n("div",{staticClass:"recordlayerbox ",on:{click:t.closerecordtap}},[n("div",{staticClass:"recordbox relative",on:{click:function(o){return o.stopPropagation(),t.dothis.apply(null,arguments)}}},[n("div",{staticClass:"recordtit"},[n("div",{staticClass:"recordtitext"},[t._v("访问记录")]),n("img",{attrs:{src:e("c2ff")},on:{click:t.closerecordtap}})]),n("div",{ref:"recordlist",staticClass:"recordlistbox relative"},[t.visitList.length>0?n("span",{style:{height:t.lineght}}):t._e(),t._l(t.visitList,(function(o,e){return n("div",{key:o.id,staticClass:"dayrecordlist"},[0==e||t.visitList[e].nowdate!=t.visitList[e-1].nowdate?n("div",{staticClass:"dayrecord relative"},[n("div",{staticClass:"clrclebox"}),n("div",{staticClass:"color384855 fontr36 fontfpr lhr40"},[t._v(t._s(o.addtime.split(" ")[0]))])]):t._e(),n("div",{staticClass:"dayrecordlistbox"},[n("div",{staticClass:"everydayrecord color9DB6CF fontfpr relative",style:{marginTop:0==e||t.visitList[e].nowdate!=t.visitList[e-1].nowdate?"24px":"0"}},[n("div",{staticClass:"greyclrclebox"}),n("div",{staticClass:" lh36"},[t._v(t._s(o.reg_info))]),n("div",{staticClass:"lh32 mgt8 clearfix"},[n("div",{staticClass:"pull-left"},[t._v("浏览时长:"),n("p",{staticClass:"inline-block color91a3bb fontfpm "},[t._v(t._s(o.visit_due_time?o.visit_due_time:0))]),t._v("s")]),n("div",{directives:[{name:"show",rawName:"v-show",value:0!=o.subscribe,expression:"visititem.subscribe!=0"}],staticClass:"pull-left mglr20"},[t._v("已预约")]),n("div",{staticClass:"pull-right"},[t._v(t._s(o.addtime.split(" ")[1]))])])])])])})),0==t.visitList.length?n("div",{staticClass:"colorB6CADE",staticStyle:{"padding-top":"0.32rem"}},[t._v("暂无访问记录")]):t._e()],2)])]):t._e(),n("wzhload",{directives:[{name:"show",rawName:"v-show",value:t.loadFlag,expression:"loadFlag"}]})],1)},s=[],r=e("53ca"),a=(e("e17f"),e("2241")),l=e("ade3"),c=(e("b0c0"),e("ac1f"),e("1276"),e("99af"),e("8d6b")),u=e("a92e"),p=(e("18a0"),e("11fe")),d=e("b311"),m=e.n(d),f={data:function(){var t;return t={loadFlag:!0,topnumobj:{},recordshow:!1,lineght:"100%"},Object(l["a"])(t,"recordshow",!1),Object(l["a"])(t,"sourceflag",!1),Object(l["a"])(t,"phoneflag",!1),Object(l["a"])(t,"stateflag",!1),Object(l["a"])(t,"customerList",[]),Object(l["a"])(t,"sourcetext","来源"),Object(l["a"])(t,"phonetext","手机号"),Object(l["a"])(t,"statetext","状态"),Object(l["a"])(t,"sourcetype",""),Object(l["a"])(t,"page",1),Object(l["a"])(t,"phonetype",""),Object(l["a"])(t,"statetype",""),Object(l["a"])(t,"datashow",!1),Object(l["a"])(t,"alertflag",!1),Object(l["a"])(t,"mescroll",null),Object(l["a"])(t,"mescrollDown",{}),Object(l["a"])(t,"mescrollUp",{callback:this.customerlistfun,page:{num:0,size:10},htmlLoading:"",htmlNodata:"",noMoreSize:5}),t},components:(n={MescrollVue:c["a"]},Object(l["a"])(n,a["a"].Component.name,a["a"].Component),Object(l["a"])(n,"nonedata",u["a"]),n),created:function(){this.customernnumfun()},methods:{customernnumfun:function(){var t=this,o={};Object(p["S"])(o).then((function(o){0==o.data.code&&(t.topnumobj=o.data)}))},mescrollInit:function(t){this.mescroll=t},customerlistfun:function(t,o){var e=this,n="11,12,13,14,15,21,22,23,112,141",i={page:t.num,limit:10,means:n,state:e.statetype,phone:e.phonetype};Object(p["B"])(i).then((function(n){if(0==n.data.code){1===t.num&&(e.customerList=[]);for(var i=0;i-1||n.indexOf("Adr")>-1;e.os={ios:i,pc:s,android:r},e.isDownScrolling=!1,e.isUpScrolling=!1;var a=e.options.down&&e.options.down.callback;e.initDownScroll(),e.initUpScroll(),setTimeout((function(){e.optDown.use&&e.optDown.auto&&a&&(e.optDown.autoShowLoading?e.triggerDownScroll():e.optDown.callback&&e.optDown.callback(e)),e.optUp.use&&e.optUp.auto&&!e.isUpAutoLoad&&e.triggerUpScroll()}),30)}};return t.prototype.extendDownScroll=function(o){t.extend(o,{use:!0,auto:!0,autoShowLoading:!1,isLock:!1,isBoth:!1,offset:80,inOffsetRate:1,outOffsetRate:.2,bottomOffset:20,minAngle:45,hardwareClass:"mescroll-hardware",mustToTop:!1,warpId:null,warpClass:"mescroll-downwarp",resetClass:"mescroll-downwarp-reset",textInOffset:"下拉刷新",textOutOffset:"释放更新",textLoading:"加载中 ...",htmlContent:'

',inited:function(t,o){t.downTipDom=o.getElementsByClassName("downwarp-tip")[0],t.downProgressDom=o.getElementsByClassName("downwarp-progress")[0]},inOffset:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textInOffset),t.downProgressDom&&t.downProgressDom.classList.remove("mescroll-rotate")},outOffset:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textOutOffset)},onMoving:function(t,o,e){if(t.downProgressDom){var n=360*o;t.downProgressDom.style.webkitTransform="rotate("+n+"deg)",t.downProgressDom.style.transform="rotate("+n+"deg)"}},beforeLoading:function(t,o){return!1},showLoading:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textLoading),t.downProgressDom&&t.downProgressDom.classList.add("mescroll-rotate")},afterLoading:function(t){return 0},callback:function(t){t.resetUpScroll()}})},t.prototype.extendUpScroll=function(o){var e=this.os.pc;t.extend(o,{use:!0,auto:!0,isLock:!1,isBoth:!1,isBounce:!0,callback:null,page:{num:0,size:10,time:null},noMoreSize:5,offset:100,toTop:{warpId:null,src:null,html:null,offset:1e3,warpClass:"mescroll-totop",showClass:"mescroll-fade-in",hideClass:"mescroll-fade-out",fadeDuration:.5,duration:300,supportTap:!1,btnClick:null},loadFull:{use:!1,delay:500},empty:{warpId:null,icon:null,tip:"暂无相关数据~",btntext:"",btnClick:null,supportTap:!1},clearId:null,clearEmptyId:null,hardwareClass:"mescroll-hardware",warpId:null,warpClass:"mescroll-upwarp",htmlLoading:'

加载中..

',htmlNodata:'

-- END --

',inited:function(t,o){},showLoading:function(t,o){o.innerHTML=t.optUp.htmlLoading},showNoMore:function(t,o){o.innerHTML=t.optUp.htmlNodata},onScroll:null,scrollbar:{use:e,barClass:"mescroll-bar"},lazyLoad:{use:!1,attr:"imgurl",showClass:"mescroll-lazy-in",delay:500,offset:200}})},t.extend=function(o,e){if(!o)return e;for(var n in e)null==o[n]?o[n]=e[n]:"object"===typeof o[n]&&t.extend(o[n],e[n]);return o},t.prototype.initDownScroll=function(){var t=this;if(t.optDown=t.options.down||{},t.extendDownScroll(t.optDown),t.touchstartEvent=function(o){t.isScrollTo&&t.preventDefault(o),t.startPoint=t.getPoint(o),t.lastPoint=t.startPoint,t.maxTouchmoveY=t.getBodyHeight()-t.optDown.bottomOffset,t.inTouchend=!1;var e=t.getScrollTop();t.isKeepTop=0===e,t.os.pc&&e<=0&&(t.scrollDom.addEventListener("mousemove",t.touchmoveEvent,{passive:!1}),document.ondragstart=function(){return!1})},t.scrollDom.addEventListener("mousedown",t.touchstartEvent),t.scrollDom.addEventListener("touchstart",t.touchstartEvent),t.touchmoveEvent=function(o){if(t.startPoint){var e=t.getScrollTop();e>0&&(t.isKeepTop=!1);var n=t.getPoint(o),i=n.y-t.startPoint.y;if(i>0){if(e<=0&&(t.preventDefault(o),t.optDown.use&&!t.inTouchend&&!t.isDownScrolling&&!t.optDown.isLock&&(!t.isUpScrolling||t.isUpScrolling&&t.optUp.isBoth))){if(t.optDown.mustToTop&&!t.isKeepTop)return;var s=Math.abs(t.lastPoint.x-n.x),r=Math.abs(t.lastPoint.y-n.y),a=Math.sqrt(s*s+r*r);if(0!==a){var l=Math.asin(r/a)/Math.PI*180;if(l0&&n.y>=t.maxTouchmoveY)return t.inTouchend=!0,void t.touchendEvent();var c=n.y-t.lastPoint.y;t.downHight||(t.downHight=0),t.downHight0?c*t.optDown.outOffsetRate:c),t.downwarp.style.height=t.downHight+"px";var u=t.downHight/t.optDown.offset;t.optDown.onMoving(t,u,t.downHight)}}else if(i<0){var p=t.getScrollHeight(),d=t.getClientHeight(),m=p-d-e;!t.optUp.isBounce&&m<=0&&t.preventDefault(o),t.optUp.use&&!t.optUp.isLock&&t.optUp.hasNext&&!t.isUpScrolling&&(!t.isDownScrolling||t.isDownScrolling&&t.optDown.isBoth)&&(d+t.optUp.offset>=p||m<=0)&&t.triggerUpScroll()}t.lastPoint=n}},t.scrollDom.addEventListener("touchmove",t.touchmoveEvent,{passive:!1}),t.touchendEvent=function(){t.optDown.use&&t.isMoveDown&&(t.downHight>=t.optDown.offset?t.triggerDownScroll():(t.downwarp.classList.add(t.optDown.resetClass),t.downHight=0,t.downwarp.style.height=0),t.isSetScrollAuto&&(t.scrollDom.style.webkitOverflowScrolling="touch",t.scrollDom.classList.remove(t.optDown.hardwareClass),t.isSetScrollAuto=!1),t.movetype=0,t.isMoveDown=!1),t.os.pc&&(t.scrollDom.removeEventListener("mousemove",t.touchmoveEvent),document.ondragstart=function(){return!0})},t.scrollDom.addEventListener("mouseup",t.touchendEvent),t.scrollDom.addEventListener("mouseleave",t.touchendEvent),t.scrollDom.addEventListener("touchend",t.touchendEvent),t.scrollDom.addEventListener("touchcancel",t.touchendEvent),t.optDown.use){t.downwarp=document.createElement("div"),t.downwarp.className=t.optDown.warpClass,t.downwarp.innerHTML='
'+t.optDown.htmlContent+"
";var o=t.optDown.warpId?t.getDomById(t.optDown.warpId):t.scrollDom;t.optDown.warpId&&o?o.appendChild(t.downwarp):(o||(o=t.scrollDom),o.insertBefore(t.downwarp,t.scrollDom.firstChild)),setTimeout((function(){t.optDown.inited(t,t.downwarp)}),0)}},t.prototype.preventDefault=function(t){t&&t.cancelable&&!t.defaultPrevented&&t.preventDefault()},t.prototype.getPoint=function(t){return{x:t.touches?t.touches[0].pageX:t.clientX,y:t.touches?t.touches[0].pageY:t.clientY}},t.prototype.triggerDownScroll=function(){this.optDown.beforeLoading(this,this.downwarp)||(this.showDownScroll(),this.optDown.callback&&this.optDown.callback(this))},t.prototype.showDownScroll=function(){this.isDownScrolling=!0,this.optDown.showLoading(this),this.downHight=this.optDown.offset,this.downwarp.classList.add(this.optDown.resetClass),this.downwarp.style.height=this.optDown.offset+"px"},t.prototype.endDownScroll=function(){var t=this,o=function(){t.downHight=0,t.downwarp.style.height=0,t.isDownScrolling=!1,t.downProgressDom&&t.downProgressDom.classList.remove("mescroll-rotate")},e=t.optDown.afterLoading(t);"number"===typeof e&&e>0?setTimeout(o,e):o()},t.prototype.lockDownScroll=function(t){null==t&&(t=!0),this.optDown.isLock=t},t.prototype.initUpScroll=function(){var t,o=this;(o.optUp=o.options.up||{use:!1},o.extendUpScroll(o.optUp),o.optUp.scrollbar.use&&o.scrollDom.classList.add(o.optUp.scrollbar.barClass),o.optUp.isBounce||o.setBounce(!1),!1!==o.optUp.use)&&(o.optUp.hasNext=!0,o.upwarp=document.createElement("div"),o.upwarp.className=o.optUp.warpClass,o.optUp.warpId&&(t=o.getDomById(o.optUp.warpId)),t||(t=o.scrollDom),t.appendChild(o.upwarp),o.preScrollY=0,o.lazyStartTime=(new Date).getTime(),o.lazyTag="mescroll-lazying",o.scrollEvent=function(){var t=o.getScrollTop(),e=t-o.preScrollY>0;if(o.preScrollY=t,!o.isUpScrolling&&(!o.isDownScrolling||o.isDownScrolling&&o.optDown.isBoth)&&!o.optUp.isLock&&o.optUp.hasNext){var n=o.getScrollHeight()-o.getClientHeight()-t;n<=o.optUp.offset&&e&&o.triggerUpScroll()}var i=o.optUp.toTop;if((i.src||i.html)&&(t>=i.offset?o.showTopBtn():o.hideTopBtn()),o.optUp.lazyLoad.use){var s=(new Date).getTime();o.lazyTimer&&clearTimeout(o.lazyTimer),s-o.lazyStartTime>=o.optUp.lazyLoad.delay?(o.lazyStartTime=s,o.lazyLoad(0)):o.lazyTimer=o.lazyLoad()}o.optUp.onScroll&&o.optUp.onScroll(o,t,e)},o.isScrollBody?window.addEventListener("scroll",o.scrollEvent):o.scrollDom.addEventListener("scroll",o.scrollEvent),setTimeout((function(){o.optUp.inited(o,o.upwarp)}),0))},t.prototype.setBounce=function(t){!this.isScrollBody&&this.os.ios&&(!1===t?(this.optUp.isBounce=!1,window.addEventListener("touchmove",this.bounceTouchmove,{passive:!1})):(this.optUp.isBounce=!0,window.removeEventListener("touchmove",this.bounceTouchmove)))},t.prototype.bounceTouchmove=function(t){var o=this,e=t.target,n=!0;while(e!==document.body&&e!==document){var i=e.classList;if(i){if(i.contains("mescroll")||i.contains("mescroll-touch")){n=!1;break}if(i.contains("mescroll-touch-x")||i.contains("mescroll-touch-y")){var s=t.touches?t.touches[0].pageX:t.clientX,r=t.touches?t.touches[0].pageY:t.clientY;o.preWinX||(o.preWinX=s),o.preWinY||(o.preWinY=r);var a=Math.abs(o.preWinX-s),l=Math.abs(o.preWinY-r),c=Math.sqrt(a*a+l*l);if(o.preWinX=s,o.preWinY=r,0!==c){var u=Math.asin(l/c)/Math.PI*180;if(u<=45&&i.contains("mescroll-touch-x")||u>45&&i.contains("mescroll-touch-y")){n=!1;break}}}}e=e.parentNode}n&&t.cancelable&&!t.defaultPrevented&&"function"===typeof t.preventDefault&&t.preventDefault()},t.prototype.triggerUpScroll=function(){this.optUp.callback&&!this.isUpScrolling&&(this.showUpScroll(),this.optUp.page.num++,this.isUpAutoLoad=!0,this.optUp.callback(this.optUp.page,this))},t.prototype.showUpScroll=function(){this.isUpScrolling=!0,this.upwarp.classList.add(this.optUp.hardwareClass),this.upwarp.style.visibility="visible",this.upwarp.style.display="block",this.optUp.showLoading(this,this.upwarp)},t.prototype.showNoMore=function(){this.upwarp.style.visibility="visible",this.upwarp.style.display="block",this.optUp.hasNext=!1,this.optUp.showNoMore(this,this.upwarp)},t.prototype.hideUpScroll=function(t){t?this.upwarp.style.display="none":this.upwarp.style.visibility="hidden",this.upwarp.classList.remove(this.optUp.hardwareClass);var o=this.upwarp.getElementsByClassName("upwarp-progress")[0];o&&o.classList.remove("mescroll-rotate")},t.prototype.endUpScroll=function(t,o){null!=t&&(t?this.showNoMore():this.hideUpScroll(o)),this.isUpScrolling=!1},t.prototype.resetUpScroll=function(t){if(this.optUp&&this.optUp.use){var o=this.optUp.page;this.prePageNum=o.num,this.prePageTime=o.time,o.num=1,o.time=null,this.isDownScrolling||!1===t||(null==t?(this.removeEmpty(),this.clearDataList(),this.showUpScroll()):this.showDownScroll()),this.isUpAutoLoad=!0,this.optUp.callback&&this.optUp.callback(o,this)}},t.prototype.setPageNum=function(t){this.optUp.page.num=t-1},t.prototype.setPageSize=function(t){this.optUp.page.size=t},t.prototype.clearDataList=function(){var t=this.optUp.clearId||this.optUp.clearEmptyId;if(t){var o=this.getDomById(t);o&&(o.innerHTML="")}},t.prototype.endByPage=function(t,o,e){var n;this.optUp.use&&null!=o&&(n=this.optUp.page.num'),o.tip&&(i+='

'+o.tip+"

"),o.btntext&&(i+='

'+o.btntext+"

"),t.emptyDom=document.createElement("div"),t.emptyDom.className="mescroll-empty",t.emptyDom.innerHTML=i,n.appendChild(t.emptyDom),o.btnClick){var s=t.emptyDom.getElementsByClassName("empty-btn")[0];o.supportTap?s.addEventListener("tap",(function(e){e.stopPropagation(),t.preventDefault(e),o.btnClick()})):s.onclick=function(){o.btnClick()}}}}},t.prototype.removeEmpty=function(){this.removeChild(this.emptyDom)},t.prototype.showTopBtn=function(t){if(!this.topBtnShow){this.topBtnShow=!0;var o,e=this,n=e.optUp.toTop;if(null==e.toTopBtn)n.html?(e.toTopBtn=document.createElement("div"),e.toTopBtn.innerHTML=n.html):(e.toTopBtn=document.createElement("img"),e.toTopBtn.src=n.src),e.toTopBtn.className=n.warpClass,n.supportTap?e.toTopBtn.addEventListener("tap",(function(t){t.stopPropagation(),e.preventDefault(t);var o=n.btnClick&&n.btnClick();!0!==o&&e.scrollTo(0,e.optUp.toTop.duration)})):e.toTopBtn.onclick=function(){var t=n.btnClick&&n.btnClick();!0!==t&&e.scrollTo(0,e.optUp.toTop.duration)},n.warpId&&(o=e.getDomById(n.warpId)),o||(o=document.body),o.appendChild(e.toTopBtn);e.toTopBtn.classList.remove(n.hideClass),e.toTopBtn.classList.add(n.showClass),e.setTopBtnFadeDuration(t)}},t.prototype.hideTopBtn=function(t){this.topBtnShow&&this.toTopBtn&&(this.topBtnShow=!1,this.toTopBtn.classList.remove(this.optUp.toTop.showClass),this.toTopBtn.classList.add(this.optUp.toTop.hideClass),this.setTopBtnFadeDuration(t))},t.prototype.setTopBtnFadeDuration=function(t){if(this.toTopBtn){var o=(null!=t?t:this.optUp.toTop.fadeDuration)+"s";this.toTopBtn.style.animationDuration=o,this.toTopBtn.style.webkitAnimationDuration=o}},t.prototype.scrollTo=function(t,o){var e=this,n=e.getScrollTop(),i=t;if(i>0){var s=e.getScrollHeight()-e.getClientHeight();i>s&&(i=s)}else i=0;e.isScrollTo=!0,e.scrollDom.style.webkitOverflowScrolling="auto",e.getStep(n,i,(function(t){e.setScrollTop(t),t===i&&(e.scrollDom.style.webkitOverflowScrolling="touch",e.isScrollTo=!1)}),o)},t.prototype.getStep=function(t,o,e,n,i){var s=o-t;if(0!==n&&0!==s){n=n||300,i=i||30;var r=n/i,a=s/r,l=0,c=window.setInterval((function(){l=n||i<=s&&i>n},t.prototype.getOffsetTop=function(t){var o=t.offsetTop,e=t.offsetParent;while(null!=e&&e!==this.scrollDom)o+=e.offsetTop+e.clientTop,e=e.offsetParent;return o},t.prototype.getScrollHeight=function(){return this.scrollDom.scrollHeight},t.prototype.getClientHeight=function(){return this.isScrollBody&&"CSS1Compat"===document.compatMode?document.documentElement.clientHeight:this.scrollDom.clientHeight},t.prototype.getBodyHeight=function(){return document.body.clientHeight||document.documentElement.clientHeight},t.prototype.getScrollTop=function(){return this.isScrollBody?document.documentElement.scrollTop||document.body.scrollTop:this.scrollDom.scrollTop},t.prototype.getToBottom=function(){return this.getScrollHeight()-this.getClientHeight()-this.getScrollTop()},t.prototype.setScrollTop=function(t){"number"===typeof t&&(this.isScrollBody?(document.documentElement.scrollTop=t,document.body.scrollTop=t):this.scrollDom.scrollTop=t)},t.prototype.getDomById=function(t){var o;return t&&("string"===typeof t?o=document.getElementById(t):t.nodeType&&(o=t)),o||console.error('the element with id as "'+t+'" can not be found: document.getElementById("'+t+'")==null'),o},t.prototype.removeChild=function(t){if(t){var o=t.parentNode;o&&o.removeChild(t),t=null}},t.prototype.destroy=function(){var t=this;t.scrollDom.removeEventListener("touchstart",t.touchstartEvent),t.scrollDom.removeEventListener("touchmove",t.touchmoveEvent),t.scrollDom.removeEventListener("touchend",t.touchendEvent),t.scrollDom.removeEventListener("touchcancel",t.touchendEvent),t.scrollDom.removeEventListener("mousedown",t.touchstartEvent),t.scrollDom.removeEventListener("mousemove",t.touchmoveEvent),t.scrollDom.removeEventListener("mouseup",t.touchendEvent),t.scrollDom.removeEventListener("mouseleave",t.touchendEvent),t.removeChild(t.downwarp),t.isScrollBody?window.removeEventListener("scroll",t.scrollEvent):t.scrollDom.removeEventListener("scroll",t.scrollEvent),t.removeChild(t.upwarp),t.removeChild(t.toTopBtn),t.setBounce(!0)},t}))}}]);