添加tabBar
This commit is contained in:
parent
65e5d43e34
commit
c15952e9bc
@ -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
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
BIN
miniprogram/images/menu.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.4 KiB |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
||||
"projectname": "%E5%B0%8F%E7%A8%8B%E5%BA%8F",
|
||||
"projectname": "wineList-MiniApp",
|
||||
"setting": {
|
||||
"compileHotReLoad": true,
|
||||
"urlCheck": false
|
||||
|
Loading…
Reference in New Issue
Block a user