index.5fb69282.js 1.7 KB

1
  1. import{_ as x,a1 as k,a as d,B as w,C as p,ad as C,y as F,ap as H,o,g as a,d as t,e as f,F as h,n as I,u as s,t as c,m as l,x as L}from"./index.5d5a0f88.js";import{i as M}from"./indexHeaders.076c3c67.js";import"./CountDate.vue_vue_type_style_index_0_scoped_true_lang.5ec90885.js";import{F as S}from"./Footer.03112b8e.js";/* empty css */const T={class:"login-wrapper"},B={class:"register"},N={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={__name:"index",setup(z){localStorage.getItem("USER__INFO__")&&k().then(e=>{});let _=d(""),n=d("");const g=[{name:"\u53D1\u7968\u4FDD\u969C",id:7},{name:"\u552E\u540E\u4FDD\u969C",id:8}];let i=d(0);w(()=>{let e=p(window.location.href);e.id&&(i.value=e.id,_.value=e.id),u()}),C(()=>{let e=p(window.location.href);e.id&&(i.value=e.id,_.value=e.id)});const m=F(),y=e=>{i.value=e,u(),m.push({path:"/guide/afterSale",query:{id:e}})},u=()=>{let e=i.value;H({id:e}).then(v=>{n.value=v.data})};return(e,v)=>(o(),a(h,null,[t("div",T,[t("div",null,[f(M)]),t("div",B,[t("div",N,[(o(),a(h,null,I(g,(r,O)=>t("div",{class:L(["register-list",s(i)==r.id?"colorStyle":""]),onClick:P=>y(r.id)},c(r.name),11,b)),64))]),s(i)==7?(o(),a("div",D,[s(n)?(o(),a("div",U,c(s(n).title),1)):l("v-if",!0),t("div",null,[t("p",{class:"contents",innerHTML:s(n).content},null,8,V)])])):l("v-if",!0),s(i)==8?(o(),a("div",E,[s(n)?(o(),a("div",R,c(s(n).title),1)):l("v-if",!0),t("div",null,[t("p",{class:"contents",innerHTML:s(n).content},null,8,$)])])):l("v-if",!0)])]),f(S)],64))}};var Q=x(q,[["__scopeId","data-v-073205bc"]]);export{Q as default};