import{z as e,k as a,o as n,a as t,w as s,g as c,m as i,u as r,n as l,q as o,t as u,F as m,i as d}from"./index.35bb0716.js";import{_ as p}from"./plugin-vue_export-helper.21dcd24c.js";function k(a,n){return e(a)?n:a}var f=p({props:["currentPage"],name:"tabBar",data:()=>({menuLists:[{key:1,name:"首页",iconPath:"home",selectedIconPath:"home_active",link:"index"},{key:2,name:"SFP智能财策",iconPath:"sfp",selectedIconPath:"sfp_active",link:"/product"},{key:3,name:"CFFP认证",iconPath:"cffp",selectedIconPath:"cffp_active",link:"cffp"},{key:4,name:"我的",iconPath:"my",selectedIconPath:"my_active",link:"personalCenter"}]}),methods:{navTo(e,n){if(e.link!==this.currentPage){var t=`/pages/${e.link}/${e.link}`;a({url:t})}}},mounted(){console.log(this.currentPage)}},[["render",function(e,a,p,k,f,P){const _=d;return n(),t(_,{class:"menu_wrapper"},{default:s((()=>[c(_,{class:"menu_content"},{default:s((()=>[(n(!0),i(m,null,r(f.menuLists,(a=>(n(),t(_,{key:a.link,class:l(["tabbar_item",{active:a.link==p.currentPage}]),onClick:n=>P.navTo(a,e.index)},{default:s((()=>[c(_,{class:"pic"},{default:s((()=>[a.link==p.currentPage?(n(),i("img",{key:0,src:"../../static/tabbar/"+a.selectedIconPath+".png"},null,8,["src"])):(n(),i("img",{key:1,src:"../../static/tabbar/"+a.iconPath+".png"},null,8,["src"]))])),_:2},1024),c(_,{class:"name"},{default:s((()=>[o(u(a.name),1)])),_:2},1024)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1})}],["__scopeId","data-v-7d467ee0"]]);export{f as _,k as r};
