chunk-6c82c2d8.1a502bd8.js 89 KB

1
  1. (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;a<g.length;a++)e=g[a].k.charAt(0),s.charAt(s.length-1)!==e&&(s+=e);return"DGBEFHACIJK"!==s}})),C=v||!y||!b||!k,x=function(t){return function(e,o){return void 0===o?-1:void 0===e?1:void 0!==t?+t(e,o)||0:l(e)>l(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;a<l;a++)a in e&&w(s,e[a]);p(s,x(t)),o=s.length,a=0;while(a<o)e[a]=s[a++];while(a<l)delete e[a++];return e}})},"4ed9":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD0AAABCCAYAAADkFt79AAAABHNCSVQICAgIfAhkiAAACA9JREFUaEPtmltsFFUYx78zu223lNq0tkQQmlhqMKBAbXdLAglgQINyh8Sg8MCDiImJaEhUQE2UEmPi7cEAvmgETHeLbwZvARoTknYLRiUYum0RlBix7W5rEbl05/h9M3t2Z3Znd2Z2pxfbPckmOzNn55zf+X+Xc1kGk7CwScgMeejJonpe6bzSE3gE8uY9gcXVoeWVzis9gUeA9TX79kogFxOjJEl622eM6+7ELrAaV+qPwsBw4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+s+ZzN0ddIZtpHYmcG1HtIOQKT0ZmTj+bZIYcRuG0d9F8MNDeDAdun3zZldpVUUPW9467Cg0vSzc7D2MeWtHQkXjfxbGzTrm82YdSQlMDHqZDN0qFISAyV3Dw9Gekk3nfrDzLqO6tpQWL8BFyOcItUWorQyAxb9U6hQH/jf+ElchPCTLvAvnAKHo8J3uYnfxBbbuDM4LRqZkBU1d6W/2bndJ0jvIWin20PTqqx3GwbnFcEIqozkyJoeYxEIgy52eqSzEVrRfGxmszG/NGlq8NnK8fj3umnpR6Tq8V8ok+IVJ/Dz+S7fzzq3hrvItP14eC7BMbeYMPd6ArPQnD21llCZCnbzSE0FFKwyTUun/AIeJI3DVAmiEAAAAAElFTkSuQmCC"},"4eda":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAMCAYAAABvEu28AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAEqADAAQAAAABAAAADAAAAABFeZu2AAAA00lEQVQoFWO09Axb8P///3gGCgAjI+NCJhEWgSwGRoZrZJsD1AsygxFkgK1nqNZvBobTDP8ZuEgykJHhGysDg+nh7auvMYM0Prpz7bWcmvaz//8ZAkgxiImJIe3o9tW7QXrABoEYj29fuyCrqqMIZBqA+IQAKFyOb1/dAFPHBGOAaKLDCxouyHrBYYQsQDC8kMIFWR/cazBBQuGFHC4wPSAawyCQIK7wQg8XkFoYQAkjmCCIxggvLOGCrB4jjJAl4eEFFISlF2R5kthWXqEJIExIEwC7ikozadyXtQAAAABJRU5ErkJggg=="},"55b2":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABHNCSVQICAgIfAhkiAAABJBJREFUSEu1lX9M1HUYxz/P53s/uF/VaCWO8esQceJi0XFAShtRgRx3ln+wyjatNqE5tZCmW5OY5B9EtqW2UVuToa12LqWQA5t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Az4ANyMqRaIGs5KOlUn4/LeygDJhRANy5eAvXEvJP3cTIATwBNgO9BpMJsGkFwYB7aUb3MuRK0S5Ir0ixs6wG/uPg4wfpnCJgAAAABJRU5ErkJggg=="},"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")},"831c":function(t,e,o){"use strict";o.r(e);var a,s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"answersword relative"},[a("div",{staticClass:"titlebox"},[a("word-filter",{attrs:{searchObj:t.searchObj,type:2,allcate:t.allcatearr},on:{update:t.handleSearch}})],1),a("mescroll-vue",{ref:"wordListBox",staticClass:"wordBoxmescroll",attrs:{down:t.mescrollDown,up:t.mescrollUp},on:{init:t.mescrollInit}},[a("div",{staticClass:"newwordtitbox clearfix"},[a("div",{staticClass:"pull-left uncheckbox"},[a("van-checkbox",{attrs:{shape:"square","checked-color":"#9db6cf"},model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}},[t._v("仅显示0回答")])],1),a("div",{staticClass:"pull-right addanonymousbox font24",on:{click:t.addanonymoustap}},[t._v(" 匿名提问 ")])]),t._l(t.dataList,(function(e,s){return a("div",{key:e.id,staticClass:"everyAnswerBox",on:{click:function(o){return t.wordMsgTap(e.id,s)}}},[a("div",{staticClass:"answertapBox relative"},[a("div",{staticClass:"problem clearfix"},[a("div",{staticClass:"problemLeft pull-left"},[t._v("问")]),a("div",{staticClass:"problemText pull-left "},[t._v(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)]),e.content||e.comment_count>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+")":"")+" ")])]):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<t.dataList.length-1,expression:"index< dataList.length-1"}],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:"inputquestionbox problem",on:{click:function(e){return e.stopPropagation(),t.dothis.apply(null,arguments)}}},[a("div",{staticClass:"pull-left problemLeft"},[t._v("问")]),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.okeytext,expression:"okeytext"}],staticClass:"myquesionbox fontfpm color333 font28",staticStyle:{resize:"none"},attrs:{placeholder:"请输入您的问题"},domProps:{value:t.okeytext},on:{input:function(e){e.target.composing||(t.okeytext=e.target.value)}}}),a("div",{staticClass:"center mgtr20"},[a("div",{staticClass:"inline-block clearfix font28 fontfpr colorfff"},[a("div",{staticClass:"quesionbtn pull-left mgrr60",on:{click:t.submitap}},[t._v("提交")]),a("div",{staticClass:"quesionbtn pull-left",on:{click:t.closeask}},[t._v("取消")])])])])]):t._e(),a("div",{staticClass:"shareBtn",on:{click:t.addwordtap}},[a("img",{attrs:{src:o("5dad"),width:"16px",height:"16px",alt:""}}),a("span",[t._v("共享话术")])]),t.addwordflag?a("div",{staticClass:"layerbox",on:{click:t.closeaddwordtap}},[a("div",{staticClass:"sharewordbox",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:"addshareword relative"},[a("div",{staticClass:"creditstextbox fontfpm font24"},[t._v(" 上传的话术通过后,增加"+t._s(t.creditsnum)+"贡献值 ")]),a("div",{staticClass:"addsharewordContent"},[a("div",{staticClass:"scenetit1 lh44 color384855 fontfpr font32"},[t._v("话术场景")]),a("div",{staticClass:"wordscenebox relative",on:{click:function(e){t.sceneflag=!0}}},[a("div",{staticClass:"font28 fontfpr color9DB6CF"},[t._v(" "+t._s(t.selectlabeltext?t.selectlabeltext:"请选择")+" ")])]),t.sceneflag?a("div",{staticClass:"scenelayerbox",on:{click:function(e){t.sceneflag=!1}}}):t._e(),t.sceneflag?a("div",{staticClass:"alertwordscenebox font28 fontfpr color384855"},t._l(t.label,(function(e){return a("div",{key:e.id,on:{click:function(o){return t.setlabeltap(e)}}},[t._v(" "+t._s(e.name)+" ")])})),0):t._e(),a("div",{staticClass:"scenetit1 lh44 color384855 fontfpr font32"},[t._v("分类")]),a("div",{staticStyle:{"margin-top":"10px"},on:{click:t.scenetap}},[a("wzh-multiple",{attrs:{list:t.classifylist,type:"cate2"},on:{getVal:t.getMultipleVal},model:{value:t.cate2,callback:function(e){t.cate2=e},expression:"cate2"}})],1),a("div",{staticClass:"scenetit1 lh44 color384855 fontfpr font32"},[t._v("适用部门")]),a("div",{staticStyle:{"margin-top":"10px"}},[a("wzh-multiple",{attrs:{list:t.peoplelist,type:"user_cate"},on:{getVal:t.getMultipleVal},model:{value:t.peopleText,callback:function(e){t.peopleText=e},expression:"peopleText"}})],1),a("div",{staticClass:"scenetit1 lh44 color384855 fontfpr font32"},[t._v("房屋类型")]),a("div",{staticStyle:{"margin-top":"10px"}},[a("wzh-multiple",{attrs:{list:t.houseTypelist,type:"house_type"},on:{getVal:t.getMultipleVal},model:{value:t.houseTypelabel,callback:function(e){t.houseTypelabel=e},expression:"houseTypelabel"}})],1),a("div",{staticClass:"scenetit2 lh44 color384855 fontfpr font32"},[t._v("输入问题")]),a("div",{staticClass:"questionbox relative"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.sharequestion,expression:"sharequestion"}],staticClass:"font28 fontfpr color9DB6CF lh40",staticStyle:{resize:"none"},attrs:{placeholder:"请输入问题"},domProps:{value:t.sharequestion},on:{focus:function(e){return t.handleHideTab(!0)},blur:function(e){return t.handleHideTab(!1)},input:function(e){e.target.composing||(t.sharequestion=e.target.value)}}}),a("div",{staticClass:"addimg",on:{click:function(e){return e.stopPropagation(),t.uploadimg.apply(null,arguments)}}},[a("img",{directives:[{name:"show",rawName:"v-show",value:t.trackimgarr.length<3,expression:"trackimgarr.length < 3"}],attrs:{src:o("289b"),alt:""}}),a("input",{ref:"referenceUpload",attrs:{id:"upheadImg",type:"file",accept:"image/*",multiple:"",hidden:""},on:{change:function(e){return t.upchangeTap(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("div",{staticClass:"scenetit2 lh44 color384855 fontfpr font32"},[t._v("输入回答")]),a("div",{staticClass:"addanswerbox"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.shareanswer,expression:"shareanswer"}],staticClass:"font28 fontfpr color9DB6CF lh40",staticStyle:{resize:"none"},attrs:{placeholder:"请输入回答"},domProps:{value:t.shareanswer},on:{focus:function(e){return t.handleHideTab(!0)},blur:function(e){return t.handleHideTab(!1)},input:function(e){e.target.composing||(t.shareanswer=e.target.value)}}})]),a("button",{staticClass:"wordsurebox colorfff font32 fontfpr",attrs:{type:"button"},on:{click:t.addsharetap}},[t._v(" 确认 ")])])])])]):t._e(),a("wzhload",{directives:[{name:"show",rawName:"v-show",value:t.loadFlag,expression:"loadFlag"}]}),a("van-dialog",{attrs:{title:"提示",confirmButtonColor:"#249efb"},model:{value:t.wordshow,callback:function(e){t.wordshow=e},expression:"wordshow"}},[a("div",{staticClass:"creditsbox"},[t._v("上传成功,审核通过后可获取"+t._s(t.creditsnum)+"贡献值")]),a("router-link",{staticClass:"everytit font32 fontfpr color384855",attrs:{to:"/myshareword?token="+t.$store.state.token}},[t._v("可进入到我的话术查看详情>>")])],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;s<o.length;s++)a(s)}})}},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 s=document.getElementById("upheadImg1").files,n=e.trackimgarr,i=s.length,r=e.trackimgarr.length;if(i+r>3){this.$toast("图片最多传3张!");for(var l=0;l<s.length;l++)n.length<3&&n.push(URL.createObjectURL(s[l]))}else for(var c=0;c<s.length;c++)n.push(URL.createObjectURL(s[c]));e.recordimgarr.length>3&&(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;e<t.recordimgarr.length;e++)t.imgPreview(t.recordimgarr[e]);else t.submitap()},getPeoplelist:function(){var t=this;Object(h["f"])({}).then((function(e){0==e.data.code&&(t.peoplelist=e.data.data)}))},getTalkskillSystem:function(){Object(h["k"])({type:"talkskill",from_wework:"1"}).then((function(t){0==t.data.code&&console.log("获取成功")}))},thenPromise:function(t){return new Promise((function(e,o){wx.getLocalImgData({localId:t,success:function(t){e(t.localData)}})}))},uploadimg:function(){if("windows"==this.$store.state.platform||"mac"==this.$store.state.platform)document.getElementById("upheadImg").click();else{var t=this;wx.chooseImage({count:3,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(e){var o=e.localIds;if(2==t.isIosOrAndroid)t.getUploadImage(0,o);else for(var 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;s<o.length;s++)a(s)}})}},getUploadImage:function(t,e){var o=this;wx.uploadImage({localId:e[t],isShowProgressTips:1,success:function(a){var s=a.serverId;o.trackimgarr.push({localId:e[t],serverId:s}),t==e.length-1&&o.getLocalImageData(0)},complete:function(){var a=JSON.parse(JSON.stringify(t));a=parseInt(a),a++,a<e.length&&o.getUploadImage(a,e)}})},getLocalImageData:function(t){var e=this;e.trackimgarr[t].base64Data?(t++,t<e.trackimgarr.length&&e.getLocalImageData(t)):wx.getLocalImgData({localId:e.trackimgarr[t].localId,success:function(o){e.trackimgarr[t]["base64Data"]=o.localData,console.log(e.trackimgarr,"<<<<图片数据"),e.$forceUpdate()},complete:function(){var o=JSON.parse(JSON.stringify(t));o=parseInt(o),o++,o<e.trackimgarr.length&&e.getLocalImageData(o)}})},upchangeTap: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 s=document.getElementById("upheadImg").files,n=e.trackimgarr,i=s.length,r=e.trackimgarr.length;if(i+r>3){this.$toast("图片最多传3张!");for(var l=0;l<s.length;l++)n.length<3&&n.push(URL.createObjectURL(s[l]))}else for(var c=0;c<s.length;c++)n.push(URL.createObjectURL(s[c]));e.recordimgarr.length>3&&(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;e<t.recordimgarr.length;e++)t.imgPreview1(t.recordimgarr[e]);else t.submitap1()},imgPreview1: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,s=a.getFullYear()+""+(1*a.getMonth()+1)+a.getDate()+".jpeg",n=e.dataURLtoFile(t,s);e.compressarr.push(n),e.compressarr.length==e.trackimgarr.length&&e.uploadImgTap1()}}},uploadImgTap1:function(t){var e=this,o=e.compressarr;e.nowuploadimg=[];for(var a=o,s=0;s<a.length;s++){var n=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",n.multipartUpload(e.fileName,a[s]).then((function(t){console.log("4"),e.nowuploadimg.push(t.name),e.nowuploadimg.length==a.length&&e.submitap1("2")})).catch((function(t){console.log(t)}))}},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,s=a.getFullYear()+""+(1*a.getMonth()+1)+a.getDate()+".jpeg",n=e.dataURLtoFile(t,s);e.compressarr.push(n),e.compressarr.length==e.trackimgarr.length&&e.uploadImgTap()}}},uploadImgTap:function(t){var e=this,o=e.compressarr;e.nowuploadimg=[];for(var a=o,s=0;s<a.length;s++){var n=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",n.multipartUpload(e.fileName,a[s]).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)}))}},compress:function(t,e){var o,a,s=document.createElement("canvas"),n=s.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,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<a;m++)for(var h=0;h<a;h++)r.drawImage(t,m*u*o,h*d*o,u*o,d*o,0,0,u,d),n.drawImage(i,m*u,h*d,u,d)}else n.drawImage(t,0,0,c,p);var f=s.toDataURL("image/jpeg",.6);return console.log("压缩前:"+l),console.log("压缩后:"+f.length),console.log("压缩率:"+~~(100*(l-f.length)/l)+"%"),i.width=i.height=s.width=s.height=0,f},dataURLtoFile:function(t,e){var o=t.split(","),a=o[0].match(/:(.*?);/)[1],s=atob(o[1]),n=s.length,i=new Uint8Array(n);while(n--)i[n]=s.charCodeAt(n);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)}},submitap1:function(t){var e=this,o={imgs:e.nowuploadimg.join(","),title:e.sharequestion,content:e.shareanswer,label:"",cate1:e.selectlabeltext,cate2:e.cate2,house_type:e.houseTypelabel,user_cate:e.peopleText,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(h["i"])(o).then((function(t){e.loadFlag=!1,"0"==t.data.code&&(e.trackimgarr.length&&e.getTalkskillSystem(),e.selectlabeltext="",e.addwordflag=!1,e.initForm(),e.wordshow=!0,e.mescroll.scrollTo(0,5),e.mescroll.resetUpScroll(),e.addwordflag=!1),e.trackimgarr=[],e.nowimagearr=[],e.recordimgarr=[],e.nowuploadimg=[],e.compressarr=[]}))},initForm:function(){this.sharequestion="",this.shareanswer="",this.peopleText="",this.peoplelabel="",this.cate2="",this.houseTypelabel=""},delimgtap:function(t){var e=this;e.trackimgarr.splice(t,1),e.recordimgarr.splice(t,1)},lookimgtap:function(t){Object(p["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],s=document.createElement("img");s.src=t+"?v="+Math.random(),s.crossOrigin="anonymous",s.onload=function(){var t=e.getBase64Image(s),o=window.document.createElement("a"),n=e.base64ToBlob(t),i=document.createEvent("HTMLEvents");i.initEvent("click",!0,!0),o.download=(new Date).getTime()+"."+a,o.href=URL.createObjectURL(n),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]),s=a.length,n=new Uint8Array(s),i=0;i<s;++i)n[i]=a.charCodeAt(i);return new Blob([n],{type:o})},unsuretap:function(){this.quesionflag=!0},closeask:function(){this.trackimgarr=[],this.nowimagearr=[],this.recordimgarr=[],this.nowuploadimg=[],this.compressarr=[],this.quesionflag=!1},submitap:function(t){var e=this,o={imgs:e.nowuploadimg.join(","),questions:e.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(h["j"])(o).then((function(t){"0"==t.data.code&&("windows"==e.$store.state.platform||"mac"==e.$store.state.platform||e.trackimgarr.length&&e.getTalkskillSystem(),e.anonymousflag=!1,e.okeytext="",e.mescroll.scrollTo(0,5),e.mescroll.resetUpScroll(),e.$toast(t.data.msg)),e.trackimgarr=[],e.nowimagearr=[],e.recordimgarr=[],e.nowuploadimg=[],e.compressarr=[],e.loadFlag=!1}))},wordfun:function(t,e){var o=this,a=Object(r["a"])({cate1:o.nowlabeltext,label:"",keyword:"",hot_keyword:"",messy:o.checked?1:0,page:t.num,limit:10},this.filterObj);Object(h["q"])(a).then((function(a){0==a.data.code&&(o.wordnum=a.data.count,1===t.num&&(o.dataList=[]),o.datashow=!0,o.dataList=o.dataList.concat(a.data.data),o.getSearchlist(),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)})))()},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,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u4XY6VqU+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+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){},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/rAZ4PeoH4rF26wU8wLjECLna0q9HB3t51yRttC8zki9dJ0yUR8MVXqH1P/MSR8Foj4OX1x5H/Drl0t15EXIOAOp6MRRY9UTOPWdsZJnIzfC/ujusBwOG4FZ1rJvbXgprcy1wQiB9AjcetyI6QHKAwgE/4Ukv8gVNJKzLtP7VV/Bsq0tEwbDMuLgAAAABJRU5ErkJggg=="},f56f:function(t,e){t.exports="data:image/png;base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ict";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<a.data.data.length;n++)1==a.data.data[n].approve&&s?(s=!1,a.data.data[n].hotflag=1):a.data.data[n].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 s=this,n=null;n=1==t?document.getElementById("copy"):document.getElementById("copy"+e);var i=new h.a(n);i.on("success",(function(o){s.usenum(t,e,a),s.$toast("复制成功!"),o.clearSelection(),i.destroy()})),i.on("error",(function(t){console.error(t)}))},usenum:function(t,e,o){var a=this,s={type:1==t?"use_admin":"use_comment",id:e};Object(c["m"])(s).then((function(s){0==s.data.code&&(2==a.typestr?2==t&&(a.commentArr[o].use=s.data.data,a.$emit("updatehot",{wid:e,num:s.data.data})):2==t?a.commentArr[o].use=s.data.data:a.$emit("updatehot",s.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})))}}},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:'<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),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(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(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='<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 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),this.endSuccess(t,a,o)},t.prototype.endBySize=function(t,e,o){var a;if(this.optUp.use&&null!=e){var s=(this.optUp.page.num-1)*this.optUp.page.size+t;a=s<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 s;if(null!=t){var n=a.optUp.page.num,i=a.optUp.page.size;if(1===n&&(a.clearDataList(),o&&(a.optUp.page.time=o)),t<i||!1===e)if(a.optUp.hasNext=!1,0===t&&1===n)s=!1,a.showEmpty();else{var r=(n-1)*i+t;s=!(r<a.optUp.noMoreSize),a.removeEmpty()}else s=!1,a.optUp.hasNext=!0,a.removeEmpty()}var l=!a.optUp.hasNext;a.endUpScroll(s,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 s="";if(e.icon&&(s+='<img class="empty-icon" src="'+e.icon+'"/>'),e.tip&&(s+='<p class="empty-tip">'+e.tip+"</p>"),e.btntext&&(s+='<p class="empty-btn">'+e.btntext+"</p>"),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<i-1?(t+=r,o&&o(t,c),l++):(o&&o(e,c),window.clearInterval(c))}),s)}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 s=t[a];if("true"!==s.getAttribute(e.lazyTag)&&e.isInSee(s,e.optUp.lazyLoad.offset)){var n=s.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=n,s.setAttribute(e.lazyTag,"true"),i.dom=s}}}),o);return a},t.prototype.isInSee=function(t,e){e=e||0;var o=this.getOffsetTop(t),a=this.getScrollTop()-e,s=o+t.offsetHeight,n=a+e+this.getClientHeight()+e;return o<n&&o>=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}}]);