import{e as b,r as k,P as n,Q as o,a7 as e,I as l,F as g,aa as f,a8 as h,a5 as x,ab as C}from"./vue-bf422dc1.js";import{b as y,i as S,_ as w}from"./index-8db2df2c.js";import"./ui-ba7aaa7e.js";import"./icons-a8498fb6.js";import"./libs-51817cd7.js";import"./plugins-ca970193.js";import"./others-9f318174.js";import"./echarts-bf9d612c.js";const $={class:"navbar navbar-expand-md navbar-dark"},B={class:"container"},H=["src"],L={class:"justify-content-end"},P={class:"navbar-nav"},R=["onClick"],D={class:"nav-link hand-cursor"},F={class:"list-enter"},I={name:"CHeader"},T=b({...I,setup(j){const i=h(),d=y().getSiteLogo,_=S(),{accessToken:p}=_,m=[{title:"网站首页",name:"index",params:{}},{title:"关于我们",name:"about",params:{}},{title:"帮助中心",name:"news_cate",params:{alias:"faq"}},{title:"订单查询",name:"order",params:{}}],c=k("index"),r=(t,s)=>{c.value=t,i.push({name:t,params:{alias:s}})},u=t=>{i.push(t)};return(t,s)=>(n(),o("nav",$,[e("div",B,[e("a",{class:"navbar-brand",style:{width:"166px"},onClick:s[0]||(s[0]=a=>r("index",{}))},[e("img",{src:l(d),alt:""},null,8,H)]),e("div",L,[e("ul",P,[(n(),o(g,null,f(m,(a,v)=>e("li",{key:v,class:"nav-item",onClick:z=>r(a.name,a.params.alias)},[e("span",D,[e("span",{class:x(c.value==a.name?"active":"")},C(a.title),3)])],8,R)),64)),e("li",F,[l(p)?(n(),o("a",{key:1,id:"red_reward",class:"btn btn-enter",onClick:s[2]||(s[2]=a=>u("/merchant/workbench"))},"商户中心")):(n(),o("a",{key:0,id:"red_reward",class:"btn btn-enter register",onClick:s[1]||(s[1]=a=>r("login",{}))},"商家登录"))])])])])]))}});const K=w(T,[["__scopeId","data-v-69db38ec"]]);export{K as default};
