[更新]更新动态tabBar
This commit is contained in:
46
lib/tabBarData.js
Normal file
46
lib/tabBarData.js
Normal file
@@ -0,0 +1,46 @@
|
||||
|
||||
/**
|
||||
* Web唐明明
|
||||
* 匆匆数载恍如梦,岁月迢迢华发增。
|
||||
* 碌碌无为枉半生,一朝惊醒万事空。
|
||||
*/
|
||||
|
||||
// 商城
|
||||
const mall = {
|
||||
"pagePath": "pages/mall/index",
|
||||
"text": "商城",
|
||||
"iconPath": "/static/tabbar/tabbar_icon_01.png",
|
||||
"selectedIconPath": "/static/tabbar/tabbar_icon_show_01.png"
|
||||
}
|
||||
|
||||
// 短视频
|
||||
const video = {
|
||||
"pagePath": "pages/shortVideo/index",
|
||||
"text": "首页",
|
||||
"iconPath": "/static/tabbar/tabbar_icon_00.png",
|
||||
"selectedIconPath": "/static/tabbar/tabbar_icon_show_00.png"
|
||||
}
|
||||
|
||||
// 优惠券
|
||||
const ticket = {
|
||||
"pagePath": "pages/ticket/index",
|
||||
"text": "优惠",
|
||||
"iconPath": "/static/tabbar/tabbar_icon_02.png",
|
||||
"selectedIconPath": "/static/tabbar/tabbar_icon_show_02.png"
|
||||
}
|
||||
|
||||
// 我的
|
||||
const user = {
|
||||
"pagePath": "pages/user/index",
|
||||
"text": "我的",
|
||||
"iconPath": "/static/tabbar/tabbar_icon_03.png",
|
||||
"selectedIconPath": "/static/tabbar/tabbar_icon_show_03.png"
|
||||
}
|
||||
|
||||
export {
|
||||
mall,
|
||||
video,
|
||||
ticket,
|
||||
user
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user