HbuiderX :2.8.3.20200728
"tabBar": {
"borderStyle": "#E6E6E6",
"color": "#646464",
"selectedColor": "#E60000",
"midButton": {
// "width":"80rpx",
"height":"80rpx",
"iconWidth":"60rpx",
"iconPath": "static/img/index/tab-open.png",
"text": "一键开门"
},
"list": [{
"pagePath": "pages/tabbar/new/featured/featured",
"iconPath": "static/img/index/tab1-g.png",
"selectedIconPath": "static/img/index/tab1.png",
"text": "精选"
},
{
/ pages/tabbar/discover/discover/
"pagePath": "pages/tabbar/new/servicePage/servicePage",
"iconPath": "static/img/index/tab2-g.png",
"selectedIconPath": "static/img/index/tab2.png",
"text": "服务"
},
// #ifndef APP-PLUS
{ / pages/tabbar/index/placeHolder /
"pagePath": "pages/tabbar/index/openDoor/openDoor",
"iconPath": "static/img/index/tab-open.png",
"selectedIconPath": "static/img/index/tab-open.png",
"text": "一键开门"
},
// #endif
{
"pagePath": "pages/tabbar/market/market",
"iconPath": "static/img/index/tab3-g.png",
"selectedIconPath": "static/img/index/tab3.png",
"text": "严选"
},
{
/ pages/tabbar/me/me /
"pagePath": "pages/tabbar/new/mePage/mePage",
"iconPath": "static/img/index/tab4-g.png",
"selectedIconPath": "static/img/index/tab4.png",
"text": "我"
}
]
}
雨悸 (作者)
换成px能显示,这是怎么回事
2020-07-29 18:34
chenli
回复 雨悸: 环境配置文件里涉及到单位的应该都是使用px或者百分号
2020-07-29 18:37