<template>
	<view>
		<u-tabbar v-model="current" :list="list" active-color="#ff7c00" inactive-color="#955114"></u-tabbar>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[{
					iconPath: "/static/tabbar.png",
					selectedIconPath: "/static/tabbar.png",
					text: '首页',
					customIcon: true,
					"pagePath" : '/pages/index/index'
				},
				{
					iconPath: "/static/tabbar2.png",
					selectedIconPath: "/static/tabbar2.png",
					text: '搜索',
					customIcon: true,
					"pagePath" : '/other/gongzhonghao/gongzhonghao'
				},
				{
					iconPath: "/static/tabbar3.png",
					selectedIconPath: "/static/tabbar3.png",
					text: '推荐',
					customIcon: true,
					"pagePath" : '/other/gongzhonghao/gongzhonghao'
				},
				{
					iconPath: "/static/tabbar4.png",
					selectedIconPath: "/static/tabbar4.png",
					text: '我的',
					customIcon: true,
					"pagePath" : '/pages/me/me'
				},
			] ,
			current: 0
			};
		},
		methods: {
			dump(url){
				dumpUrl(url);
			}
		}
	}
</script>

<style>
	
</style>
