chunk-19e72660.f0762dd8.js 62 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-19e72660","chunk-1e1449e1","chunk-7b61d779"],{"209e":function(t,e,o){"use strict";o.d(e,"l",(function(){return n})),o.d(e,"n",(function(){return s})),o.d(e,"a",(function(){return i})),o.d(e,"o",(function(){return r})),o.d(e,"s",(function(){return l})),o.d(e,"t",(function(){return c})),o.d(e,"m",(function(){return p})),o.d(e,"p",(function(){return d})),o.d(e,"q",(function(){return u})),o.d(e,"j",(function(){return m})),o.d(e,"c",(function(){return h})),o.d(e,"e",(function(){return g})),o.d(e,"i",(function(){return f})),o.d(e,"b",(function(){return w})),o.d(e,"k",(function(){return A})),o.d(e,"f",(function(){return v})),o.d(e,"g",(function(){return y})),o.d(e,"d",(function(){return b})),o.d(e,"u",(function(){return k})),o.d(e,"r",(function(){return D})),o.d(e,"h",(function(){return C}));var a=o("b775");function n(t){return Object(a["a"])({url:"/api/talkskill/talkskill_xq",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/api/talkskill/collectCancel",method:"post",data:t})}function i(t){return Object(a["a"])({url:"/api/talkskill/addComment",method:"post",data:t})}function r(t){return Object(a["a"])({url:"/api/talkskill/commentList",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/api/talkskill/praise",method:"post",data:t})}function c(t){return Object(a["a"])({url:"/api/talkskill/praiseCancel",method:"post",data:t})}function p(t){return Object(a["a"])({url:"/api/talkskill/use_talkskill",method:"post",data:t})}function d(t){return Object(a["a"])({url:"/api/talkskill/label_list",method:"post",data:t})}function u(t){return Object(a["a"])({url:"/api/talkskill/lists",method:"post",data:t})}function m(t){return Object(a["a"])({url:"/api/talkskill/submit_questions",method:"post",data:t})}function h(t){return Object(a["a"])({url:"/api/talkskill/get_answer_list",method:"post",data:t})}function g(t){return Object(a["a"])({url:"/api/talkskill/get_my_answer_list",method:"post",data:t})}function f(t){return Object(a["a"])({url:"/api/talkskill/submit_talkskill",method:"post",data:t})}function w(t){return Object(a["a"])({url:"/api/talkskill/edit_talkskill",method:"post",data:t})}function A(t){return Object(a["a"])({url:"/api/talkskill/system",method:"post",data:t})}function v(t){return Object(a["a"])({url:"/api/talkskill/get_person_list",method:"post",data:t})}function y(t){return Object(a["a"])({url:"/api/talkskill/get_cates",method:"post",data:t})}function b(t){return Object(a["a"])({url:"/api/talkskill/get_cates_all",method:"post",data:t})}function k(t){return Object(a["a"])({url:"/api/talkskill/success_list",method:"post",data:t})}function D(t){return Object(a["a"])({url:"/api/talkskill/chosen_and_success_list",method:"post",data:t})}function C(t){return Object(a["a"])({url:"/api/talkskill/keyword_list",method:"post",data:t})}},"236d":function(t,e,o){"use strict";o.r(e);var a,n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"searchword"},[a("div",{staticClass:"topsearchbox"},[a("div",{staticClass:"searchBox relative clearfix"},[a("img",{staticClass:"searchImg pull-left",attrs:{src:t.$store.state.imgUrl+"/xcx/search.png"}}),a("input",{directives:[{name:"model",rawName:"v-model",value:t.word,expression:"word"}],staticClass:"search",attrs:{type:"text",placeholder:"请输⼊搜索关键字"},domProps:{value:t.word},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchtap.apply(null,arguments)},input:function(e){e.target.composing||(t.word=e.target.value)}}}),a("div",{staticClass:"searchText"},[a("div",{staticClass:"handleSearch",on:{click:t.searchtap}},[t._v("搜索")])])]),a("div",{staticClass:"noneaskbox fontfpm font24",on:{click:t.unsuretap}},[t._v(" 搜索结果不满意?提交问题>> ")])]),a("mescroll-vue",{ref:"wordListBox",staticClass:"wordBoxmescroll",attrs:{down:t.mescrollDown,up:t.mescrollUp},on:{init:t.mescrollInit}},[a("div",[t._l(t.dataList,(function(e,n){return a("div",{key:e.id,staticClass:"everyAnswerBox",on:{click:function(o){return t.wordMsgTap(e.id,n)}}},[a("div",{staticClass:"answertapBox relative"},[a("div",{staticClass:"problem clearfix"},[a("div",{staticClass:"problemLeft pull-left"},[t._v("问")]),a("div",{staticClass:"problemText pull-left",domProps:{innerHTML:t._s(e.title)}})]),a("div",{staticClass:"clearfix questionmsg"},[e.imgs?a("div",{staticClass:"imgarrbox clearfix"},t._l(e.imgs,(function(t,e){return a("img",{key:e,staticClass:"pull-left",attrs:{src:t,alt:""}})})),0):a("div",{staticClass:"imgarrbox clearfix"},t._l(e.weixin_media,(function(t,e){return a("img",{key:e,staticClass:"pull-left",attrs:{src:t,alt:""}})})),0)]),a("div",{staticClass:"result clearfix"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.content,expression:"item.content"}],staticClass:"resultleft pull-left center"},[t._v("答")]),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.content,expression:"!item.content"}],staticClass:"pull-left",staticStyle:{width:"0.48rem",height:"0.48rem"}}),a("div",{staticClass:"resultText pull-left ellipsisTwo"},[t._v(" "+t._s(e.content?e.content:e.comment_count>0?"查看同事回答("+e.comment_count+")":"暂无回答")+" ")])]),e.content?a("div",{staticClass:"scoreBox clearfix lh30 fontfpm font24"},[a("div",{staticClass:"pull-left colorB6CADE"},[t._v("适用部门:"+t._s(e.user_cate||"未设置"))]),a("div",{staticClass:"pull-left wordusebox ml20"},[a("img",{staticClass:"searchImg pull-left",attrs:{src:o("fdbb")}}),a("div",{staticClass:"colorB6CADE pull-left"},[t._v(t._s(e.TalkskillComment))])]),a("div",{staticClass:"pull-left wordusebox mglr20"},[a("img",{staticClass:"searchImg pull-left",attrs:{src:o("55b2")}}),a("div",{staticClass:"colorB6CADE pull-left"},[t._v(t._s(e.use_count))])]),a("div",{staticClass:"pull-right wcopybox colorB6CADE lh30 font24"},[t._v(" "+t._s(e.addtime)+" ")])]):t._e()]),a("div",{staticClass:"bgbox"})])})),a("nonedata",{attrs:{len:t.dataList.length,datashow:t.datashow}})],2)]),t.quesionflag?a("div",{staticClass:"wordmsgbox",on:{click:t.closeask}},[a("div",{staticClass:"unamewordbox",on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[a("div",{staticClass:"sharetit color384855 fontfpr font32 fontw600 relative"},[t._v("匿名提问")]),a("div",{staticClass:"scenetit3 lh44 color384855 fontfpr font32"},[t._v("输入问题")]),a("div",{staticClass:"questionbox relative"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.okeytext,expression:"okeytext"}],staticClass:"font28 fontfpr color9DB6CF lh40",staticStyle:{resize:"none"},attrs:{placeholder:"请输入问题"},domProps:{value:t.okeytext},on:{input:function(e){e.target.composing||(t.okeytext=e.target.value)}}}),a("div",{staticClass:"addimg",on:{click:function(e){return e.stopPropagation(),t.upanonymousimg.apply(null,arguments)}}},[a("img",{directives:[{name:"show",rawName:"v-show",value:t.trackimgarr.length<3,expression:"trackimgarr.length < 3"}],attrs:{src:o("9ea2"),alt:""}}),a("input",{ref:"referenceUpload1",attrs:{id:"upheadImg1",type:"file",accept:"image/*",multiple:"",hidden:""},on:{change:function(e){return t.changeTap(e)}}})])]),a("div",{staticClass:"upimgbox clearfix"},[2==t.isIosOrAndroid?t._l(t.trackimgarr,(function(e,n){return a("div",{key:n,staticClass:"pull-left everyupimg relative",on:{click:function(o){return o.stopPropagation(),t.lookTap(e)}}},[a("img",{staticClass:"imgmsg",attrs:{src:e.base64Data}}),a("img",{staticClass:"delimg",attrs:{src:o("4a3b")},on:{click:function(e){return e.stopPropagation(),t.delimgtap(n)}}})])})):t._l(t.trackimgarr,(function(e,n){return a("div",{key:n,staticClass:"pull-left everyupimg relative",on:{click:function(o){return o.stopPropagation(),t.lookTap(e)}}},[a("img",{staticClass:"imgmsg",attrs:{src:e.localId}}),a("img",{staticClass:"delimg",attrs:{src:o("4a3b")},on:{click:function(e){return e.stopPropagation(),t.delimgtap(n)}}})])}))],2),a("button",{staticClass:"wordsurebox colorfff font32 fontfpr",attrs:{type:"button"},on:{click:t.anonymousquestiontap}},[t._v(" 确认提交 ")])])]):t._e(),a("wzhload",{directives:[{name:"show",rawName:"v-show",value:t.loadFlag,expression:"loadFlag"}]}),t.wordflag?a("wordmsg",{attrs:{wid:t.nowid,wordflag:t.wordflag},on:{closewordtap:t.closewordtap,updatehot:t.updatehot}}):t._e()],1)},s=[],i=o("1da1"),r=(o("4662"),o("28a2")),l=o("ade3"),c=(o("96cf"),o("b0c0"),o("ac1f"),o("466d"),o("1276"),o("d3b7"),o("3ca3"),o("ddb0"),o("2b3d"),o("9861"),o("5cc6"),o("907a"),o("9a8c"),o("a975"),o("735e"),o("c1ac"),o("d139"),o("3a7b"),o("d5d6"),o("82f8"),o("e91f"),o("60bd"),o("5f96"),o("3280"),o("3fcc"),o("ca91"),o("25a1"),o("cd26"),o("3c5d"),o("2954"),o("649e"),o("219c"),o("170b"),o("b39a"),o("72f7"),o("a434"),o("498a"),o("a15b"),o("d81d"),o("99af"),o("5319"),o("18a0")),p=o.n(c),d=o("a92e"),u=o("8d6b"),m=o("209e"),h=o("2d8e"),g=(o("b311"),o("f7cf")),f={name:"searchword",data:function(){var t;return t={trackimgarr:[],nowimagearr:[],recordimgarr:[],nowuploadimg:[],compressarr:[],downimgflag:!1,loadFlag:!0,okeytext:"",quesionflag:!1,word:"",mescroll:null,mescrollDown:{},mescrollUp:{callback:this.wordfun,page:{num:0,size:10},htmlLoading:"",htmlNodata:"",noMoreSize:5},type:1,datashow:!1,wordType:"1",tagType:"",toolflag:!1,dataList:[],titleList:[],date:0,titflag:!0,wordflag:!1},Object(l["a"])(t,"quesionflag",!1),Object(l["a"])(t,"hotword",[]),Object(l["a"])(t,"labellist",[]),Object(l["a"])(t,"label",""),Object(l["a"])(t,"keytext",""),Object(l["a"])(t,"hotwordtext",""),Object(l["a"])(t,"nowid",""),Object(l["a"])(t,"nowidx",0),Object(l["a"])(t,"nowwordobj",{}),Object(l["a"])(t,"answerflag",!1),Object(l["a"])(t,"hotwordflag",!1),Object(l["a"])(t,"allcommentNum",0),Object(l["a"])(t,"commentArr",[]),Object(l["a"])(t,"comments",""),Object(l["a"])(t,"msgmescroll",null),Object(l["a"])(t,"msgmescrollUp",{auto:!1,callback:this.commentlistfun,page:{num:0,size:10},htmlNodata:"",noMoreSize:5}),Object(l["a"])(t,"sharewordflag",0),t},components:(a={MescrollVue:u["a"],wordmsg:g["a"]},Object(l["a"])(a,r["a"].Component.name,r["a"].Component),Object(l["a"])(a,"nonedata",d["a"]),a),computed:{isIosOrAndroid:function(){var t=navigator.userAgent,e=t.indexOf("Android")>-1||t.indexOf("Adr")>-1;if(e)return 1;var o=!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return o?2:0}},created:function(){this.type=this.$route.params.type,this.word=this.$route.params.word,this.setWXChatConfig()},methods:{lookimgtap:function(t){Object(r["a"])([t])},downenclosuretap:function(){this.nowwordobj.enclosure=1,this.downimgflag=!this.downimgflag},searchtap:function(){this.mescroll.resetUpScroll()},enclosuretap:function(){this.nowwordobj.enclosure=0==this.nowwordobj.enclosure?1:0},selectimgtap:function(t){var e=this;e.nowwordobj.imgarr[t].downflag=0==e.nowwordobj.imgarr[t].downflag?1:0},downimgtap:function(){var t=this;this.downimgflag=!1;for(var e=0;e<this.nowwordobj.imgarr.length;e++)0!=this.nowwordobj.imgarr[e].downflag&&(!0,t.downIamge(this.nowwordobj.imgarr[e].imgsrc));t.loadFlag=!0},downIamge:function(t){var e=this,o=t.split("."),a=o[o.length-1],n=document.createElement("img");n.src=t+"?v="+Math.random(),n.crossOrigin="anonymous",n.onload=function(){var t=e.getBase64Image(n),o=window.document.createElement("a"),s=e.base64ToBlob(t),i=document.createEvent("HTMLEvents");i.initEvent("click",!0,!0),o.download=(new Date).getTime()+"."+a,o.href=URL.createObjectURL(s),o.click(),e.loadFlag=!1}},getBase64Image:function(t){var e=document.createElement("canvas");e.width=t.width,e.height=t.height;var o=e.getContext("2d");o.drawImage(t,0,0,t.width,t.height);var a=e.toDataURL("image/png");return a},base64ToBlob:function(t){for(var e=t.split(";base64,"),o=e[0].split(":")[1],a=window.atob(e[1]),n=a.length,s=new Uint8Array(n),i=0;i<n;++i)s[i]=a.charCodeAt(i);return new Blob([s],{type:o})},unsuretap:function(){this.quesionflag=!0,this.sharewordflag=0},closeask:function(){this.quesionflag=!1},getTalkskillSystem:function(){Object(m["k"])({type:"talkskill"}).then((function(t){0==t.data.code&&console.log("获取成功")}))},thenPromise:function(t){return new Promise((function(e,o){p.a.getLocalImgData({localId:t,success:function(t){e(t.localData)}})}))},setWXChatConfig:function(){var t=location.href.split("#")[0];h["b"]({url:t}).then((function(t){p.a.config({debug:!1,appId:t.data.data.appid,timestamp:t.data.data.timestamp,nonceStr:t.data.data.noncestr,signature:t.data.data.sign,jsApiList:["chooseImage","uploadImage","getLocalImgData"]}),p.a.ready((function(){}))}))},upanonymousimg:function(){var t=this;p.a.chooseImage({count:3,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(e){for(var o=e.localIds,a=function(e){p.a.uploadImage({localId:o[e],isShowProgressTips:1,success:function(a){var n=a.serverId;2==t.isIosOrAndroid?t.thenPromise(o[e]).then((function(a){t.trackimgarr.push({localId:o[e],serverId:n,base64Data:a})})):t.trackimgarr.push({localId:o[e],serverId:n})}})},n=0;n<o.length;n++)a(n)}})},changeTap:function(t){for(var e=this,o=t.target.files||t.dataTransfer.files,a=0;a<o.length;a++)e.recordimgarr.push(o[a]);var n=document.getElementById("upheadImg1").files,s=e.trackimgarr,i=n.length,r=e.trackimgarr.length;if(i+r>3){this.$toast("图片最多传3张!");for(var l=0;l<n.length;l++)s.length<3&&s.push(URL.createObjectURL(n[l]))}else for(var c=0;c<n.length;c++)s.push(URL.createObjectURL(n[c]));e.recordimgarr.length>3&&(e.recordimgarr=e.recordimgarr.splice(0,3)),e.trackimgarr=s,this.$refs.referenceUpload1.value=""},delimgtap:function(t){var e=this;e.trackimgarr.splice(t,1),e.recordimgarr.splice(t,1)},anonymousquestiontap:function(){var t=this;if(this.okeytext=this.trim(this.okeytext),!this.okeytext)return this.$toast("提交的问题不能为空!"),!1;if(this.okeytext.length<3)return this.$toast("请合理的输入提交的问题内容!"),!1;if(this.okeytext.length>=200)return this.$toast("提交的问题内容太长,最多200字!"),!1;if(this.loadFlag=!0,t.recordimgarr.length>0&&0==this.sharewordflag)for(var e=0;e<t.recordimgarr.length;e++)t.imgPreview(t.recordimgarr[e]);else t.submitap()},imgPreview:function(t){var e=this,o=new FileReader;o.readAsDataURL(t),console.log(t);t.name.split(".");o.onloadend=function(){var t=this.result,o=new Image;o.src=t,o.onload=function(){var t=e.compress(o),a=new Date,n=a.getFullYear()+""+(1*a.getMonth()+1)+a.getDate()+".jpeg",s=e.dataURLtoFile(t,n);e.compressarr.push(s),e.compressarr.length==e.trackimgarr.length&&e.uploadImgTap()}}},compress:function(t,e){var o,a,n=document.createElement("canvas"),s=n.getContext("2d"),i=document.createElement("canvas"),r=i.getContext("2d"),l=t.src.length,c=t.width,p=t.height;if((o=c*p/4e6)>1?(console.log("大于400万像素"),o=Math.sqrt(o),c/=o,p/=o):o=1,n.width=c,n.height=p,s.fillStyle="#fff",s.fillRect(0,0,n.width,n.height),(a=c*p/1e6)>1){console.log("超过100W像素"),a=~~(Math.sqrt(a)+1);var d=~~(c/a),u=~~(p/a);i.width=d,i.height=u;for(var m=0;m<a;m++)for(var h=0;h<a;h++)r.drawImage(t,m*d*o,h*u*o,d*o,u*o,0,0,d,u),s.drawImage(i,m*d,h*u,d,u)}else s.drawImage(t,0,0,c,p);var g=n.toDataURL("image/jpeg",.6);return console.log("压缩前:"+l),console.log("压缩后:"+g.length),console.log("压缩率:"+~~(100*(l-g.length)/l)+"%"),i.width=i.height=n.width=n.height=0,g},dataURLtoFile:function(t,e){var o=t.split(","),a=o[0].match(/:(.*?);/)[1],n=atob(o[1]),s=n.length,i=new Uint8Array(s);while(s--)i[s]=n.charCodeAt(s);try{return new File([i],e,{type:a})}catch(r){return console.warn("Browser does not support the File constructor,Will use blob instead of file"),this.dataURL2blob(t)}},uploadImgTap:function(t){var e=this,o=e.compressarr;e.nowuploadimg=[];for(var a=o,n=0;n<a.length;n++){var s=new OSS({region:"oss-cn-hangzhou",accessKeyId:"LTAI5tHjWupJSCAycy2yVbQZ",accessKeySecret:"eNFicm77Cfq3u7ZnQyw1urFmFNpf3w",bucket:"zyzswzh",secure:!0}),i=new Date,r=i.getFullYear()+""+(1*i.getMonth()+1)+i.getDate();e.fileName="Talkskill/Question/"+r+"/"+Date.now()+".jpeg",s.multipartUpload(e.fileName,a[n]).then((function(t){console.log("4"),e.nowuploadimg.push(t.name),e.nowuploadimg.length==a.length&&e.submitap("2")})).catch((function(t){console.log(t)}))}},submitap:function(t){var e=this,o={questions:this.okeytext,media_id:e.trackimgarr.length?e.trackimgarr.map((function(t){return t.serverId})).join(","):"",weixin_media:e.trackimgarr.length?e.trackimgarr.map((function(t){return t.localId})).join(","):""};Object(m["j"])(o).then((function(t){e.loadFlag=!1,"0"==t.data.code?(e.trackimgarr.length&&e.getTalkskillSystem(),e.quesionflag=!1,e.okeytext="",e.$toast(t.data.msg),e.mescroll.scrollTo(0,5),e.mescroll.resetUpScroll(),e.sharewordflag=0):e.sharewordflag=2}))},wordfun:function(t,e){var o=this,a={label:"",keyword:1==this.type?o.word:"",hot_keyword:2==this.type?o.word:"",page:t.num};Object(m["q"])(a).then((function(a){if(0==a.data.code){1===t.num&&(o.dataList=[]);for(var n=0;n<a.data.data.length;n++){var s=a.data.data[n].title.split(o.word);a.data.data[n].title=s.join('<span class="colorff0057">'+o.word+"</span>")}o.datashow=!0,o.dataList=o.dataList.concat(a.data.data),o.handleData(),o.$nextTick((function(){e.endSuccess(a.data.data.length)}))}setTimeout((function(){o.loadFlag=!1}),600)}))},handleData:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var o,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(2!=t.isIosOrAndroid){e.next=17;break}o=0;case 2:if(!(o<t.dataList.length)){e.next=17;break}if(t.dataList[o].imgs){e.next=14;break}if(!t.dataList[o].weixin_media){e.next=14;break}a=0;case 6:if(!(a<t.dataList[o].weixin_media.length)){e.next=14;break}if(!(t.dataList[o].weixin_media[a].indexOf("wxLocalResource")>-1)){e.next=11;break}return e.next=10,t.thenPromise(t.dataList[o].weixin_media[a]);case 10:t.dataList[o].weixin_media[a]=e.sent;case 11:a++,e.next=6;break;case 14:o++,e.next=2;break;case 17:t.$nextTick((function(){t.$forceUpdate()}));case 18:case"end":return e.stop()}}),e)})))()},msgmescrollInit:function(t){this.msgmescroll=t},mescrollInit:function(t){this.mescroll=t},wordMsgTap:function(t,e){this.wordflag=!0,this.nowid=t,this.commentArr=[],this.nowidx=e,this.comments="",this.answerflag=!1,this.nowwordobj={},this.loadFlag=!0},updatehot:function(t){this.dataList[this.nowidx].use_count=t},dothis:function(){},closewordtap:function(){this.wordflag=!1},closeasktap:function(t){this.answerflag=!1},asktap:function(t){this.answerflag=!0,this.comments=""},trim:function(t){return t.replace(/(^\s*)|(\s*$)/g,"")}},mounted:function(){}},w=f,A=(o("7f08"),o("2877")),v=Object(A["a"])(w,n,s,!1,null,"20bf1f13",null);e["default"]=v.exports},"41d1":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAZCAYAAAAv3j5gAAAABHNCSVQICAgIfAhkiAAAAVNJREFUSEvlljFSwlAQhv+FRitzA8YbSGfSiI0zSeNwAz2BcgLgBvEEegRokhkbsEks4w3iDbTRxmHd9wIzIAEeo+81bpnZ3S+7739/QjAMTk+vAOqDyQNhhIOPHp0Xb4blUmIQAukAjclKKqOgKGsblOsUQ1AwktzLtabMPYry2ARmBkr8KYjOakBPApJpd8d/BaUB1y6H+U5Wd7t7cQZiqGTduN8AUkJQQtkch58v6hpsPSN+DE7whYlo0zN56/ocLtGkrgZVDfmoEjy/Uvhcbp1kf+qYOPFjke7NUu2QwmzAaTCQZ/39e9ZXkDT8edB/D2LZkhMQIKtzMREwdANi7roBYXbsAMTvFOaefRCzdnj7ICUEuZcOQLNrcZoH+6Am2nSRFdZBsjbtp3ZBcyFUoMQvxVRbVkxVXdQo198rmn8ilIMvfj5+b6oyifSOFxAF+gau4On2/SjfIgAAAABJRU5ErkJggg=="},"498a":function(t,e,o){"use strict";var a=o("23e7"),n=o("58a8").trim,s=o("c8d2");a({target:"String",proto:!0,forced:s("trim")},{trim:function(){return n(this)}})},"4a3b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAeCAMAAADn2eWTAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAA7VBMVEW2yt7///+2yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt4AAADo3WN+AAAATXRSTlMAAD35aXO6EJmvpCE4p6uqUNyXxUVS7OVMS4eokp3Sa0kC4NQ5cF21BgPk2lSDY78oWWd3U4xmeQ3J3ioVzR/VtuNAPz7P7S4BFo+TkfuqnP4AAAABYktHRE4ZYXHfAAAACXBIWXMAAAsSAAALEgHS3X78AAAAB3RJTUUH5AgZCiM7XlW7cwAAAM9JREFUKM/d0sV6AjEYheFAkQLFijTBtcWhSHEbWoqd+78dfmSwCbBjwbeYs3gXyfNMGNunf8Ehg26fisx4RJg0an61qFltGlXTnXZH3+yOazldzI0bsfcb6GHM6/Pjg3MRAIKCixAQFpxHgGgsvrlIAkn6poA0jQA+6T5fQGZ752wOeZoCUKQpAUbSMlB5bv0GAjRVoCbROtCg+QGaEm21O12aXj8xkOj533+MDjU6OtGxMlHO+v076FT+qv63OvPLdb577anFMnTZcuWj09eQ2WmHWn1ilwAAAABJRU5ErkJggg=="},"4c66":function(t,e,o){},"4ed9":function(t,e){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spgmRx1Emq1QKstJnpFLbpRmoTlMc7Al3zg6HzIzaCi20qTvoFnRyYCHVerJ1pLs7Ll76L6AaCYGnyFbiNAB+gY/S7Ap+nkEw9szTUNMpvyT6ZpWULYOIbPjgZFAX0VF7CAuCohs1NFIbvzVYwiI8FqJq4pJ3xvI2eMzlUX2F/1fo0H8AWW5v3cjfckg9ksWzfYffNcGN+D/oqMAAAAASUVORK5CYII="},"6c9a":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABRFBMVEW2yt7///+2yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt62yt4AAAD4jZrKAAAAanRSTlMAAE/8bxnhyntKPsUQX0ALhbH0zs3g3Lki8LaDh4AsJNBsCnZkUzB9dUbx1SHIEQ4U7BIPEydX6ZTC6oqiy5vn5f3i+qjdOmXP2okc1/Lv057RjJ2ru20qDa7ukZXm2KyWjo0z2wkCQcZc28frTAAAAAFiS0dEa1JlpZgAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAHdElNRQfkCAwOJRjKpmL2AAABDUlEQVQoz23Q+TdCURAH8IlK5RHVKyISskSPQkiWsiR79mTL/v3//wCTe3ud+575Yc6Z7+fcO+cMkVkdnXASOWS1cxfcXfD8A174qBuaHXrQS3702aEfGlEgaAeEuOlhG0QwwH0w2gbv0HBsZDSOMc4T0D3jzonJJMMURE03n83Myik1R5hPGwuLyPz9pxlGVltyLa8gR1jlYG3d3CU25EHY4KlghU0JoS0LRFqwbYHUjoSiBUpuAUFdhQR2JeypsI8DAeVDFSo4knCswsmpQ0D8TIE0YgznPF2UFagiw3DJ0xWub25NuMM9X7eGh3wdj82TPj2/vDYa1XoJWYa3d44KH59fle/WzWs//OwXpBg6C6rMRXUAAAAASUVORK5CYII="},7483:function(t,e,o){"use strict";o("9f52")},"7f08":function(t,e,o){"use strict";o("4c66")},"887a":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAABHNCSVQICAgIfAhkiAAABLNJREFUWEfFmHmIVVUcx0ctrWyR0srEIrfI/EMJS8lqQtPSxIXSKHcoyyAJ3JcES60IU4uCVitRXMsFbdUxF9QWcqGoXLNETc1y36rPZ7hXbsfrm/fGmeeBD++9+84953vP+Z3fcisU5Naq0v0aaAx3QXO4FqpHw/zF5xZYB0vge9gFXs+qVciqV0HBFfTrBPfD7XA9ZHPvbvqthgUwG/aWNF82gzZjkLegAVwYCTnC5woogrXwRzRRDT7rgavXEi6Hf+EkbIa+sDSTqEyC3IrHYRC4VfsjETP5nAMHSnhaV7UdPAgtQLHHYCK8Cr+l3X82QdrJe3Av2OdjeBF+hIMlCAn/voQLrq4P9hBUhOXQBzaFndME1aLTZ9AQDsEEeB6O5igk7F6ZCwNgOCjyZ7gbdiY7hoIU8yHcA7/CCJgC2kFZNFfnUXgOboDPQbPYGg8eCnIlhoB7/RR8AP+UhZLEGM7ZEd4G7ex1eDpNkMe5CDxJL8Cz5SAmOe9AfrgArr4CF/lnvEJX811Hpt3MgB7RKpXx4vxvOB/cg+MW6jx1tjtjQW7PK+DR9mTpW/LRFLEQasJgeElB7qOG+wDMilZHx5ePdjGTvAE9YTF0VVB90Huqsiu4ZflsHZhMP2dYaaOg7uBpcrtqQ66O71zF65N2RDv1hII8dk+CIaHLuY5eyvs1GY17ioK+gVuhH7if56M9xqRvwgYFGeT00K3gyxQ1uncN3pM3HU4Efa7jt27CY6yX3xr8fwG/O8Nt8Al8kTLHHVwzvv2pIG3GaO4NXwed/f8XqAsmWW1hZdBHBzcGDAsGYB3qqUQfV998yOxBsXUgDEUG35/geFLQnZHK5Hz+vw009r+hPXwVCBrK79Fg35fB4JkUZASYC2YQv0djhYJu4foGOOIgpgCq1qimBpP5sw24Mj/AZDDOJZtB0lTCrXkfjOLJZpR37CZgMJ2fModmUQR7FKRDMrq73AbWtFaJi8mnDvu4XY6VqU+mMZ7h3vHwnYO4/8NgFZi0n49mYL0P3lWQscsLPl0j0Ijz2TR2K5Uq0EtBVhAKMtJrkGPzqYa5uoHuQvfTVkEqmwQ6pzXgSYqriPLWZmCfDOZDnsSecfrRmh8GOI3z4eh7eYtx/EL4CKrBIzAtFuSRddv01lYW1lV7ylmRIj4FHfK3YKl0NJlTGz50evqkeWA4yLoEzlH8ZfQ3qGs/FhMugA74jHLYZXsH9Bl633GQybfkqKO4uzFP7+4BsqI1wXfO4hZWHZdyzcpSz6vVF8IZxVxpVET3GD50gv3hIngN9IGnq+BQkPdZ8ipCcb3A5K0smiHGFMOa33kVMxKMkadbLEjnZETXsHrDTWDMsvRNiz3ZCnTrFWIsdHKrGzNT3Yyh6nA4UJzk28HJTbptirFEMbUoTUrrCSoE3YkPeTPoUkwGrVoNsmGQLp5YQVeCiZdHPtk0OLduPfgCajv4vkesSo6DBn8VuMK+htHbN40+Nd64mW4YPEeB7wvO2uItc1lNEcxdrEJ0AR7NNBvLNF78n0J9iWDStQzMmTdmc2PaKbMcctV86hsTKNL/fAlljuO9rpR24FO7cq6ieZPprqtrNbEPsn4/8B/zePcVH2mEKAAAAABJRU5ErkJggg=="},"8d6b":function(t,e,o){"use strict";var a=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{ref:"mescroll",staticClass:"mescroll"},[o("div",[t._t("default")],2)])},n=[],s=o("f868"),i=o.n(s),r=(o("f2fd"),{name:"MeScrollVue",data:function(){return{mescroll:null,lastScrollTop:0,lastBounce:null}},props:{up:Object,down:Object},mounted:function(){this.mescroll=new i.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=r,c=o("2877"),p=Object(c["a"])(l,a,n,!1,null,null,null);e["a"]=p.exports},"9ea2":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABCZJREFUaEPtWU+IG1UY/30v1u2lRdD23IsVXUS0HpJJW5rMpoqsmMmqoNAiCD140IO2CKV0V0GQVSoWPHhRFHpQm4ke1j/pJEu7m5lFK0JVUDzspQiulEUQ2bZ5n7x0k8zOZjKzmaQ7C9nbzvf3933v+/NeCFv8j7a4/xgC2OwMDjMwzEDECKw7QmbV3gMpxqW8eU9E3ZHFhRCL8saNbyceP/inn7I1AEzLOcKQ7xJoV2Tr/VOwSETT+Wzyg04qPQDsjwC80D/bfdJEmDWyqUwYANxkklJObcS8EKIlq+SklJE7nBDidNMHQ0911OfNQMsJP4GNgIrKa1p2oD9DAL1E2aw4+wjyvnqd9yYS9DtD/GZkk5e9umKZgZJVe41B015nCXw8r2vvuL/HDkCx7OwnwZf8ssaSDhRyybkmPXYASpY9x0Da3encnYaA+bye2h9jAM4SgxsTnphG82PJX0sXnAeY+JfGN9DfeT3ZGqKxy0DRqv3VmvISGSOXmjXL9iEIVBUABi8VdG13bDNgVuxLYLSOiBqW7iMEwpyRTR2ILwBr/gggPvFvvfKooac/jS0A5VjRqj1DoM+8IBj8bEHXPh94G525+OOulZWVUXV+exliSqZUrj3IgvZJKfeolZkkX87ntCsDH2RmxTkF5jdWDS0w82RhTPumVyBBcn3rQl9VnWRdNhzPrZughJP5bOqtbs4UKwsPkZTHJMslwSgZh9M/BTmv6H0BUKzUjhPTmwBGWkYJs2Acav9P541s8ulOTpkXai+C6G0Ad9+i0zIgpwxdey8IRCQAEImHIevK8XGPoZcNPXXWtGy1t7zqoi2iLo1mdM1q9S7I7Wf8L0hUMvSk0Q1EJAAE/MPAzqYBBl3cBvn8k7p2td3mFp4D5Dm3EwwcI0nXQHwOhDubNAKuMvAvgL1tflqWdR6fOJya7wSkZDk/M3gUvdzI1jhFfKKQ1dZtkIrny4qdlsDXYOzwj2Y72h0yp25vUxO59GQn+fPl+Uk/WuNA+vXd1e9lIfilpzLaH91S/cV3zr2JO/jDNXVxS/lNEE57i7xYtguUwMdrQK+uFkF1sa6J+AEgwiv5bOr9sApnZpyd17fjLDMfXZX5nplOFsaS5U46imX7fiI+A6LHFH1k28juJw4+shTWnutotkXCFE2QgaJVmxYkdjD997qRySwH8attVG2lXr7GkgcgaGDG8k6srpxg/qEBiujRTtfNgWUgKOJh6Kpwm1tqtwLvWsSb+awyBNAoHp+XsDBHYKM87ogHyXqPlG8Rb/RpMciwm+4dTO7uF0aPO7ib87jrWQ36mIHb9LzeZbdRGei5iJXw7fiBo9tuExlAmDM4aJ5IGRi0c2H0u9+KELDkRf4RIoxDvfA01gnVzju8Wrv1xRZAWNBDAGEjNSi+LZ+B/wGZlFJPMzXeQgAAAABJRU5ErkJggg=="},"9f52":function(t,e,o){},c8d2:function(t,e,o){var a=o("5e77").PROPER,n=o("d039"),s=o("5899"),i="​…᠎";t.exports=function(t){return n((function(){return!!s[t]()||i[t]()!==i||a&&s[t].name!==t}))}},f2fd:function(t,e,o){},f56f:function(t,e){t.exports="data:image/png;base64,iV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,n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wordmsg"},[t.wordflag?a("div",{staticClass:"wordmsgbox",on:{click:t.closewordtap}},[a("div",{staticClass:"wordmsgview",on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[a("div",{staticClass:"wordTitle font32 relative"},[t._v(t._s(t.nowwordobj.cate1||"我要回答")+" "),a("van-icon",{staticClass:"absolute-icon",attrs:{name:"cross",size:"20",color:"#666666"},on:{click:t.closewordtap}})],1),a("mescroll-vue",{ref:"wordBox",staticClass:"answermescroll",attrs:{up:t.msgmescrollUp},on:{init:t.msgmescrollInit}},[a("div",{staticClass:"mescrollmsgbox"},[a("div",{staticClass:"width100 flex-column box-shdows"},[a("div",{staticClass:"wordquestion"},[a("span",[t._v(t._s(t.nowwordobj.title))]),a("img",{attrs:{src:o("887a"),alt:"",width:"20px",height:"20px"},on:{click:t.asktap}})]),a("div",{staticClass:"width100 flex-column box-content"},[t.nowwordobj.content?a("div",{staticClass:"flex-row mt20 mb20 align-center"},[a("div",{staticClass:"sendWidth",on:{click:function(e){return e.stopPropagation(),t.sendMsgWxChat(t.nowwordobj.content,t.nowwordobj,1)}}},[a("img",{attrs:{src:o("f56f"),alt:"发送",width:"45px",height:"45px"}})]),a("div",{staticClass:"flex-sub font24 color999 ml10 flex-row align-center"},[t._v(" "+t._s(t.nowwordobj.content)+" ")])]):t._e(),t.nowwordobj.content?t._e():a("div",{staticClass:"officialask font28 color999 fontfpr"},[t._v("暂无官方回答 ")]),a("div",{directives:[{name:"show",rawName:"v-show",value:!!t.nowwordobj.imgs,expression:"!!nowwordobj.imgs"}],staticClass:"questionmsg"},[a("div",{staticClass:"imgarrbox clearfix"},t._l(t.nowwordobj.imgs,(function(e,o){return a("img",{key:o,staticClass:"pull-left",attrs:{src:e},on:{click:function(e){return e.stopPropagation(),t.lookimgtap(t.nowwordobj.imgs,o)}}})})),0)]),t.answerflag?a("div",{staticClass:"flex-column justify-center align-center mt20"},[a("div",{staticClass:"result clearfix "},[a("div",{staticClass:"resultText lh36"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.comments,expression:"comments"}],staticClass:"askresultbox",staticStyle:{resize:"none"},attrs:{placeholder:"请输入答案"},domProps:{value:t.comments},on:{input:function(e){e.target.composing||(t.comments=e.target.value)}}})])]),a("div",{staticClass:"center color28A1FF font28 fontfpr editbox"},[a("div",{staticClass:"inline-block clearfix"},[a("div",{staticClass:"pull-left",on:{click:t.commentap}},[t._v("提交回答")]),a("span",{staticClass:"pull-left"}),a("div",{staticClass:"pull-left",on:{click:t.closeasktap}},[t._v("取消编辑")])])])]):t._e()])]),a("div",{},[a("div",{staticClass:"clearfix answertit"},[a("div",{staticClass:"pull-left font28 color333 fontfpr"},[t._v("员工回答("+t._s(t.allcommentNum)+")")])]),a("div",{staticClass:"otheraswerbox clearfix"},[a("div",{},[t._l(t.commentArr,(function(e,n){return a("div",{key:e.id,staticClass:"width100 flex-column box-shdows relative"},[a("div",{staticClass:"wordquestion"},[a("div",{staticClass:"flex-row align-center"},[a("img",{directives:[{name:"show",rawName:"v-show",value:e.headimgurl,expression:"comitem.headimgurl"}],staticClass:"pull-left otherheadimg",attrs:{src:e.headimgurl}}),a("img",{directives:[{name:"show",rawName:"v-show",value:!e.headimgurl,expression:"!comitem.headimgurl"}],staticClass:"pull-left otherheadimg",attrs:{src:o("ee87")}}),a("span",{staticClass:"ml10"},[t._v(t._s(e.name))])])]),a("div",{staticClass:"width100 flex-column box-content"},[a("div",{staticClass:"flex-row mt20 hidden align-center"},[a("div",{staticClass:"sendWidth",on:{click:function(o){return t.sendMsgWxChat(e.comments,e,2,n)}}},[a("img",{attrs:{src:o("f56f"),alt:"发送",width:"45px",height:"45px"}})]),a("p",{staticClass:"flex-sub font24 color999 ml10 box-anwser",staticStyle:{width:"calc(100% - 70px)","white-space":"wrap"}},[t._v(" "+t._s(e.comments)+" ")])]),a("div",{staticClass:"clearfix fontfpr font24 otherbtnbox lh30"},[a("div",{directives:[{name:"show",rawName:"v-show",value:1==e.approve,expression:"comitem.approve==1"}],staticClass:"pull-left zanbox",on:{click:function(o){return t.zantap(e.id,n)}}},[a("img",{directives:[{name:"show",rawName:"v-show",value:0==e.ispraise,expression:"comitem.ispraise==0"}],staticClass:"searchImg pull-left",attrs:{src:o("6c9a")}}),a("img",{directives:[{name:"show",rawName:"v-show",value:1==e.ispraise,expression:"comitem.ispraise==1"}],staticClass:"searchImg pull-left",attrs:{src:o("41d1")}}),a("div",{staticClass:"colorB6CADE pull-left "},[t._v(t._s(e.praise))])]),a("div",{directives:[{name:"show",rawName:"v-show",value:1==e.approve,expression:"comitem.approve==1"}],staticClass:"pull-left wordusebox"},[a("img",{staticClass:"searchImg pull-left",attrs:{src:o("55b2"),width:"16px",height:"16px"}}),a("div",{staticClass:"colorB6CADE pull-left"},[t._v(t._s(e.use))])]),a("div",{directives:[{name:"show",rawName:"v-show",value:0==e.approve,expression:"comitem.approve==0"}],staticClass:"pull-right colorff0057",staticStyle:{"margin-top":"5px"}},[t._v("审核中")])])]),a("img",{directives:[{name:"show",rawName:"v-show",value:1==e.hotflag,expression:"comitem.hotflag==1"}],staticClass:"absolute-top-right",attrs:{src:o("4ed9"),alt:"热",width:"40px",height:"42px"}})])})),a("nonedata",{attrs:{len:t.commentArr.length,datashow:t.datashow}})],2)])])])])],1)]):t._e()])},s=[],i=o("ade3"),r=(o("e17f"),o("2241")),l=(o("4662"),o("28a2")),c=(o("a9e3"),o("b0c0"),o("ac1f"),o("1276"),o("99af"),o("5319"),o("498a"),o("209e")),p=o("081b"),d=o("a92e"),u=o("8d6b"),m=o("b311"),h=o.n(m),g={name:"wordmsg",props:{wid:{type:Number,default:0},wordflag:{type:Boolean,default:!1},typestr:{type:Number,default:1}},data:function(){return{nowwordobj:{},uloading:!1,datashow:!1,answerlist:[],answerflag:!1,msgmescroll:null,comments:"",commentArr:[],allcommentNum:0,msgmescrollUp:{auto:!1,callback:this.commentlistfun,page:{num:0,size:10},htmlLoading:"",htmlNodata:"",noMoreSize:5}}},components:(a={MescrollVue:u["a"]},Object(i["a"])(a,l["a"].Component.name,l["a"].Component),Object(i["a"])(a,"nonedata",d["a"]),Object(i["a"])(a,r["a"].name,r["a"]),a),mounted:function(){this.setWeChatJsSDK(),this.talkskillfun()},methods:{setWeChatJsSDK:function(){var t=location.href.split("#")[0];p["k"]({url:t}).then((function(e){0==e.data.code&&(wx.config({beta:!0,debug:!1,appId:e.data.data.appId,timestamp:e.data.data.timestamp,nonceStr:e.data.data.nonceStr,signature:e.data.data.signature,jsApiList:["sendChatMessage","getContext"]}),wx.ready((function(){p["c"]({url:t}).then((function(t){0==t.data.code&&wx.agentConfig({corpid:t.data.data.corpid,agentid:t.data.data.agentid,timestamp:t.data.data.timestamp,nonceStr:t.data.data.nonceStr,signature:t.data.data.signature,jsApiList:["sendChatMessage","getContext"],success:function(t){},fail:function(t){console.log(t,"error"),t.errMsg.indexOf("function not exist")>-1&&alert("版本过低请升级")}})}))})),wx.error((function(t){})))}))},sendMsgWxChat:function(t,e,o,a){var n=this;e&&0==e.approve||wx.invoke("getContext",{},(function(s){if("getContext:ok"==s.err_msg){var i=s.entry;"single_chat_tools"!=i&&"group_chat_tools"!=i||wx.invoke("sendChatMessage",{msgtype:"text",text:{content:t}},(function(t){"sendChatMessage:ok"==t.err_msg&&n.usenum(o,e.id,a)}))}else alert("错误"+s)}))},closewordtap:function(){this.$emit("closewordtap")},dothis:function(){},closeasktap:function(t){this.answerflag=!1},asktap:function(t){this.answerflag=!this.answerflag,this.comments=""},lookimgtap:function(t,e){Object(l["a"])({images:t,startPosition:e})},msgmescrollInit:function(t){this.msgmescroll=t},talkskillfun:function(t){var e=this,o={id:this.wid};Object(c["l"])(o).then((function(t){0==t.data.code&&(e.nowwordobj=t.data.data,e.$nextTick((function(){e.msgmescroll.resetUpScroll()}))),setTimeout((function(){e.$parent.loadFlag=!1}),200)}))},commentlistfun:function(t,e){var o=this,a={taid:o.wid,page:t.num};Object(c["o"])(a).then((function(a){if(0==a.data.code){1===t.num&&(o.commentArr=[]);for(var n=!0,s=0;s<a.data.data.length;s++)1==a.data.data[s].approve&&n?(n=!1,a.data.data[s].hotflag=1):a.data.data[s].hotflag=0;o.commentArr=o.commentArr.concat(a.data.data),o.allcommentNum=a.data.count,o.$nextTick((function(){e.endSuccess(a.data.data.length)}))}setTimeout((function(){o.loadFlag=!1}),700),o.datashow=!0}))},copyText:function(t,e,o,a){var n=this,s=null;s=1==t?document.getElementById("copy"):document.getElementById("copy"+e);var i=new h.a(s);i.on("success",(function(o){n.usenum(t,e,a),n.$toast("复制成功!"),o.clearSelection(),i.destroy()})),i.on("error",(function(t){console.error(t)}))},usenum:function(t,e,o){var a=this,n={type:1==t?"use_admin":"use_comment",id:e};Object(c["m"])(n).then((function(n){0==n.data.code&&(2==a.typestr?2==t&&(a.commentArr[o].use=n.data.data,a.$emit("updatehot",{wid:e,num:n.data.data})):2==t?a.commentArr[o].use=n.data.data:a.$emit("updatehot",n.data.data))}))},trim:function(t){return t.replace(/(^\s*)|(\s*$)/g,"")},commentap:function(){var t=this;if(this.comments=this.trim(this.comments),!this.comments)return t.$toast("答案不能为空!"),!1;if(this.comments.length<3)return this.$toast("请合理的输入答案内容!"),!1;if(this.comments.length>=800)return this.$toast("答案内容太长,最多800字!"),!1;this.answerflag=!1,this.loadFlag=!0;var e={taid:this.wid,content:t.comments};Object(c["a"])(e).then((function(e){t.loadFlag=!1,0==e.data.code&&(t.$toast("评论成功!"),t.comments="",t.msgmescroll.resetUpScroll())}))},zantap:function(t,e){var o=this,a={id:t};o.uloading||(o.uloading=!0,0==o.commentArr[e].ispraise?Object(c["s"])(a).then((function(t){o.uloading=!1,0==t.data.code&&(o.commentArr[e].praise=1*o.commentArr[e].praise+1,o.commentArr[e].ispraise=1)})).catch((function(t){o.uloading=!1})):Object(c["t"])(a).then((function(t){o.uloading=!1,0==t.data.code&&(o.commentArr[e].praise=o.commentArr[e].praise-1,o.commentArr[e].ispraise=0)})).catch((function(t){o.uloading=!1})))}}},f=g,w=(o("7483"),o("2877")),A=Object(w["a"])(f,n,s,!1,null,"1edfe161",null);e["a"]=A.exports},f868:function(t,e,o){var a,n;(function(s,i){a=i,n="function"===typeof a?a.call(e,o,e,t):a,void 0===n||(t.exports=n)})(0,(function(){var t=function(t,e){var o=this;if(o.version="1.4.0",o.isScrollBody=!t||"body"===t,o.scrollDom=o.isScrollBody?document.body:o.getDomById(t),o.scrollDom){o.options=e||{};var a=navigator.userAgent,n=!!a.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),s="undefined"===typeof window.orientation,i=a.indexOf("Android")>-1||a.indexOf("Adr")>-1;o.os={ios:n,pc:s,android:i},o.isDownScrolling=!1,o.isUpScrolling=!1;var r=o.options.down&&o.options.down.callback;o.initDownScroll(),o.initUpScroll(),setTimeout((function(){o.optDown.use&&o.optDown.auto&&r&&(o.optDown.autoShowLoading?o.triggerDownScroll():o.optDown.callback&&o.optDown.callback(o)),o.optUp.use&&o.optUp.auto&&!o.isUpAutoLoad&&o.triggerUpScroll()}),30)}};return t.prototype.extendDownScroll=function(e){t.extend(e,{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,e){t.downTipDom=e.getElementsByClassName("downwarp-tip")[0],t.downProgressDom=e.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,e,o){if(t.downProgressDom){var a=360*e;t.downProgressDom.style.webkitTransform="rotate("+a+"deg)",t.downProgressDom.style.transform="rotate("+a+"deg)"}},beforeLoading:function(t,e){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(e){var o=this.os.pc;t.extend(e,{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,e){},showLoading:function(t,e){e.innerHTML=t.optUp.htmlLoading},showNoMore:function(t,e){e.innerHTML=t.optUp.htmlNodata},onScroll:null,scrollbar:{use:o,barClass:"mescroll-bar"},lazyLoad:{use:!1,attr:"imgurl",showClass:"mescroll-lazy-in",delay:500,offset:200}})},t.extend=function(e,o){if(!e)return o;for(var a in o)null==e[a]?e[a]=o[a]:"object"===typeof e[a]&&t.extend(e[a],o[a]);return e},t.prototype.initDownScroll=function(){var t=this;if(t.optDown=t.options.down||{},t.extendDownScroll(t.optDown),t.touchstartEvent=function(e){t.isScrollTo&&t.preventDefault(e),t.startPoint=t.getPoint(e),t.lastPoint=t.startPoint,t.maxTouchmoveY=t.getBodyHeight()-t.optDown.bottomOffset,t.inTouchend=!1;var o=t.getScrollTop();t.isKeepTop=0===o,t.os.pc&&o<=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(e){if(t.startPoint){var o=t.getScrollTop();o>0&&(t.isKeepTop=!1);var a=t.getPoint(e),n=a.y-t.startPoint.y;if(n>0){if(o<=0&&(t.preventDefault(e),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-a.x),i=Math.abs(t.lastPoint.y-a.y),r=Math.sqrt(s*s+i*i);if(0!==r){var l=Math.asin(i/r)/Math.PI*180;if(l<t.optDown.minAngle)return}if(t.maxTouchmoveY>0&&a.y>=t.maxTouchmoveY)return t.inTouchend=!0,void t.touchendEvent();var c=a.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 p=t.downHight/t.optDown.offset;t.optDown.onMoving(t,p,t.downHight)}}else if(n<0){var d=t.getScrollHeight(),u=t.getClientHeight(),m=d-u-o;!t.optUp.isBounce&&m<=0&&t.preventDefault(e),t.optUp.use&&!t.optUp.isLock&&t.optUp.hasNext&&!t.isUpScrolling&&(!t.isDownScrolling||t.isDownScrolling&&t.optDown.isBoth)&&(u+t.optUp.offset>=d||m<=0)&&t.triggerUpScroll()}t.lastPoint=a}},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 e=t.optDown.warpId?t.getDomById(t.optDown.warpId):t.scrollDom;t.optDown.warpId&&e?e.appendChild(t.downwarp):(e||(e=t.scrollDom),e.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,e=function(){t.downHight=0,t.downwarp.style.height=0,t.isDownScrolling=!1,t.downProgressDom&&t.downProgressDom.classList.remove("mescroll-rotate")},o=t.optDown.afterLoading(t);"number"===typeof o&&o>0?setTimeout(e,o):e()},t.prototype.lockDownScroll=function(t){null==t&&(t=!0),this.optDown.isLock=t},t.prototype.initUpScroll=function(){var t,e=this;(e.optUp=e.options.up||{use:!1},e.extendUpScroll(e.optUp),e.optUp.scrollbar.use&&e.scrollDom.classList.add(e.optUp.scrollbar.barClass),e.optUp.isBounce||e.setBounce(!1),!1!==e.optUp.use)&&(e.optUp.hasNext=!0,e.upwarp=document.createElement("div"),e.upwarp.className=e.optUp.warpClass,e.optUp.warpId&&(t=e.getDomById(e.optUp.warpId)),t||(t=e.scrollDom),t.appendChild(e.upwarp),e.preScrollY=0,e.lazyStartTime=(new Date).getTime(),e.lazyTag="mescroll-lazying",e.scrollEvent=function(){var t=e.getScrollTop(),o=t-e.preScrollY>0;if(e.preScrollY=t,!e.isUpScrolling&&(!e.isDownScrolling||e.isDownScrolling&&e.optDown.isBoth)&&!e.optUp.isLock&&e.optUp.hasNext){var a=e.getScrollHeight()-e.getClientHeight()-t;a<=e.optUp.offset&&o&&e.triggerUpScroll()}var n=e.optUp.toTop;if((n.src||n.html)&&(t>=n.offset?e.showTopBtn():e.hideTopBtn()),e.optUp.lazyLoad.use){var s=(new Date).getTime();e.lazyTimer&&clearTimeout(e.lazyTimer),s-e.lazyStartTime>=e.optUp.lazyLoad.delay?(e.lazyStartTime=s,e.lazyLoad(0)):e.lazyTimer=e.lazyLoad()}e.optUp.onScroll&&e.optUp.onScroll(e,t,o)},e.isScrollBody?window.addEventListener("scroll",e.scrollEvent):e.scrollDom.addEventListener("scroll",e.scrollEvent),setTimeout((function(){e.optUp.inited(e,e.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 e=this,o=t.target,a=!0;while(o!==document.body&&o!==document){var n=o.classList;if(n){if(n.contains("mescroll")||n.contains("mescroll-touch")){a=!1;break}if(n.contains("mescroll-touch-x")||n.contains("mescroll-touch-y")){var s=t.touches?t.touches[0].pageX:t.clientX,i=t.touches?t.touches[0].pageY:t.clientY;e.preWinX||(e.preWinX=s),e.preWinY||(e.preWinY=i);var r=Math.abs(e.preWinX-s),l=Math.abs(e.preWinY-i),c=Math.sqrt(r*r+l*l);if(e.preWinX=s,e.preWinY=i,0!==c){var p=Math.asin(l/c)/Math.PI*180;if(p<=45&&n.contains("mescroll-touch-x")||p>45&&n.contains("mescroll-touch-y")){a=!1;break}}}}o=o.parentNode}a&&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 e=this.upwarp.getElementsByClassName("upwarp-progress")[0];e&&e.classList.remove("mescroll-rotate")},t.prototype.endUpScroll=function(t,e){null!=t&&(t?this.showNoMore():this.hideUpScroll(e)),this.isUpScrolling=!1},t.prototype.resetUpScroll=function(t){if(this.optUp&&this.optUp.use){var e=this.optUp.page;this.prePageNum=e.num,this.prePageTime=e.time,e.num=1,e.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(e,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 e=this.getDomById(t);e&&(e.innerHTML="")}},t.prototype.endByPage=function(t,e,o){var a;this.optUp.use&&null!=e&&(a=this.optUp.page.num<e),this.endSuccess(t,a,o)},t.prototype.endBySize=function(t,e,o){var a;if(this.optUp.use&&null!=e){var n=(this.optUp.page.num-1)*this.optUp.page.size+t;a=n<e}this.endSuccess(t,a,o)},t.prototype.endSuccess=function(t,e,o){var a=this;if(a.isDownScrolling&&a.endDownScroll(),a.optUp.use){var n;if(null!=t){var s=a.optUp.page.num,i=a.optUp.page.size;if(1===s&&(a.clearDataList(),o&&(a.optUp.page.time=o)),t<i||!1===e)if(a.optUp.hasNext=!1,0===t&&1===s)n=!1,a.showEmpty();else{var r=(s-1)*i+t;n=!(r<a.optUp.noMoreSize),a.removeEmpty()}else n=!1,a.optUp.hasNext=!0,a.removeEmpty()}var l=!a.optUp.hasNext;a.endUpScroll(n,l),a.loadFull(),a.optUp.lazyLoad.use&&a.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,e=t.optUp.empty,o=e.warpId||t.optUp.clearEmptyId;if(null!=o){var a=t.getDomById(o);if(a){t.removeEmpty();var n="";if(e.icon&&(n+='<img class="empty-icon" src="'+e.icon+'"/>'),e.tip&&(n+='<p class="empty-tip">'+e.tip+"</p>"),e.btntext&&(n+='<p class="empty-btn">'+e.btntext+"</p>"),t.emptyDom=document.createElement("div"),t.emptyDom.className="mescroll-empty",t.emptyDom.innerHTML=n,a.appendChild(t.emptyDom),e.btnClick){var s=t.emptyDom.getElementsByClassName("empty-btn")[0];e.supportTap?s.addEventListener("tap",(function(o){o.stopPropagation(),t.preventDefault(o),e.btnClick()})):s.onclick=function(){e.btnClick()}}}}},t.prototype.removeEmpty=function(){this.removeChild(this.emptyDom)},t.prototype.showTopBtn=function(t){if(!this.topBtnShow){this.topBtnShow=!0;var e,o=this,a=o.optUp.toTop;if(null==o.toTopBtn)a.html?(o.toTopBtn=document.createElement("div"),o.toTopBtn.innerHTML=a.html):(o.toTopBtn=document.createElement("img"),o.toTopBtn.src=a.src),o.toTopBtn.className=a.warpClass,a.supportTap?o.toTopBtn.addEventListener("tap",(function(t){t.stopPropagation(),o.preventDefault(t);var e=a.btnClick&&a.btnClick();!0!==e&&o.scrollTo(0,o.optUp.toTop.duration)})):o.toTopBtn.onclick=function(){var t=a.btnClick&&a.btnClick();!0!==t&&o.scrollTo(0,o.optUp.toTop.duration)},a.warpId&&(e=o.getDomById(a.warpId)),e||(e=document.body),e.appendChild(o.toTopBtn);o.toTopBtn.classList.remove(a.hideClass),o.toTopBtn.classList.add(a.showClass),o.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 e=(null!=t?t:this.optUp.toTop.fadeDuration)+"s";this.toTopBtn.style.animationDuration=e,this.toTopBtn.style.webkitAnimationDuration=e}},t.prototype.scrollTo=function(t,e){var o=this,a=o.getScrollTop(),n=t;if(n>0){var s=o.getScrollHeight()-o.getClientHeight();n>s&&(n=s)}else n=0;o.isScrollTo=!0,o.scrollDom.style.webkitOverflowScrolling="auto",o.getStep(a,n,(function(t){o.setScrollTop(t),t===n&&(o.scrollDom.style.webkitOverflowScrolling="touch",o.isScrollTo=!1)}),e)},t.prototype.getStep=function(t,e,o,a,n){var s=e-t;if(0!==a&&0!==s){a=a||300,n=n||30;var i=a/n,r=s/i,l=0,c=window.setInterval((function(){l<i-1?(t+=r,o&&o(t,c),l++):(o&&o(e,c),window.clearInterval(c))}),n)}else o&&o(e)},t.prototype.lazyLoad=function(t){var e=this,o=null!=t?t:e.optUp.lazyLoad.delay,a=setTimeout((function(){for(var t=e.scrollDom.querySelectorAll("["+e.optUp.lazyLoad.attr+"]"),o=t.length,a=0;a<o;a++){var n=t[a];if("true"!==n.getAttribute(e.lazyTag)&&e.isInSee(n,e.optUp.lazyLoad.offset)){var s=n.getAttribute(e.optUp.lazyLoad.attr),i=new Image;i.onload=function(){var t=this.src,o=this.dom,a=e.optUp.lazyLoad.showClass;a&&o.classList.add(a),"IMG"===o.tagName?o.src=t:o.style.backgroundImage="url("+t+")",o.removeAttribute(e.optUp.lazyLoad.attr),o.removeAttribute(e.lazyTag)},i.onerror=function(){this.dom.removeAttribute(e.lazyTag)},i.onabort=function(){this.dom.removeAttribute(e.lazyTag)},i.src=s,n.setAttribute(e.lazyTag,"true"),i.dom=n}}}),o);return a},t.prototype.isInSee=function(t,e){e=e||0;var o=this.getOffsetTop(t),a=this.getScrollTop()-e,n=o+t.offsetHeight,s=a+e+this.getClientHeight()+e;return o<s&&o>=a||n<=s&&n>a},t.prototype.getOffsetTop=function(t){var e=t.offsetTop,o=t.offsetParent;while(null!=o&&o!==this.scrollDom)e+=o.offsetTop+o.clientTop,o=o.offsetParent;return e},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 e;return t&&("string"===typeof t?e=document.getElementById(t):t.nodeType&&(e=t)),e||console.error('the element with id as "'+t+'" can not be found: document.getElementById("'+t+'")==null'),e},t.prototype.removeChild=function(t){if(t){var e=t.parentNode;e&&e.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}))},fdbb:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACT0lEQVRIS82VQWsTURDH/7ObeNCDKHiStO7mqli1+wrFQyqC2Q05eLDgRSqCEQTBT2DEDyAIIhFE8SLUg4c1mxzE9iCVvg1a0ZtmVw2ehIoHPdh2R5I0JRs32WoI+GAPu7Pz/828efOGMOJFI9bHtgD2y/cZVVXPgvlEKyCi56qq2qeOjT+NCzAWUHH9a8xcBOCC6W0bwIcAGERUNA3t+iDIQEBZfpgjKPejhDpgTiSM3NGxWj/IQEBFejUmJC1DPxwl4LjeG2J6ZQrt/D8BHNdbZeZHOZG+HCVQlvXbBLIsoWv/J2DkW1Su+Zco4DuDiqyqan7QcY0p8meDeaMIYivqmAKwCYkbphhz/6oG1drH3EYQnCNgtsvxOwifWu+McQC7OzYG5lVFeZidPFDuBf2RQWXZO8OE+VY/gR5ACe6tJ3b4+YnUl25ne6WxP7H+S0OgXGDwXLv/MGtO6Y+7/wsBusRthfhW1kg/i7sKmvaqWz8ZMF0BkO+FhAHSX2LiXcpaciY7nVrtFXekV2p+s4Re6LVVlxp7g+TaAjH9MIU23bFvATrRE1AwhX43snOlt7AJmImyV6R3kYFSdxZbAEd6NoDjltD39NsWJwbQ9HOk9w3AC0vo+XYdN1dZeisEsCX0IwMAfbeo4+NI7zUDlBP6RAjgyHoDpNQsQzu9ncL2DcL1n4CDSUukU+EMlr2fpFDJMrSrQwJucsCF3JS+MwSoSP8dg78S0eIwAGbOEGifKbSDYUB7cmUANJ9h1mIzyM6kix2Zw5BCGQwr1M//N84qCiglqgg1AAAAAElFTkSuQmCC"}}]);