import{P as E}from"./index-97-mhYEo.js";import{b7 as O,as as Q,t as U,cP as W,bM as X,aS as p,aT as a,bf as l,a$ as o,b9 as y,N as r,aY as m,ba as e,r as Y,bg as q,bh as h,b0 as i,bc as x,bo as j,bi as G,bN as H,aX as J}from"./index-xnhGKCfe.js";/* empty css              *//* empty css              */import{_ as K}from"./SubButton.vue_vue_type_style_index_0_lang-ClM4jLgx.js";import{u as Z}from"./index-CExwpARe.js";import{T as ee,a as te}from"./index-rcLUGFI8.js";import"./pre-D84pmYLY.js";import"./currency-DTUBf2lI.js";import"./useProtocol-DJp7lFWi.js";import"./index-BPVaJMve.js";import"./use-route-ooe9RtXE.js";import"./use-placeholder-CaxDMxdA.js";import"./use-height-D2WRcW7G.js";import"./index-C0hGNjES.js";import"./use-id-AqrWcv5P.js";import"./use-tab-status-C1dTAhJi.js";import"./index-BzwaLeoR.js";import"./use-refs-BMqUlC7z.js";const oe={class:"faqModules"},se={class:"faqModules__main"},ae={class:"faqModules__list"},ie=["onClick"],ne={class:"faqModules__num"},le={class:"faqModules__title"},re={key:0,class:"my_r-foot"},me={class:"my_r-foot-page"},ce={class:"popMain"},_e={class:"mainTitle"},de=O({__name:"index",setup(ue){const N=Q(),T=U(),{getFaqData:w,faqDataList:D,faqContList:M,onClickTab:S,showQuester:P,faqDialog:c,faqAnswer:f,totalPage:_,pageNo:n,pPage:v,nPage:b,pageSize:$}=Z(),C=Y(0),{type:B,formId:pe}=N.params;W(()=>{w()});const V=()=>{T.push({name:"selfService",query:{typeId:2}})};return(g,s)=>{const z=te,I=ee,k=j,L=G,F=E,R=X("safe-html");return a(),p(F,null,{default:l(()=>[o("div",oe,[o("main",se,[r(I,{active:C.value,"onUpdate:active":s[0]||(s[0]=t=>C.value=t),onClickTab:e(S)},{default:l(()=>[(a(!0),m(q,null,h(e(D),(t,d)=>(a(),p(z,{title:t.moduleName,key:t.moduleName},{default:l(()=>[o("ul",ae,[(a(!0),m(q,null,h(e(M),(u,A)=>(a(),m("li",{key:u.id,onClick:fe=>e(P)(u.id)},[o("span",ne,i((e(n)-1)*e($)+1+A),1),o("span",le,i(u.title),1)],8,ie))),128))])]),_:2},1032,["title"]))),128))]),_:1},8,["active","onClickTab"]),e(_)>1?(a(),m("div",re,[o("div",{class:x(["my_r-foot-previous",{disabled:e(n)<=1}]),onClick:s[1]||(s[1]=(...t)=>e(v)&&e(v)(...t))},[r(k,{name:"arrow-left",class:"my_r-icon",size:"20"})],2),o("div",me,i(e(n))+"/"+i(e(_)),1),o("div",{class:x(["my_r-foot-next",{disabled:e(n)>=e(_)}]),onClick:s[2]||(s[2]=(...t)=>e(b)&&e(b)(...t))},[r(k,{name:"arrow",class:"my_r-icon",size:"20"})],2)])):y("",!0),r(L,{modelValue:e(c),hideClose:!1,isShowConfirmBtn:!1,onConfirm:s[3]||(s[3]=t=>c.value=!1),maskNotClose:!0,title:g.$t("faq"),onClose:s[4]||(s[4]=t=>c.value=!1),customClass:"faq-dialog"},{default:l(()=>{var t,d;return[o("section",ce,[o("p",_e,i((t=e(f))==null?void 0:t.question),1),H(o("div",null,null,512),[[R,(d=e(f))==null?void 0:d.answer]])])]}),_:1},8,["modelValue","title"])]),e(B)!="1001"?(a(),p(K,{key:0,text:g.$t("oyoText"),onSubmit:V},null,8,["text"])):y("",!0)])]),_:1})}}}),ze=J(de,[["__scopeId","data-v-7920d345"]]);export{ze as default};
