奇点
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
1.1 KiB

import{l as e,o as a,c as s,w as t,b as n,r,a as c,m as b,v as i,n as o,F as l,x as p,i as u,g,y as m}from"./index.22b081e2.js";import{_ as d}from"./plugin-vue_export-helper.21dcd24c.js";var x=d({name:"tabber",props:["selecttb"],setup:a=>({tabberlist:e([{name:"首页",icon:"../../static/tabber/home.png",selecticon:"../../static/tabber/homexz.png",page:"/pages/index/index"},{name:"市场",icon:"../../static/tabber/shichang.png",selecticon:"../../static/tabber/shichangxz.png",page:"/pages/market/market"},{name:"我的",icon:"../../static/tabber/user.png",selecticon:"../../static/tabber/userxz.png",page:"/pages/user/user"}]),gotabber:function(e){p({url:e.page})}})},[["render",function(e,p,m,d,x,f){const _=u,h=g;return a(),s(h,{class:"tab"},{default:t((()=>[(a(!0),n(l,null,r(d.tabberlist,((e,n)=>(a(),s(h,{onClick:a=>d.gotabber(e)},{default:t((()=>[c(_,{src:Number(m.selecttb)==n+1?e.selecticon:e.icon},null,8,["src"]),c(h,{class:o(Number(m.selecttb)==n+1?"xz":"")},{default:t((()=>[b(i(e.name),1)])),_:2},1032,["class"])])),_:2},1032,["onClick"])))),256))])),_:1})}],["__scopeId","data-v-e7a06d18"]]);function f(e,a){return m(e)?a:e}export{x as _,f as r};