tabBar文字过长导致溢出问题
发布于 6 年前 作者 tanjie 15300 次浏览 来自 问答
{
  "pages":[
    "pages/index/index",
    "pages/logs/logs"
  ],
  "window":{
    "backgroundTextStyle":"light",
    "navigationBarBackgroundColor": "#fff",
    "navigationBarTitleText": "WeChat",
    "navigationBarTextStyle":"black"
  },
 
  "tabBar": {
    "position": "top",
    "list": [{
      "pagePath": "pages/index/index",
      "text": "首页"
    }, {
      "pagePath": "pages/logs/logs",
      "text": "日志"
    }, {
      "pagePath": "pages/logs/logs",
      "text": "日志"
    }, {
      "pagePath": "pages/logs/logs",
      "text": "aaaaaaaabbbbwgm,opmfvaskojfvi0anfviangmfvioanianin0"
    }, {
      "pagePath": "pages/logs/logs",
      "text": "日志"
    }]
  }
 
}
1 回复

腾讯没做英文强制换行吧 一般超过当前宽度都会自动换行的 而且 正常情况下tab要这么长的字符干嘛?

回到顶部