1"use strict";(self["webpackChunkdemo5_vue2"]=self["webpackChunkdemo5_vue2"]||[]).push([[680],{1797:function(e,t,s){s.d(t,{DF:function(){return a},IP:function(){return r},Nl:function(){return l},ef:function(){return n}});var i=s(8314);const a=(e={})=>(0,i.Em)("get","/api/help/helpcenter",e),r=(e={})=>(0,i.Em)("post","/CTFMALL_Common_API.ashx?action=feedBackSumbit",e),l=(e={})=>(0,i.kN)("get","/ctfmall-common2-server/helpCenter/infoClassifiesContent",e),n=(e={})=>(0,i.kN)("get","/ctfmall-common2-server/helpCenter/contentInfo",e)},7680:function(e,t,s){s.r(t),s.d(t,{default:function(){return u}});var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"help_center_view"},[t("div",{staticClass:"help_header"},[e._v("帮å©ä¸å¿")]),t("div",{staticClass:"view_center"},[t("div",{staticClass:"view_center_left"},[t("el-input",{attrs:{placeholder:"请è¾å
¥éæ¥è¯¢çå
³é®å"},model:{value:e.filterText,callback:function(t){e.filterText=t},expression:"filterText"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},slot:"append"})],1),t("el-tree",{ref:"tree",staticClass:"filter-tree",attrs:{data:e.dataList,props:e.defaultProps,"filter-node-method":e.filterNode},on:{"current-change":e.nodeChange}})],1),t("div",{staticClass:"view_center_right"},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.filterText,expression:"filterText"}],staticClass:"search"},[e.searchValue?t("div",{staticClass:"searh_res"},[t("span",{staticClass:"res_title"},[e._v(" æç´¢ç»æ")]),t("span",{staticClass:"title_vox"},[e._v("â"+e._s(e.searchValue)+"â")])]):e._e(),!e.searchValue&&e.filterText?t("div",{staticClass:"searh_nodeta"},[t("span",[e._v(" 对ä¸èµ·ï¼æ²¡ææç´¢ç»æå¹é
â"+e._s(e.filterText)+"âï¼è¯·éæ°è¾å
¥")])]):e._e()]),t("div",{staticClass:"chouse_title"},[e._v(" "+e._s(e.chouseTitle?e.chouseTitle:"")+" ")]),e.html?t("div",{staticClass:"right_content",domProps:{innerHTML:e._s(e.html)}}):e._e()])])])},a=[],r=s(1797),l=s(5353),n={name:"HelpCenterView",data(){return{filterText:"",dataList:[],defaultProps:{children:"body",label:"title"},html:null,chouseTitle:"",searchValue:""}},created(){this.getHelpCenterList()},computed:{...(0,l.L8)(["userInfo"])},watch:{filterText:{handler(e){e||(this.searchValue=""),this.$nextTick(()=>{this.$refs.tree.filter(e)})},immediate:!0}},methods:{getHelpCenterList(){const e={uid:this.userInfo.uid};(0,r.DF)(e).then(e=>{"1"==e.retcode&&(this.dataList=e.data,this.$route.query.pageFilename&&e.data.map(e=>{e.body.map(e=>{e.pageFilename==this.$route.query.pageFilename&&(this.filterText=e.title,this.nodeChange(e))})}))})},filterNode(e,t){return!e||(-1!==t.title.indexOf(e)&&(this.searchValue=e),-1!==t.title.indexOf(e))},nodeChange(e){if(!e.body){this.chouseTitle=e.title,this.html=e.content;let t=this.$router.history.current.path;this.$router.push({path:t,query:{pageFilename:e.pageFilename}})}}}},o=n,c=s(1656),h=(0,c.A)(o,i,a,!1,null,"239b3874",null),u=h.exports}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.