zbin@e-lansen.cn
zbin@e-lansen.cn
  • 发布:2020-01-17 15:51
  • 更新:2020-01-17 15:51
  • 阅读:28

HBuilder打包正常,但是使用HBuilderX打包时,tabBar消失不显示

分类:HBuilderX

hbuilderX版本号 : 2.4.2
tabBar代码:
"plus" : {
"launchwebview" : {
"bottom" : "0px",
"background" : "#ffffff",
"subNViews" : [
{
"id" : "tabBar",
"styles" : {
"bottom" : "0",
"left" : "0",
"height" : "52px",
"width" : "100%",
"backgroundColor" : "#F8E7D4"
},
"tags" : [
{
"tag" : "img",
"src" : "images/yuandan/tab/1-1.png",
"id" : "indexIcon",
"position" : {
"top" : "5px",
"left" : "6%",
"width" : "28px",
"height" : "32px"
},
"sprite" : {
"top" : "0px",
"left" : "0px",
"width" : "100%",
"height" : "100"
},
"textStyles" : {
"align" : "center",
"size" : "10px",
"color" : "black"
}
},
{
"tag" : "font",
"id" : "indexText",
"text" : "首页",
"position" : {
"top" : "34px",
"left" : "0",
"width" : "20%",
"height" : "24px"
},
"textStyles" : {
"align" : "center",
"size" : "10px",
"color" : "black"
}
},

2020-01-17 15:51 分享
已邀请:

要回复问题请先登录注册