添加tabBar

This commit is contained in:
2023-05-04 10:28:27 +08:00
parent 65e5d43e34
commit c15952e9bc
4 changed files with 18 additions and 2 deletions

View File

@@ -14,5 +14,21 @@
"navigationBarTextStyle": "black"
},
"style": "v2",
"sitemapLocation": "sitemap.json"
"sitemapLocation": "sitemap.json",
"tabBar": {
"list": [
{
"pagePath": "pages/home/home",
"text": "酒单",
"iconPath":"./images/menu.png",
"selectedIconPath": "./images/menu.png"
},
{
"pagePath": "pages/index/index",
"text": "我的",
"iconPath":"./images/home.png",
"selectedIconPath": "./images/home.png"
}
]
}
}

BIN
miniprogram/images/home.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

BIN
miniprogram/images/menu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB