|
|
|
+import{_ as y,a1 as k,a as c,ad as w,C as x,B as H,y as L,ap as M,o,g as i,d as s,e as v,F as p,n as T,u as e,t as l,m as r,x as C}from"./index.3f111a8e.js";import{i as F}from"./indexHeaders.c219f2b1.js";import"./CountDate.vue_vue_type_style_index_0_scoped_true_lang.a98ffa73.js";import{F as B}from"./Footer.8bdbc853.js";/* empty css */const I={class:"login-wrapper"},N={class:"register"},S={class:"register-left"},b=["onClick"],D={key:0,class:"register-content"},U={key:0,style:{"font-weight":"bold"}},V=["innerHTML"],E={key:1,class:"register-content"},R={key:0,style:{"font-weight":"bold"}},$=["innerHTML"],q={key:2,class:"register-content"},z={key:0,style:{"font-weight":"bold"}},O=["innerHTML"],P={__name:"index",setup(j){localStorage.getItem("USER__INFO__")&&k().then(n=>{});const h=c(["\u5173\u4E8E\u5C4F\u9177","\u6CE8\u518C/\u767B\u5F55","\u8D26\u53F7\u7BA1\u7406"]);let a=c(0),t=c("");w(()=>{let n=x(window.location.href);n.id&&(a.value=n.id)}),H(()=>{d()});const f=L(),g=n=>{a.value=n,f.push({path:"/guide/register",query:{id:n}}),d()},d=()=>{let n=a.value;M({id:n+1}).then(_=>{t.value=_.data})};return(n,_)=>(o(),i(p,null,[s("div",I,[s("div",null,[v(F)]),s("div",N,[s("div",S,[(o(!0),i(p,null,T(h.value,(m,u)=>(o(),i("div",{class:C(["register-list",e(a)==u?"colorStyle":""]),onClick:A=>g(u)},l(m),11,b))),256))]),e(a)==2?(o(),i("div",D,[e(t)?(o(),i("div",U,l(e(t).title),1)):r("v-if",!0),s("div",null,[s("p",{class:"contents",innerHTML:e(t).content},null,8,V)])])):r("v-if",!0),e(a)==0?(o(),i("div",E,[e(t)?(o(),i("div",R,l(e(t).title),1)):r("v-if",!0),s("div",null,[s("p",{class:"contents",innerHTML:e(t).content},null,8,$)])])):r("v-if",!0),e(a)==1?(o(),i("div",q,[e(t)?(o(),i("div",z,l(e(t).title),1)):r("v-if",!0),s("div",null,[s("p",{class:"contents",innerHTML:e(t).content},null,8,O)])])):r("v-if",!0)])]),v(B)],64))}};var X=y(P,[["__scopeId","data-v-66da780c"]]);export{X as default};
|