(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6c82c2d8","chunk-1e1449e1","chunk-7b61d779"],{"209e":function(t,e,o){"use strict";o.d(e,"l",(function(){return s})),o.d(e,"n",(function(){return n})),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 u})),o.d(e,"q",(function(){return d})),o.d(e,"j",(function(){return m})),o.d(e,"c",(function(){return h})),o.d(e,"e",(function(){return f})),o.d(e,"i",(function(){return g})),o.d(e,"b",(function(){return A})),o.d(e,"k",(function(){return w})),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 C})),o.d(e,"h",(function(){return x}));var a=o("b775");function s(t){return Object(a["a"])({url:"/api/talkskill/talkskill_xq",method:"post",data:t})}function n(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 u(t){return Object(a["a"])({url:"/api/talkskill/label_list",method:"post",data:t})}function d(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 f(t){return Object(a["a"])({url:"/api/talkskill/get_my_answer_list",method:"post",data:t})}function g(t){return Object(a["a"])({url:"/api/talkskill/submit_talkskill",method:"post",data:t})}function A(t){return Object(a["a"])({url:"/api/talkskill/edit_talkskill",method:"post",data:t})}function w(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 C(t){return Object(a["a"])({url:"/api/talkskill/chosen_and_success_list",method:"post",data:t})}function x(t){return Object(a["a"])({url:"/api/talkskill/keyword_list",method:"post",data:t})}},"226a":function(t,e,o){},"289b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAAoCAYAAAC1mQk2AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAANqADAAQAAAABAAAAKAAAAAAskwdHAAADMElEQVRoBe2YTWgTQRSA3xv7KwUv7UHoD0ihYqHbQi/aUw/FpqAg1gpF0TQgXgTpQaGCJxXBk3jy0LRYvFQvEklqqVTvSpOWVLxUKIKC9Sa03WzmdSZ2knSzmababBrdhTAzb2fee997s28nC+BdXgS8CHgR8CLgRaB8I4DFcj0Yjt4lhDEgqi6WjRy9CAkEDI74Oq8XDWw8Et1wFSqLsrb2cAPLGu9v181M2Tzn6xs1xQOzGXN7WI5gnwBxFhF+6IJVPmAIFjC8GBjoOhHwdZ6uO1LfIgrFRD64sgETEE8C/Z3TCmToVNN6XUulqH64omTZrRZsaibeOhmJnQ3OLR7LXlSKPgKbs9sdam83hey9XS7HWjCLJ84nib9Ci844LXZTxpHq89hrcJJrwZwWlEzG+Y35earItj85E20Xh4C+bJnq75iohG614nSQJIBDBdrrXlmPvZuYid0jXrGKzOzhRPeBwPFkUzIwRAxhBbtDVvKNcO5oYXDUwzlFAEwgrl9Rkq0ooeqaKwf9fR1LVcB6AeGb3s29301l7Pnb5ZZkMpnzEFpWslGqFClvfja71G1Xzyz+/dKA8dUu140V1HZFg8s+4/NUJNZrIp8vPHM6C7/vpcA2TXOMiK7lnU40mrCs0Zz7yB4J2a0ceR6BHUpNKwROvK9MxnBYBPmK8HXXKp0CI6RFJHytDKVbhFah5LhwKC6i+SUt3+4g8GW7TDP+ILefypR9ng5OQonf4NV+IzQdj4d+rSZe7gan/dsyEY7e5kAPGWM3/f3GY7szuvF4eEEUvMwlznYvRnxdQxmJc09syzYTMttSQfkHjJBaIeCqdHDVwJpKUjyUg06tzJwqKE5Qco3Musy+3NpOOqTswIFJpxQcIjuXnSl5T10ZuD84UiklpWglnN/XEdbZlnAE+NFpzoHMmJOje5WlqmK+RRxxTVSXuKhAP/PNOahyLVjAZ4wLx+Wv7C4t2H7SiGfhZDCykP6juF+6icBw0uUamPgU1yhebBecnPg72Y7XZVrVP1s8igeGuJkOn8sdVluzUTQwJHggPpO5Cyc/cSM+He5tW3M5lp45LwL/XQS2AAODEfjhLTOuAAAAAElFTkSuQmCC"},"367e":function(t,e,o){"use strict";o("fcfb")},"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"),s=o("58a8").trim,n=o("c8d2");a({target:"String",proto:!0,forced:n("trim")},{trim:function(){return s(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=="},"4e82":function(t,e,o){"use strict";var a=o("23e7"),s=o("e330"),n=o("59ed"),i=o("7b0b"),r=o("07fa"),l=o("577e"),c=o("d039"),p=o("addb"),u=o("a640"),d=o("04d1"),m=o("d998"),h=o("2d00"),f=o("512c"),g=[],A=s(g.sort),w=s(g.push),v=c((function(){g.sort(void 0)})),y=c((function(){g.sort(null)})),b=u("sort"),k=!c((function(){if(h)return h<70;if(!(d&&d>3)){if(m)return!0;if(f)return f<603;var t,e,o,a,s="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:o=3;break;case 68:case 71:o=4;break;default:o=2}for(a=0;a<47;a++)g.push({k:e+a,v:o})}for(g.sort((function(t,e){return e.v-t.v})),a=0;al(o)?1:-1}};a({target:"Array",proto:!0,forced:C},{sort:function(t){void 0!==t&&n(t);var e=i(this);if(k)return void 0===t?A(e):A(e,t);var o,a,s=[],l=r(e);for(a=0;a0?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+")":"")+" ")])]):t._e(),e.content||e.comment_count?t._e():a("div",{staticClass:"scoreBox clearfix lh30 fontfpm font24"},[a("div",{staticClass:"pull-left colorB6CADE"},[t._v("提问时间:"+t._s(e.addtime.split(" ")[0]))]),a("div",{staticClass:"pull-right wcopybox color71C4FF"},[t._v("去回答")])]),e.content?a("div",{staticClass:"scoreBox clearfix lh30 fontfpm font24"},[a("div",{staticClass:"pull-left colorB6CADE s_user_cate"},[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",{directives:[{name:"show",rawName:"v-show",value:s>")])],1),t.anonymousflag?a("div",{staticClass:"layerbox",on:{click:t.closeaddanonymoustap}},[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:{focus:function(e){return t.handleHideTab(!0)},blur:function(e){return t.handleHideTab(!1)},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"},["windows"==t.$store.state.platform||"mac"==t.$store.state.platform?t._l(t.trackimgarr,(function(e,s){return a("div",{key:s,staticClass:"pull-left everyupimg relative",on:{click:function(o){return o.stopPropagation(),t.lookTap(e)}}},[a("img",{staticClass:"imgmsg",attrs:{src:e}}),a("img",{staticClass:"delimg",attrs:{src:o("4a3b")},on:{click:function(e){return e.stopPropagation(),t.delimgtap(s)}}})])})):2==t.isIosOrAndroid?t._l(t.trackimgarr,(function(e,s){return a("div",{key:s,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(s)}}})])})):t._l(t.trackimgarr,(function(e,s){return a("div",{key:s,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(s)}}})])}))],2),a("button",{staticClass:"wordsurebox colorfff font32 fontfpr",attrs:{type:"button"},on:{click:t.anonymousquestiontap}},[t._v(" 确认提交 ")])])]):t._e(),t.wordflag?a("wordmsg",{attrs:{wid:t.nowid,wordflag:t.wordflag},on:{closewordtap:t.closewordtap,updatehot:t.updatehot}}):t._e()],1)},n=[],i=o("1da1"),r=o("5530"),l=(o("0cc8"),o("3104")),c=(o("e17f"),o("2241")),p=(o("4662"),o("28a2")),u=o("ade3"),d=(o("96cf"),o("b0c0"),o("ac1f"),o("466d"),o("d3b7"),o("159b"),o("99af"),o("e9c4"),o("3ca3"),o("ddb0"),o("2b3d"),o("9861"),o("a434"),o("498a"),o("a15b"),o("d81d"),o("1276"),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("5319"),o("a92e")),m=o("8d6b"),h=o("209e"),f=(o("2d8e"),o("081b"),o("b311"),o("2f62")),g=o("f7cf"),A=o("897a"),w=o("ff41"),v={name:"answersword",data:function(){var t;return t={checked:"",wordshow:!1,creditsnum:0,trackimgarr:[],nowimagearr:[],recordimgarr:[],nowuploadimg:[],compressarr:[],peoplelist:[],houseTypelist:[],classifylist:[],searchObj:{},filterObj:{order:"id desc"},peoplelabel:"",peopleText:"",houseTypelabel:"",cate2:"",sharequestion:"",shareanswer:"",sceneflag:!1,addwordflag:!1,peopleflag:"",nowlabel:"",nowlabeltext:"",wordnum:0,downimgflag:!1,loadFlag:!0,okeytext:"",quesionflag:!1,word:"",mescroll:null,mescrollDown:{},mescrollUp:{auto:!1,callback:this.wordfun,page:{num:0,size:10},onScroll:this.onScroll,htmlLoading:"",htmlNodata:"",noMoreSize:5},type:1,datashow:!1,wordType:"1",tagType:"",toolflag:!1,dataList:[],titleList:[],date:0,titflag:!0,wordflag:!1},Object(u["a"])(t,"quesionflag",!1),Object(u["a"])(t,"hotword",[]),Object(u["a"])(t,"labellist",[]),Object(u["a"])(t,"label",""),Object(u["a"])(t,"keytext",""),Object(u["a"])(t,"hotwordtext",""),Object(u["a"])(t,"nowid",""),Object(u["a"])(t,"nowidx",0),Object(u["a"])(t,"nowwordobj",{}),Object(u["a"])(t,"answerflag",!1),Object(u["a"])(t,"hotwordflag",!1),Object(u["a"])(t,"allcommentNum",0),Object(u["a"])(t,"commentArr",[]),Object(u["a"])(t,"comments",""),Object(u["a"])(t,"catetype",""),Object(u["a"])(t,"allcatearr",[]),Object(u["a"])(t,"selectlabeltext",""),Object(u["a"])(t,"scrollTop",0),Object(u["a"])(t,"anonymousflag",!1),t},components:(a={},Object(u["a"])(a,p["a"].Component.name,p["a"].Component),Object(u["a"])(a,c["a"].Component.name,c["a"].Component),Object(u["a"])(a,l["a"].name,l["a"]),Object(u["a"])(a,"MescrollVue",m["a"]),Object(u["a"])(a,"nonedata",d["a"]),Object(u["a"])(a,"wordmsg",g["a"]),Object(u["a"])(a,"wordFilter",A["a"]),Object(u["a"])(a,"wzhMultiple",w["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}},methods:Object(r["a"])(Object(r["a"])({},Object(f["b"])(["setHiddenTab"])),{},{handleHideTab:function(t){this.setHiddenTab(t)},onScroll:function(t,e,o){this.scrollTop=e},getSelectlist:function(){var t=this;Object(h["d"])({}).then((function(e){if(0==e.data.code){var o=e.data.data.cates;o.forEach((function(e){e.id==t.wid&&(t.classifylist=e.child)}));var a=0;for(var s in e.data.data.cates)a+=1*e.data.data.cates[s].count;var n={id:-1,name:"全部",count:a};t.allcatearr.push(n),t.label=e.data.data.cates,t.allcatearr=t.allcatearr.concat(e.data.data.cates),t.houseTypelist=e.data.data.house_type,t.peoplelist=e.data.data.user}}))},handleSearch:function(t){var e=JSON.parse(JSON.stringify(t));this.nowlabeltext="全部"!=e.cate2?e.cate2:"",this.filterObj={house_type:"全部"!=e.house_type?e.house_type:"",order:e.order,user_cate:"全部"!=e.user_cate?e.user_cate:""},this.mescroll.resetUpScroll()},getSearchlist:function(){var t=this;Object(h["g"])({id:this.wid}).then((function(e){0==e.data.code&&(t.searchObj=e.data.data,t.searchObj.cate2.unshift({name:"全部",id:"",count:e.data.count}),t.searchObj.house_type.unshift({name:"全部",id:""}),t.searchObj.user.unshift({name:"全部",id:""}))}))},addanonymoustap:function(){this.trackimgarr=[],this.recordimgarr=[],this.nowuploadimg=[],this.nowimagearr=[],this.compressarr=[],this.anonymousflag=!0},closeaddanonymoustap:function(){this.trackimgarr=[],this.recordimgarr=[],this.nowuploadimg=[],this.nowimagearr=[],this.compressarr=[],this.anonymousflag=!1},upanonymousimg:function(){if("windows"==this.$store.state.platform||"mac"==this.$store.state.platform)document.getElementById("upheadImg1").click();else{var t=this;wx.chooseImage({count:3,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(e){for(var o=e.localIds,a=function(e){wx.uploadImage({localId:o[e],isShowProgressTips:1,success:function(a){var s=a.serverId;2==t.isIosOrAndroid?t.thenPromise(o[e]).then((function(a){t.trackimgarr.push({localId:o[e],serverId:s,base64Data:a})})):t.trackimgarr.push({localId:o[e],serverId:s})}})},s=0;s3){this.$toast("图片最多传3张!");for(var l=0;l3&&(e.recordimgarr=e.recordimgarr.splice(0,3)),e.trackimgarr=n,this.$refs.referenceUpload1.value=""},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)for(var e=0;e3){this.$toast("图片最多传3张!");for(var l=0;l3&&(e.recordimgarr=e.recordimgarr.splice(0,3)),e.trackimgarr=n,this.$refs.referenceUpload.value=""},wordlabelfun:function(){var t=this,e={};Object(h["p"])(e).then((function(e){0==e.data.code&&(t.creditsnum=e.data.config.talkskill_credits)}))},addwordtap:function(){this.trackimgarr=[],this.recordimgarr=[],this.nowuploadimg=[],this.nowimagearr=[],this.compressarr=[],this.addwordflag=!0,this.initForm()},closeaddwordtap:function(){this.trackimgarr=[],this.nowimagearr=[],this.recordimgarr=[],this.nowuploadimg=[],this.compressarr=[],this.addwordflag=!1,this.sceneflag=!1},setlabeltap:function(t){this.classifylist=t.child,this.nowlabel=t.id,this.selectlabeltext=t.name,this.sceneflag=!1},getMultipleVal:function(t,e){"user_cate"==e?this.peopleText=t.map((function(t){return t.name})).join(","):"house_type"==e?this.houseTypelabel=t.map((function(t){return t.name})).join(","):"cate2"==e&&(this.cate2=t.map((function(t){return t.name})).join(","))},scenetap:function(){return(0==this.classifylist.length||!this.selectlabeltext)&&(this.$toast("请选择场景"),this.cate2=!1),!1},alertscenetap:function(t){1==t?this.sceneflag=!this.sceneflag:(this.peopleflag=!this.peopleflag,console.log(this.peopleflag))},addsharetap:function(){var t=this;if(this.sharequestion=this.trim(this.sharequestion),this.shareanswer=this.trim(this.shareanswer),this.nowlabel,!this.sharequestion)return this.$toast("分享话术的问题不能为空!"),!1;if(this.sharequestion.length<3)return this.$toast("请合理的输入分享话术的问题内容!"),!1;if(this.sharequestion.length>=200)return this.$toast("分享话术的问题内容太长,最多200字!"),!1;if(!this.shareanswer)return this.$toast("分享话术的答案不能为空!"),!1;if(this.shareanswer.length<3)return this.$toast("请合理的输入分享话术的答案内容!"),!1;if(this.shareanswer.length>=800)return this.$toast("分享话术的答案内容太长,最多800字!"),!1;if(this.loadFlag=!0,t.recordimgarr.length>0)for(var e=0;e1?(console.log("大于400万像素"),o=Math.sqrt(o),c/=o,p/=o):o=1,s.width=c,s.height=p,n.fillStyle="#fff",n.fillRect(0,0,s.width,s.height),(a=c*p/1e6)>1){console.log("超过100W像素"),a=~~(Math.sqrt(a)+1);var u=~~(c/a),d=~~(p/a);i.width=u,i.height=d;for(var m=0;m-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)})))()},mescrollInit:function(t){this.mescroll=t},wordMsgTap:function(t,e){this.wordflag=!0,this.nowid=t,this.commentArr=[],this.nowidx=e,this.comments="",this.nowwordobj={},this.answerflag=!1,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},trim:function(t){return t.replace(/(^\s*)|(\s*$)/g,"")}}),watch:{checked:function(t,e){this.mescroll.resetUpScroll()}},beforeRouteEnter:function(t,e,o){null==e.name||"fineword"==e.name||"sucessword"==e.name?t.meta.isBack=!0:t.meta.isBack=!1,o()},activated:function(){var t=this;t.wordshow=!1,this.$route.meta.isBack?(this.catetype=unescape(this.$route.params.type),this.wordlabelfun(),this.getSelectlist(),this.mescroll.resetUpScroll()):this.mescroll.scrollTo(this.scrollTop,2)},mounted:function(){}},y=v,b=(o("367e"),o("2877")),k=Object(b["a"])(y,s,n,!1,null,"0483866c",null);e["default"]=k.exports},"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=="},"897a":function(t,e,o){"use strict";var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wordSearch relative flex-row align-center"},[3!=t.type?a("div",{staticClass:"itemStyle relative flex-sub flex-row justify-center align-center",on:{click:function(e){return t.handleShow(1)}}},[a("span",{staticClass:"overflowText"},[t._v(t._s(t.searchForm.cate2&&"全部"!=t.searchForm.cate2?t.searchForm.cate2:"场景"))]),a("img",{attrs:{src:o("4eda"),alt:""}})]):t._e(),a("div",{staticClass:"itemStyle relative flex-sub flex-row justify-center align-center",on:{click:function(e){return t.handleShow(2)}}},[a("span",{staticClass:"overflowText"},[t._v(t._s(t.searchForm.house_type&&"全部"!=t.searchForm.house_type?t.searchForm.house_type:"房屋类型"))]),a("img",{attrs:{src:o("4eda"),alt:""}})]),a("div",{staticClass:"itemStyle relative flex-sub flex-row justify-center align-center",on:{click:function(e){return t.handleShow(3)}}},[a("span",{staticClass:"overflowText"},[t._v(t._s(t.searchForm.user_cate&&"全部"!=t.searchForm.user_cate?t.searchForm.user_cate:"适用部门"))]),a("img",{attrs:{src:o("4eda"),alt:""}})]),a("div",{staticClass:"itemStyle relative flex-sub flex-row justify-center align-center",on:{click:function(e){return t.handleShow(4)}}},[a("span",{staticClass:"overflowText"},[t._v(t._s(t.searchForm.orderName&&"默认排序"!=t.searchForm.orderName?t.searchForm.orderName:"排序"))]),a("img",{attrs:{src:o("4eda"),alt:""}})]),t.classify&&1==t.type?a("div",{staticClass:"classification"},t._l(t.searchObj.cate2,(function(e){return a("div",{key:e.id,on:{click:function(o){return t.handleSelect(1,e)}}},[t._v(" "+t._s(e.name)+" ("+t._s(1==t.sucess?e.count:e.successCount)+") ")])})),0):t._e(),t.classify&&2==t.type?a("div",{staticClass:"classification"},t._l(t.allcate,(function(e){return a("div",{key:e.id,on:{click:function(o){return t.handleSelect(1,e)}}},[t._v(" "+t._s(e.name)+" ("+t._s(1==t.sucess?e.count:e.successCount)+") ")])})),0):t._e(),a("div",{directives:[{name:"show",rawName:"v-show",value:t.houseType,expression:"houseType"}],staticClass:"houseType"},t._l(t.searchObj.house_type,(function(e){return a("span",{key:e.id,class:{active:e.name==t.searchForm.house_type},on:{click:function(o){return t.handleSelect(2,e)}}},[t._v(t._s(e.name))])})),0),a("div",{directives:[{name:"show",rawName:"v-show",value:t.people,expression:"people"}],staticClass:"people"},t._l(t.searchObj.user,(function(e){return a("span",{key:e.id,class:{active:e.name==t.searchForm.user_cate},on:{click:function(o){return t.handleSelect(3,e)}}},[t._v(t._s(e.name))])})),0),a("div",{directives:[{name:"show",rawName:"v-show",value:t.sort,expression:"sort"}],staticClass:"sortStyle"},t._l(t.sortlist,(function(e){return a("div",{key:e.id,on:{click:function(o){return t.handleSelect(4,e)}}},[t._v(" "+t._s(e.name)+" ")])})),0),a("div",{directives:[{name:"show",rawName:"v-show",value:t.classify||t.houseType||t.people||t.sort,expression:"classify || houseType || people || sort"}],staticClass:"mask",on:{click:function(e){return t.handleShow(0)}}})])},s=[],n=(o("a9e3"),o("4e82"),o("b0c0"),{props:{searchObj:{type:Object,default:function(){return{}},require:!0},allcate:{type:Array},type:{type:Number,default:1},nowtext:{type:Number,default:1},sucess:{type:Number,default:1},wordtype:{type:Number,default:1},sortlist:{type:Array,default:function(){return[{id:1,name:"默认排序",type:"id desc"},{id:2,name:"使用次数正序",type:"use_count asc"},{id:3,name:"使用次数倒序",type:"use_count desc"},{id:4,name:"更新时间正序",type:"order_date asc"},{id:5,name:"更新时间倒序",type:"order_date desc"}]}}},data:function(){return{classify:!1,houseType:!1,people:!1,sort:!1,searchForm:{user_cate:"全部",house_type:"全部",cate2:"全部",order:"",orderName:""},nowtitobj:{user_cate:"",house_type:"",cate2:"",order:""}}},methods:{handleShow:function(t){switch(t){case 1:this.classify=!this.classify;break;case 2:this.houseType=!this.houseType;break;case 3:this.people=!this.people;break;case 4:this.sort=!this.sort;break;default:this.classify=!1,this.houseType=!1,this.people=!1,this.sort=!1;break}},handleSelect:function(t,e){switch(t){case 1:this.searchForm.cate2=e.name,this.nowtitobj.cate2=e.id,this.classify=!1;break;case 2:this.searchForm.house_type=e.name,this.nowtitobj.house_type=e.id,this.houseType=!1;break;case 3:this.searchForm.user_cate=e.name,this.nowtitobj.user_cate=e.id,this.people=!1;break;case 4:this.searchForm.order=e.type,this.nowtitobj.order=e.type,this.searchForm.orderName=e.name,this.sort=!1;break}1==this.nowtext?this.$emit("update",this.searchForm):2==this.nowtext&&this.$emit("update",this.nowtitobj)}}}),i=n,r=(o("df1b"),o("2877")),l=Object(r["a"])(i,a,s,!1,null,"369ec0f6",null);e["a"]=l.exports},"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)])},s=[],n=o("f868"),i=o.n(n),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,s,!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+SklJE7nBDidNMHQ0911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AGEjNSi+LZ+B/wGZlFJPMzXeQgAAAABJRU5ErkJggg=="},"9f52":function(t,e,o){},aa12:function(t,e,o){"use strict";o("efc9")},c8d2:function(t,e,o){var a=o("5e77").PROPER,s=o("d039"),n=o("5899"),i="​…᠎";t.exports=function(t){return s((function(){return!!n[t]()||i[t]()!==i||a&&n[t].name!==t}))}},df1b:function(t,e,o){"use strict";o("226a")},efc9:function(t,e,o){},f2fd:function(t,e,o){},f465:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAYCAYAAADKx8xXAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAADqADAAQAAAABAAAAGAAAAABSUFvYAAACU0lEQVQ4EZWUz2sTURDHZ15iy0qL9JJqSU1abxU8hHUPVQ/FQppAPfRSDx6CCh4EBQXxD+ixUE+KB1FERA8iWMkPFSxoe3BTQaXFi0m27UGpUDTBUpJ940zK1m2MaZ3Dmx/v+3kz7y0sZOaLqbRdcDLvnDPwH6ZA0xgQHCTQ9zJ24dRuWYWophChCkABInz0wnaO7QZWI2b0NTNnEZEYNmqgp9PvnYGdYCWChBV5QETX6mKiLqy5ufSHlXAruA6KIGn1T3LXKYm5dRg3qrk3H50uyZvZFiibPPZVAHwoMQENVDb087nlZUPyRtsGyj1DKpoChJci5PEHf3ytPmYfaAnKpmli1djbMcaHzEtOBKPZfPG2xH7b1tHbGDocqqg2I8nwF6kxfC5rFya8ffHoTxrjdH7pEOjaLNe7ZQ9BXUxY0ZubsawtLJsvxbTWMyzp5C41Cho9ydiB1aaj+s/hcX1TYc3QPDhbS1BG1a6blm4iJgVXhsye7xL/E3z16Vs3kpvj40Mi5PtNJM2+WxKL+cbYLMj69vNqZ7lcmeHvF5Och72TONp/XmLP/uq4sEBt5Z/lp38gfDZi9l3wAM9vA1mMzq/SfR7vZF2AMLtvf/A0v4/rAZ4PeoH4rF26w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JW29rE7cwZA6RDkXy2IPk2JzORm0bz5gEFPmnbjpS2H3kP8HcdZTx3ohU7dpeDRdpH8AtE6d6MAMRnV9l8xYwAbmsoVXIM0m2UcQuxWUlehT6j9T2oppXgEWPm3r6NLj0CEBtFu4snC0gS0llAsoA4b76shWQtJGshrgLU/wH6BZljtf2rdQAAAABJRU5ErkJggg=="},f7cf:function(t,e,o){"use strict";var a,s=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,s){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,s)}}},[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,s)}}},[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()])},n=[],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"),u=o("a92e"),d=o("8d6b"),m=o("b311"),h=o.n(m),f={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:d["a"]},Object(i["a"])(a,l["a"].Component.name,l["a"].Component),Object(i["a"])(a,"nonedata",u["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 s=this;e&&0==e.approve||wx.invoke("getContext",{},(function(n){if("getContext:ok"==n.err_msg){var i=n.entry;"single_chat_tools"!=i&&"group_chat_tools"!=i||wx.invoke("sendChatMessage",{msgtype:"text",text:{content:t}},(function(t){"sendChatMessage:ok"==t.err_msg&&s.usenum(o,e.id,a)}))}else alert("错误"+n)}))},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 s=!0,n=0;n=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})))}}},g=f,A=(o("7483"),o("2877")),w=Object(A["a"])(g,s,n,!1,null,"1edfe161",null);e["a"]=w.exports},f868:function(t,e,o){var a,s;(function(n,i){a=i,s="function"===typeof a?a.call(e,o,e,t):a,void 0===s||(t.exports=s)})(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,s=!!a.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),n="undefined"===typeof window.orientation,i=a.indexOf("Android")>-1||a.indexOf("Adr")>-1;o.os={ios:s,pc:n,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:'

',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:'

加载中..

',htmlNodata:'

-- END --

',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),s=a.y-t.startPoint.y;if(s>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 n=Math.abs(t.lastPoint.x-a.x),i=Math.abs(t.lastPoint.y-a.y),r=Math.sqrt(n*n+i*i);if(0!==r){var l=Math.asin(i/r)/Math.PI*180;if(l0&&a.y>=t.maxTouchmoveY)return t.inTouchend=!0,void t.touchendEvent();var c=a.y-t.lastPoint.y;t.downHight||(t.downHight=0),t.downHight0?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(s<0){var u=t.getScrollHeight(),d=t.getClientHeight(),m=u-d-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)&&(d+t.optUp.offset>=u||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='
'+t.optDown.htmlContent+"
";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 s=e.optUp.toTop;if((s.src||s.html)&&(t>=s.offset?e.showTopBtn():e.hideTopBtn()),e.optUp.lazyLoad.use){var n=(new Date).getTime();e.lazyTimer&&clearTimeout(e.lazyTimer),n-e.lazyStartTime>=e.optUp.lazyLoad.delay?(e.lazyStartTime=n,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 s=o.classList;if(s){if(s.contains("mescroll")||s.contains("mescroll-touch")){a=!1;break}if(s.contains("mescroll-touch-x")||s.contains("mescroll-touch-y")){var n=t.touches?t.touches[0].pageX:t.clientX,i=t.touches?t.touches[0].pageY:t.clientY;e.preWinX||(e.preWinX=n),e.preWinY||(e.preWinY=i);var r=Math.abs(e.preWinX-n),l=Math.abs(e.preWinY-i),c=Math.sqrt(r*r+l*l);if(e.preWinX=n,e.preWinY=i,0!==c){var p=Math.asin(l/c)/Math.PI*180;if(p<=45&&s.contains("mescroll-touch-x")||p>45&&s.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.tip&&(s+='

'+e.tip+"

"),e.btntext&&(s+='

'+e.btntext+"

"),t.emptyDom=document.createElement("div"),t.emptyDom.className="mescroll-empty",t.emptyDom.innerHTML=s,a.appendChild(t.emptyDom),e.btnClick){var n=t.emptyDom.getElementsByClassName("empty-btn")[0];e.supportTap?n.addEventListener("tap",(function(o){o.stopPropagation(),t.preventDefault(o),e.btnClick()})):n.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(),s=t;if(s>0){var n=o.getScrollHeight()-o.getClientHeight();s>n&&(s=n)}else s=0;o.isScrollTo=!0,o.scrollDom.style.webkitOverflowScrolling="auto",o.getStep(a,s,(function(t){o.setScrollTop(t),t===s&&(o.scrollDom.style.webkitOverflowScrolling="touch",o.isScrollTo=!1)}),e)},t.prototype.getStep=function(t,e,o,a,s){var n=e-t;if(0!==a&&0!==n){a=a||300,s=s||30;var i=a/s,r=n/i,l=0,c=window.setInterval((function(){l=a||s<=n&&s>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}))},fcfb:function(t,e,o){},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"},ff41:function(t,e,o){"use strict";var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wzh-select relative"},[a("div",{staticClass:"wzh-multiple",on:{click:function(e){t.flagshow=!t.flagshow}}},[a("div",{staticClass:"boxContent"},[t._l(t.selectItems,(function(e,o){return a("span",{key:o,staticClass:"active"},[t._v(t._s(e.name))])})),a("div",{directives:[{name:"show",rawName:"v-show",value:!t.selectItems.length,expression:"!selectItems.length"}]},[t._v(t._s(t.placeholder))])],2),a("img",{style:{transform:t.flagshow?"rotateZ(90deg)":"unset"},attrs:{src:o("f465"),alt:""}})]),a("div",{directives:[{name:"show",rawName:"v-show",value:t.flagshow,expression:"flagshow"}],staticClass:"alertBox",on:{click:function(t){t.stopPropagation()}}},t._l(t.list,(function(e){return a("span",{key:e.id,class:{active:t.getStatus(e)},on:{click:function(o){return t.handleSelect(e)}}},[t._v(t._s(e.name))])})),0),a("div",{directives:[{name:"show",rawName:"v-show",value:t.flagshow,expression:"flagshow"}],staticClass:"mask",on:{click:function(e){t.flagshow=!1}}})])},s=[],n=(o("ac1f"),o("1276"),o("d3b7"),o("159b"),o("b0c0"),o("a434"),{props:{value:{},list:{type:Array,default:function(t){return[]}},placeholder:{type:String,default:"请选择"},type:{type:String,default:""}},watch:{value:{handler:function(t){var e=this;if(t){this.selectItems=[];var o=t.split(",");this.list.forEach((function(t){o.indexOf(t.name)>-1&&e.selectItems.push(t)}))}else this.selectItems=[]},immediate:!0}},data:function(){return{flagshow:!1,selectItems:[]}},methods:{handleSelect:function(t,e){this.selectItems.indexOf(t)>-1?this.selectItems.splice(this.selectItems.indexOf(t),1):this.selectItems.push(t),this.$emit("getVal",this.selectItems,this.type)},getStatus:function(t){return this.selectItems.indexOf(t)>-1}}}),i=n,r=(o("aa12"),o("2877")),l=Object(r["a"])(i,a,s,!1,null,"f4588ce4",null);e["a"]=l.exports}}]);