index.b81487db.js 1.5 KB

1
  1. import{T as m}from"./index.03b0e413.js";import{d as n,r as u,w as p,c as t,u as c,a as d}from"./index.8c1ddc95.js";import"./_commonjsHelpers.3b3cf767.js";import{T as f,a as r}from"./index.81bc8e16.js";import"./index.1d7335f8.js";import{T as y}from"./index.849ad0f0.js";import v from"./index.2e8028e8.js";import w from"./index.84fff02a.js";import _ from"./index.353f28a6.js";import"./logo-1.1c5bc018.js";import"./index.28e39ce5.js";import"./utils.e748d7c8.js";import"./use-tab-status.17c149c7.js";import"./icon-search.f54aed7d.js";import"./index.1117b7a0.js";import"./index.eda40fb9.js";import"./index.1cd3966b.js";import"./request.f99df5cb.js";import"./index.0b9b4112.js";import"./index.db63af93.js";import"./index.4128336f.js";const h="_layout_10u7w_1",b="_sticky_10u7w_1",T="_tabs_10u7w_6",l={layout:h,sticky:b,tabs:T},K=n({name:"indexApp",setup(){const o=c(),s=d(),a=u(o.name);return p(o,()=>[a.value=o.name]),console.log(o.name),()=>t("div",{class:l.layout},[t("div",{class:l.sticky},[t(y,null,null)]),t(f,{class:l.tabs,active:a.value,"onUpdate:active":e=>a.value=e,color:"var(--van-primary-color)","line-width":"26px",swipeable:!0,animated:!0,sticky:!0,"offset-top":"1.46667rem",onChange:e=>{const i=e==="home"?"/":"/"+e;s.replace({path:i})}},{default:()=>[t(r,{title:"\u9996\u9875",name:"home"},{default:()=>[t(w,null,null)]}),t(r,{title:"\u8C31\u5E93",name:"music"},{default:()=>[t(_,null,null)]}),t(r,{title:"\u4E0B\u8F7D",name:"down"},{default:()=>[t(v,null,null)]})]}),t(m,null,null)])}});export{K as default};