chunk-487e8636.f3a9be8a.js 59 KB

1
  1. (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<n.data.user.length;i++)n.data.user[i].nowdate=n.data.user[i].addtime.split(" ")[0],n.data.user[i].statelook=0;e.datashow=!0,e.customerList=e.customerList.concat(n.data.user),e.$nextTick((function(){o.endSuccess(n.data.user.length)}))}setTimeout((function(){e.loadFlag=!1}),600)}))},statetap:function(){this.stateflag=!0,this.alertflag=!0},setphonetap:function(t,o){var e=this;e.loadFlag=!0,this.phoneflag=!1,this.phonetype=o,this.phonetext=t,this.alertflag=!1,this.mescroll.resetUpScroll()},setstatetap:function(t,o){var e=this;e.loadFlag=!0,this.stateflag=!1,this.statetype=o,this.statetext=t,this.alertflag=!1,this.mescroll.resetUpScroll()},phonetap:function(){this.phoneflag=!0,this.alertflag=!0},setalertap:function(){var t=this;t.sourceflag=!1,t.phoneflag=!1,t.stateflag=!1,t.alertflag=!1},copyText:function(t,o){var e=this,n=null;n=document.getElementById("copy"+o);var i=new m.a(n);i.on("success",(function(t){e.$toast("复制成功!"),t.clearSelection()})),i.on("error",(function(t){console.error(t),i.destroy()}))},seteverystatetap:function(t,o,e){var n=this,i=n.customerList;0==t&&(1==i[o].statelook?i[o].statelook=0:i[o].statelook=1),n.customerList=i},closerecordtap:function(){this.recordshow=!1},dothis:function(){},recordtap:function(t){this.recordshow=!0,this.loadFlag=!0,this.visitList=[],this.visitlog(t)},setinvalidtap:function(t,o){var e=this;a["a"].confirm({title:"线索状态修改",message:"您确定要修改这个客户的状态吗"}).then((function(){var n={id:o,state:2};Object(p["Y"])(n).then((function(o){if("0"==o.data.code){var n=e.customerList;n[t].statelook=0,n[t].state=2,e.customerList=n,e.$toast(o.data.msg)}}))})).catch((function(){}))},setjiandangtap:function(t,o,e){var n=this;a["a"].confirm({title:"线索状态修改",message:"您确定要修改这个客户的状态吗"}).then((function(){var i=n.customerList;i[t].statelook=0,i[t].state=1,n.customerList=i;var s=o||"";n.$router.push({name:"addcustomer",query:{cid:e,phone:s,type:2}})})).catch((function(){}))},visitlog:function(t){var o=this,e={id:t};Object(p["E"])(e).then((function(t){if("0"==t.data.code){for(var e=0;e<t.data.data.length;e++)t.data.data[e].nowdate=t.data.data[e].addtime.split(" ")[0],(0==e||t.data.data[e].nowdate!=t.data.data[e-1].nowdate)&&1;o.visitList=t.data.data,setTimeout((function(){o.lineght=o.$refs.recordlist.scrollHeight-128*window.innerWidth/750+"px"}),500)}o.loadFlag=!1}))}},mounted:function(){var t=this,o=function(){WeixinJSBridge.on("onPageStateChange",(function(o){t.mescroll.resetUpScroll()}))};"object"===("undefined"===typeof WeixinJSBridge?"undefined":Object(r["a"])(WeixinJSBridge))&&"function"===typeof WeixinJSBridge.invoke?o():document.addEventListener?document.addEventListener("WeixinJSBridgeReady",o,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",o),document.attachEvent("onWeixinJSBridgeReady",o))}},h=f,v=(e("7d88"),e("2877")),g=Object(v["a"])(h,i,s,!1,null,"1f17c07a",null);o["default"]=g.exports},6366:function(t,o,e){},"7d88":function(t,o,e){"use strict";e("6366")},"81c0":function(t,o){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACshmLzAAAFG0lEQVRYCa1Xa2xURRQ+Z+ZuLUoAARWaxoC2ZZFIKg8fEGKNifJQG6TKjwLt8kd+GeMzRghE0h+SIER/qt22VCAIBt8SQcCYaIyVQBXabTEEIVE0FhGwdO+d4ze3vXh7e7dsayfZzOv7zvnmzJm5s0x5lBlpmZQVU2VYHgR8FguNZi3LMzWJ/XnQB4U4g82WpWWukLfuCnmLiUST9KJtxcJFg3HzneM4YNl2mShXvDfhaDmJ9GKYTyuij9H7mkUfyaS4LY471LEBAkqa5H72vB0iMtk3xnxIKalrX+UcYEbwR7j0E1Da4C5DmLfDeQExn8OKn8qknL0j7LOfuf45ILJWhAqY6dsC0kt/SvGvYXRJsxRzj1kiLPMhdCICcgMJnyUlJ5Whg5OnOl8deoDdMOda7X4RSNZnH/ZY3T1motrc8ihfDsi+46y3EU5XCEl/0QEINRP/gd/rhY5649gqvhSaytnkkka3ijxaqbV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Zko5TZdrjM3iVjofB5f6zvS5kzVGFivm08v8b3XPSOwkkxjuifiExdgaj3ugvoL86690Dga0jYuzB3EQ+d6XhrnBlRAVaoXblnvH3IgylxwiGqR4s81rY6sc/Oj9gWBM7aajijxuuZpNR6ODsVjGPVV9D/iLQuD5zbuRGPQOAwqO2+X+imolFEp+P+rPwL9rH0aJ+E4P4AAAAASUVORK5CYII="},"8d6b":function(t,o,e){"use strict";var n=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{ref:"mescroll",staticClass:"mescroll"},[e("div",[t._t("default")],2)])},i=[],s=e("f868"),r=e.n(s),a=(e("f2fd"),{name:"MeScrollVue",data:function(){return{mescroll:null,lastScrollTop:0,lastBounce:null}},props:{up:Object,down:Object},mounted:function(){this.mescroll=new r.a(this.$refs.mescroll,{up:this.up,down:this.down}),this.$emit("init",this.mescroll)},methods:{beforeRouteEnter:function(){var t=this;this.mescroll&&(this.lastScrollTop&&(this.mescroll.setScrollTop(this.lastScrollTop),setTimeout((function(){t.mescroll.setTopBtnFadeDuration(0)}),16)),null!=this.lastBounce&&this.mescroll.setBounce(this.lastBounce))},beforeRouteLeave:function(){this.mescroll&&(this.lastScrollTop=this.mescroll.getScrollTop(),this.mescroll.hideTopBtn(0),this.lastBounce=this.mescroll.optUp.isBounce,this.mescroll.setBounce(!0))}}}),l=a,c=e("2877"),u=Object(c["a"])(l,n,i,!1,null,null,null);o["a"]=u.exports},c2ff:function(t,o){t.exports="data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjAtYzA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I7rWYbEKyxN4kb3g8DkdqurhldbKylFucnRXNII0DHeyr+Zgvfm1UmWcC7+PWxNT9En9SHo0/Cdnyyj2qRaf2T+teax+hrkxSAcx5X+9miZ5SsKfVGN/tx2W3YnxyJ1x72ueA2ONI0VEUKijRVGwDFNtuWNSjhEdEkQo4DIw0ZTsIzE4BqQHl/Kv2U8rxykwyDyxHce3Ha7d6UrkVnj2Nw+BhiRwq5tbAt06qnzNNG79gYaDKcafW1vgm2v9q1+TPUrktSws0e0dDLuI3jLtKKyhkWd3VyjX1LcFqESxNqDtG8Hgc8q9HVwz06XVlKL85OyYATACYACcw5hDShLudZD/rj3k/LGZZO7F66qiMk1udrX7pjrMGD6nZqDqM9RUSr2/g8x3fdP5Ks7OQmhJejlL0w7OPqCqWBHWBitFVr7DM3ZP6miq81ncAWac0bb2WNmX4a5BfFLpZMups31TD0kVxqAw7VZfiBiWoHJyeSTIg1YMf7VZv8AEHBVkHaBdb5tbAK1aczN/wBHjYD2DTKKY1/1ZE99rf5qzOW2tNOWteITHpPjBB07Dl9FVL69CG7tPPUqzs5P/9k="},d28b:function(t,o,e){var n=e("746f");n("iterator")},e01a:function(t,o,e){"use strict";var n=e("23e7"),i=e("83ab"),s=e("da84"),r=e("e330"),a=e("1a2d"),l=e("1626"),c=e("3a9b"),u=e("577e"),p=e("9bf2").f,d=e("e893"),m=s.Symbol,f=m&&m.prototype;if(i&&l(m)&&(!("description"in f)||void 0!==m().description)){var h={},v=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),o=c(f,this)?new m(t):void 0===t?m():m(t);return""===t&&(h[o]=!0),o};d(v,m),v.prototype=f,f.constructor=v;var g="Symbol(test)"==String(m("test")),w=r(f.toString),A=r(f.valueOf),b=/^Symbol\((.*)\)[^)]+$/,y=r("".replace),D=r("".slice);p(f,"description",{configurable:!0,get:function(){var t=A(this),o=w(t);if(a(h,t))return"";var e=g?D(o,7,-1):y(o,b,"$1");return""===e?void 0:e}}),n({global:!0,forced:!0},{Symbol:v})}},e17f:function(t,o,e){"use strict";e("68ef"),e("a71a"),e("9d70"),e("3743"),e("4d75"),e("e3b3"),e("bc1b"),e("1175"),e("4cf9"),e("2fcb")},e61d:function(t,o){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAHKADAAQAAAABAAAAHAAAAABkvfSiAAACg0lEQVRIDe1WTWgTQRR+b2aitSq0hZ4EwZJoNGq8tggKIoJgBamIBJImZ29eFARFkF4E7x4SCahQDyKIeBAP7al4EX9q00TFQ7CtBBFbsMnsPN+mpk2X3WED6ikLw8587/vevHlvdmYRLM/+Ih10jDlmoYQzEdVRyhelNH5GmyJW0J+IaI+NE9aGgMtCycPKJuBorgPgqI0TyoYwzIHvImNOWlcYylkIUiyvHxHQmBDiUnOFxwvUU5WQRAe2hNBbKUKApj54VzqLP/2IKjFJA9Vl5xVpGiI/RoeYcbgINfwWvUfDlXH86JWr+oozyssdcotKSF+9hM7HOMj1GgQwKdbe9OoVIm5ngos/r2Qj572ETsfRfOM2ay4jmR1+WuEH/kusO+Ffz243pd2UdpyB/75pFBhYu6IQehNF2h0UskOwMpfBWpB9HedDGSy3gALBZgPA5+npVa2/rAt9OnyvPZzPyhSfvxaXPsI2SAgSU3yh/GjDOERscFttb8CT8K1yMVaEI+3cTvtiLotvhZQJdv50Q0yzCuRIOad6Wo2n++DaJei+DV64HiEsukwOeKG5aeYzWGXHZzhVbrpqnK+kBmdmb6ExEX1GW8O5DWbJAXlVApxIZeTjTbu0nFUPtkl5gFM8ydEoQ3AFF/XreJ5Ggt15LCz0IOD+bpRykZc3EM2mCV3imzQuVXLqgpB4juu2wIWL82qnuR/1OvIdc2188T+g1XjoPvX/qjt3eAdnWk4QYQoIl1pj75t/U5K8xhg7vlXORa557dYJW+R4vnFKI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txCoZCXyITDZDnnNO1vgEPR3xWLxefGx8fPJbHhM7E3dBJjk8G1tbX1iOAUxPHj61MmMLO7r4ubePHcuXNDLAtLqnai8ipUpoHy+XyHtHRqtpxw6PotndRsDszPzx8UcSf8GZskofpyX8qq0sozInyfpNEcvsdLCDRf7vt3cQ9/Ed97WMRdUC2xunovuJ1YrRPelsvlft7Y2Ngn7uYWE9/OA9b9fiwt9fDs7Ow/RdQPZZArht2qsWqELufTGxZxo3BnfX39dnkYW4TXCrvk/wvCpmw26w+sFyQlnhGOiZij0lKPCweE/eISPhd+Mb+IVNj3PwEGAPMht4jVQg6GAAAAAElFTkSuQmCC"},f2fd:function(t,o,e){},f868:function(t,o,e){var n,i;(function(s,r){n=r,i="function"===typeof n?n.call(o,e,o,t):n,void 0===i||(t.exports=i)})(0,(function(){var t=function(t,o){var e=this;if(e.version="1.4.0",e.isScrollBody=!t||"body"===t,e.scrollDom=e.isScrollBody?document.body:e.getDomById(t),e.scrollDom){e.options=o||{};var n=navigator.userAgent,i=!!n.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),s="undefined"===typeof window.orientation,r=n.indexOf("Android")>-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:'<p class="downwarp-progress"></p><p class="downwarp-tip"></p>',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:'<p class="upwarp-progress mescroll-rotate"></p><p class="upwarp-tip">加载中..</p>',htmlNodata:'<p class="upwarp-nodata">-- END --</p>',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(l<t.optDown.minAngle)return}if(t.maxTouchmoveY>0&&n.y>=t.maxTouchmoveY)return t.inTouchend=!0,void t.touchendEvent();var c=n.y-t.lastPoint.y;t.downHight||(t.downHight=0),t.downHight<t.optDown.offset?(1!==t.movetype&&(t.movetype=1,t.optDown.inOffset(t),t.downwarp.classList.remove(t.optDown.resetClass),t.isMoveDown=!0,t.os.ios&&!t.isKeepTop&&(t.scrollDom.classList.add(t.optDown.hardwareClass),t.scrollDom.style.webkitOverflowScrolling="auto",t.isSetScrollAuto=!0)),t.downHight+=c*t.optDown.inOffsetRate):(2!==t.movetype&&(t.movetype=2,t.optDown.outOffset(t),t.downwarp.classList.remove(t.optDown.resetClass),t.isMoveDown=!0,t.os.ios&&!t.isKeepTop&&(t.scrollDom.classList.add(t.optDown.hardwareClass),t.scrollDom.style.webkitOverflowScrolling="auto",t.isSetScrollAuto=!0)),t.downHight+=c>0?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='<div class="downwarp-content">'+t.optDown.htmlContent+"</div>";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),this.endSuccess(t,n,e)},t.prototype.endBySize=function(t,o,e){var n;if(this.optUp.use&&null!=o){var i=(this.optUp.page.num-1)*this.optUp.page.size+t;n=i<o}this.endSuccess(t,n,e)},t.prototype.endSuccess=function(t,o,e){var n=this;if(n.isDownScrolling&&n.endDownScroll(),n.optUp.use){var i;if(null!=t){var s=n.optUp.page.num,r=n.optUp.page.size;if(1===s&&(n.clearDataList(),e&&(n.optUp.page.time=e)),t<r||!1===o)if(n.optUp.hasNext=!1,0===t&&1===s)i=!1,n.showEmpty();else{var a=(s-1)*r+t;i=!(a<n.optUp.noMoreSize),n.removeEmpty()}else i=!1,n.optUp.hasNext=!0,n.removeEmpty()}var l=!n.optUp.hasNext;n.endUpScroll(i,l),n.loadFull(),n.optUp.lazyLoad.use&&n.lazyLoad(16)}},t.prototype.endErr=function(){if(this.isDownScrolling){var t=this.optUp.page;t&&this.prePageNum&&(t.num=this.prePageNum,t.time=this.prePageTime),this.endDownScroll()}this.isUpScrolling&&(this.optUp.page.num--,this.endUpScroll(!1))},t.prototype.loadFull=function(){var t=this;t.optUp.loadFull.use&&!t.optUp.isLock&&t.optUp.hasNext&&t.optUp.callback&&t.getScrollHeight()<=t.getClientHeight()&&setTimeout((function(){t.getScrollHeight()<=t.getClientHeight()&&t.triggerUpScroll()}),t.optUp.loadFull.delay)},t.prototype.lockUpScroll=function(t){null==t&&(t=!0),this.optUp.isLock=t},t.prototype.showEmpty=function(){var t=this,o=t.optUp.empty,e=o.warpId||t.optUp.clearEmptyId;if(null!=e){var n=t.getDomById(e);if(n){t.removeEmpty();var i="";if(o.icon&&(i+='<img class="empty-icon" src="'+o.icon+'"/>'),o.tip&&(i+='<p class="empty-tip">'+o.tip+"</p>"),o.btntext&&(i+='<p class="empty-btn">'+o.btntext+"</p>"),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<r-1?(t+=a,e&&e(t,c),l++):(e&&e(o,c),window.clearInterval(c))}),i)}else e&&e(o)},t.prototype.lazyLoad=function(t){var o=this,e=null!=t?t:o.optUp.lazyLoad.delay,n=setTimeout((function(){for(var t=o.scrollDom.querySelectorAll("["+o.optUp.lazyLoad.attr+"]"),e=t.length,n=0;n<e;n++){var i=t[n];if("true"!==i.getAttribute(o.lazyTag)&&o.isInSee(i,o.optUp.lazyLoad.offset)){var s=i.getAttribute(o.optUp.lazyLoad.attr),r=new Image;r.onload=function(){var t=this.src,e=this.dom,n=o.optUp.lazyLoad.showClass;n&&e.classList.add(n),"IMG"===e.tagName?e.src=t:e.style.backgroundImage="url("+t+")",e.removeAttribute(o.optUp.lazyLoad.attr),e.removeAttribute(o.lazyTag)},r.onerror=function(){this.dom.removeAttribute(o.lazyTag)},r.onabort=function(){this.dom.removeAttribute(o.lazyTag)},r.src=s,i.setAttribute(o.lazyTag,"true"),r.dom=i}}}),e);return n},t.prototype.isInSee=function(t,o){o=o||0;var e=this.getOffsetTop(t),n=this.getScrollTop()-o,i=e+t.offsetHeight,s=n+o+this.getClientHeight()+o;return e<s&&e>=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}))}}]);