Component({
  data: {
    selected: 0,
	"color": "#FFEEE1",
	"selectedColor": "#FFFFFF",
	"backgroundColor": "#F69448",
    list: [
	// {
	// 	"pagePath": "/pages/home/cloudCard",
	// 	"text": "补充菜窖",
	// 	"iconPath": "/static/bomicon/bom_notCloudCard.png",
	// 	"selectedIconPath": "/static/bomicon/bom_cloudCard.png"
	// },
	{
		"pagePath": "/pages/home/cloudCard2",
		"text": "补充菜窖",
		"iconPath": "/static/bomicon/bom_notCloudCard.png",
		"selectedIconPath": "/static/bomicon/bom_cloudCard.png"
	},
	// {
	// 	"pagePath": "/pages/home/pickUpCard",
	// 	"text": "选菜窖",
	// 	"iconPath": "/static/bomicon/bom_notPickUp.png",
	// 	"selectedIconPath": "/static/bomicon/bom_pickUp.png"
	// },
	{
		"pagePath": "/pages/home/myCellar",
		"text": "我的菜窖",
		"iconPath": "/static/bomicon/bom_notPickUp.png",
		"selectedIconPath": "/static/bomicon/bom_pickUp.png"
	},
	
	// {
	// 	"pagePath": "/pages/home/recordList2",
	// 	"text": "预约记录",
	// 	"iconPath": "/static/bomicon/bom_notRecordNew.png",
	// 	"selectedIconPath": "/static/bomicon/bom_recordNew.png"
	// }
	// ,
	
	{
		"pagePath": "/pages/home/myHome",
		"text": "记录查询",
		"iconPath": "/static/bomicon/bom_NotMy.png",
		"selectedIconPath": "/static/bomicon/bom_my.png"
	}
	
	]
  },
  attached() {
  },
  methods: {
    switchTab(e) {
      const data = e.currentTarget.dataset
      const url = data.path
	  // console.log("ssss0",data);
      wx.switchTab({url})
      // this.setData({
      //   selected: data.index
      // })
    }
  }
})