(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-10f7fcbd"],{"0afc":function(t,o,e){t.exports=e.p+"img/noneData.919a3c84.png"},1175:function(t,o,e){},2241:function(t,o,e){"use strict";var n,i=e("1988"),s=e("8bbf"),l=e.n(s),a=e("2638"),r=e.n(a),c=e("d282"),p=e("ea8e"),u=e("b1d2"),d=e("6605"),h=e("b650"),m=e("9884"),f=Object(c["a"])("goods-action"),v=f[0],g=f[1],w=v({mixins:[Object(m["b"])("vanGoodsAction")],props:{safeAreaInsetBottom:{type:Boolean,default:!0}},render:function(){var t=arguments[0];return t("div",{class:g({unfit:!this.safeAreaInsetBottom})},[this.slots()])}}),y=e("48f4"),D=Object(c["a"])("goods-action-button"),b=D[0],S=D[1],T=b({mixins:[Object(m["a"])("vanGoodsAction")],props:Object(i["a"])({},y["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(y["b"])(this.$router,this)}},render:function(){var t=arguments[0];return t(h["a"],{class:S([{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(c["a"])("dialog"),B=C[0],U=C[1],L=C[2],x=B({mixins:[Object(d["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(w,{class:U("footer")},[this.showCancelButton&&o(T,{attrs:{size:"large",type:"warning",text:this.cancelButtonText||L("cancel"),color:this.cancelButtonColor,loading:this.loading.cancel},class:U("cancel"),on:{click:function(){t.handleAction("cancel")}}}),this.showConfirmButton&&o(T,{attrs:{size:"large",type:"danger",text:this.confirmButtonText||L("confirm"),color:this.confirmButtonColor,loading:this.loading.confirm},class:U("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"],U("footer")]},[this.showCancelButton&&e(h["a"],{attrs:{size:"large",loading:this.loading.cancel,text:this.cancelButtonText||L("cancel")},class:U("cancel"),style:{color:this.cancelButtonColor},on:{click:function(){o.handleAction("cancel")}}}),this.showConfirmButton&&e(h["a"],{attrs:{size:"large",loading:this.loading.confirm,text:this.confirmButtonText||L("confirm")},class:[U("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:U("content")},[o]);var n=this.message,i=this.messageAlign;if(n){var s,l,a={class:U("message",(s={"has-title":t},s[i]=i,s)),domProps:(l={},l[this.allowHtml?"innerHTML":"textContent"]=n,l)};return e("div",{class:U("content",{isolated:!t})},[e("div",r()([{},a]))])}}},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:U("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:[U([this.theme]),this.className],style:{width:Object(p["a"])(this.width)}},[i,this.genContent(n,e),"round-button"===this.theme?this.genRoundButtons():this.genButtons()])])}}}),E=e("a142");function k(t){return document.body.contains(t)}function O(){n&&n.$destroy(),n=new(l.a.extend(x))({el:document.createElement("div"),propsData:{lazyRender:!1}}),n.$on("input",(function(t){n.value=t}))}function P(t){return E["g"]?Promise.resolve():new Promise((function(o,e){n&&k(n.$el)||O(),Object(i["a"])(n,P.currentOptions,t,{resolve:o,reject:e})}))}P.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)}},P.alert=P,P.confirm=function(t){return P(Object(i["a"])({showCancelButton:!0},t))},P.close=function(){n&&(n.value=!1)},P.setDefaultOptions=function(t){Object(i["a"])(P.currentOptions,t)},P.resetDefaultOptions=function(){P.currentOptions=Object(i["a"])({},P.defaultOptions)},P.resetDefaultOptions(),P.install=function(){l.a.use(x)},P.Component=x,l.a.prototype.$dialog=P;o["a"]=P},"2fcb":function(t,o,e){},3079:function(t,o,e){"use strict";e.r(o);var n,i=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"coursewaremsg",style:{paddingTop:t.pdtp+"px"}},["image"==t.trainobj.type?e("div",{ref:"coverimg",staticClass:"imagebox"},[e("img",{attrs:{src:t.trainobj.file},on:{click:function(o){return t.lookTap(t.trainobj.file)},load:t.loadimg}})]):t._e(),"video"==t.trainobj.type?[e("video",{ref:"videoPlayer",staticClass:"video-js vjs-default-skin vjs-big-play-centered",staticStyle:{width:"100%"},attrs:{"x5-video-player-type":"h5-page",playsinline:"","webkit-playsinline":""}})]:t._e(),"audio"==t.trainobj.type?e("div",{ref:"audio",attrs:{id:"trainaudio"}},[e("aplayer",{attrs:{autoplay:"",music:{mini:!0,title:t.trainobj.title,artist:" ",src:t.trainobj.file,theme:"#249efb",pic:"none"}}})],1):t._e(),e("mescroll-vue",{ref:"wordListBox",staticClass:"customerBoxmescroll",attrs:{down:t.mescrollDown,up:t.mescrollUp},on:{init:t.mescrollInit}},[e("div",{staticClass:"flex-row pr10"},[e("div",{staticClass:"clearfix coursebox lh60 color000 font36 fontfpb"},[e("div",{staticClass:"flex-row align-center pull-right font12no fontfpr"},[e("span",{staticClass:"inline-block p-tags bgF2F2F2 mglr10"},[t._v(t._s(t.trainobj.type_id))])]),t._v(" "+t._s(t.trainobj.title)+" ")])]),e("div",{staticClass:"pdfbox"},[e("div",{attrs:{id:"pdfdemo"}})]),e("div",{staticClass:"contentbox font28 fontfpr color333 lh48"},[e("div",{domProps:{innerHTML:t._s(t.trainobj.content)}})])]),e("div",{staticClass:"signUpBtn",on:{click:t.signUpFunc}},[t._v("立即报名")]),e("wzhload",{directives:[{name:"show",rawName:"v-show",value:t.loadFlag,expression:"loadFlag"}]}),e("van-dialog",{attrs:{title:"立即报名",closeOnClickOverlay:"",confirmButtonColor:"#fff","before-close":t.beforeCloseFun},on:{confirm:t.confirmFunc},model:{value:t.showDialog,callback:function(o){t.showDialog=o},expression:"showDialog"}},[e("div",{staticClass:"signUpBox"},[e("div",{staticClass:"signitem"},[e("span",[t._v("姓名")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.fName,expression:"fName"}],attrs:{type:"text",placeholder:"请输入姓名"},domProps:{value:t.fName},on:{input:function(o){o.target.composing||(t.fName=o.target.value)}}})]),e("div",{staticClass:"signitem"},[e("span",{staticStyle:{color:"red"}},[t._v("*")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.fPhone,expression:"fPhone"}],attrs:{type:"number",placeholder:"请输入手机号"},domProps:{value:t.fPhone},on:{input:function(o){o.target.composing||(t.fPhone=o.target.value)}}})])])])],2)},s=[],l=e("fc11"),a=(e("e17f"),e("2241")),r=(e("4662"),e("28a2")),c=(e("b0c0"),e("ac1f"),e("00b4"),e("8d6b")),p=e("a92e"),u=e("9df2"),d=e("0f7d"),h=e.n(d),m={name:"coursewaremsg",data:function(){return{trainobj:{},loadFlag:!0,tid:"",cid:"",cover:"",fName:"",fPhone:"",summerymsg:"",sumuplist:[],sumupage:1,showDialog:!1,datashow:!1,timeout:"",mescroll:null,mescrollDown:{},mescrollUp:{callback:this.trainfun,page:{num:0,size:10},htmlLoading:"",htmlNodata:"",noMoreSize:0},pdtp:"",time:0,player:"",pdfh5:null}},components:(n={MescrollVue:c["a"]},Object(l["a"])(n,r["a"].Component.name,r["a"].Component),Object(l["a"])(n,a["a"].Component.name,a["a"].Component),Object(l["a"])(n,"nonedata",p["a"]),Object(l["a"])(n,"Aplayer",h.a),n),created:function(){0,this.tid=this.$route.query.tid,this.cid=this.$route.query.cid},methods:{detail:function(){var t=this,o={course_id:t.cid,class_id:this.tid};Object(u["i"])(o).then((function(o){t.loadFlag=!1,0==o.data.code&&(t.trainobj=o.data.data,document.title=o.data.data.title,"video"==o.data.data.type&&t.$nextTick((function(){var t=this;setTimeout((function(){t.player=videojs(t.$refs.videoPlayer,{autoplay:!0,controls:!0,width:window.innerWidth,poster:o.data.data.file+"?x-oss-process=video/snapshot,t_100,f_jpg,w_500,m_fast",height:250,preload:"auto",src:o.data.data.file,sources:[{src:o.data.data.file}]},(function(){t.player.log("onPlayerReady",t)}))}),100)})),"audio"==o.data.data.type&&t.$nextTick((function(){t.pdtp=t.$refs.audio.clientHeight})),"pdf"==o.data.data.type&&(t.pdfh5=new Pdfh5("#pdfdemo",{pdfurl:o.data.data.file,renderType:"svg",maxZoom:2,zoomEnable:!0})))}))},loadimg:function(){this.pdtp=this.$refs.coverimg.clientHeight},isPhoneNum:function(t){var o=/^(((13[0-9]{1})|(14[0-9]{1})|(15[0-9]{1})|(16[0-9]{1})|(17[0-9]{1})|(18[0-9]{1})|(19[0-9]{1}))+\d{8})$/;return!!o.test(t)},beforeCloseFun:function(t,o){"overlay"!=t?this.fPhone&&this.isPhoneNum(this.fPhone)?o():o(!1):o()},signUpFunc:function(){this.showDialog=!0},confirmFunc:function(){var t=this;if(!this.fPhone)return this.$toast("请输入手机号"),!1;if(!this.isPhoneNum(this.fPhone))return this.$toast("手机号格式错误"),!1;var o={name:this.fName,mobile:this.fPhone,id:this.cid,type:"TrainCourse"};this.$toast.loading({duration:0,message:"加载中...",forbidClick:!0,loadingType:"spinner"}),Object(u["k"])(o).then((function(o){t.$toast.clear(),0==o.data.code?(t.fName="",t.fPhone="",t.showDialog=!1,t.$toast("报名成功")):t.showDialog=!1}))},trainfun:function(t,o){var e=this;t.num,e.cid,e.tid;e.$nextTick((function(){o.endSuccess(1)}))},lookTap:function(t){Object(r["a"])([t])},mescrollInit:function(t){this.mescroll=t}},mounted:function(){0,this.detail()}},f=m,v=(e("4451"),e("7eed"),e("2877")),g=Object(v["a"])(f,i,s,!1,null,"03aa5497",null);o["default"]=g.exports},4451:function(t,o,e){"use strict";e("59d2")},"4cf9":function(t,o,e){},"59d2":function(t,o,e){},"7eed":function(t,o,e){"use strict";e("e594")},"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"),l=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 l.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))}}}),r=a,c=e("2877"),p=Object(c["a"])(r,n,i,!1,null,null,null);o["a"]=p.exports},a92e:function(t,o,e){"use strict";var n=function(){var t=this,o=t.$createElement,n=t._self._c||o;return n("div",{staticClass:"nonedata",staticStyle:{margin:"auto"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:"0"==t.len&&t.datashow,expression:"len == '0' && datashow"}],staticClass:"noneDataBox"},[n("img",{attrs:{src:e("0afc")}}),n("div",[t._v(t._s(t.text))])])])},i=[],s=(e("a9e3"),{name:"nonedata",props:{len:{type:Number,default:0},datashow:{type:Boolean,default:!1},text:{type:String,default:"暂无数据展示"}},data:function(){return{}},created:function(){},methods:{},mounted:function(){}}),l=s,a=(e("bf10"),e("2877")),r=Object(a["a"])(l,n,i,!1,null,"e6e9b0c4",null);o["a"]=r.exports},bf10:function(t,o,e){"use strict";e("c93c")},c93c:function(t,o,e){},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")},e594:function(t,o,e){},f2fd:function(t,o,e){},f868:function(t,o,e){var n,i;(function(s,l){n=l,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,l=n.indexOf("Android")>-1||n.indexOf("Adr")>-1;e.os={ios:i,pc:s,android:l},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),l=Math.abs(t.lastPoint.y-n.y),a=Math.sqrt(s*s+l*l);if(0!==a){var r=Math.asin(l/a)/Math.PI*180;if(r'+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 l=n/i,a=s/l,r=0,c=window.setInterval((function(){r