2633144178@qq.com
2633144178@qq.com
  • 发布:2020-11-22 17:55
  • 更新:2020-11-22 17:55
  • 阅读:34

titleNview里的fontSrc路径的使用

分类:HBuilderX

"style": {
"app-plus" : {
"scrollIndicator" : "none",
"titleNView" : {
"buttons" :[
{
"float":"left",
"color":"#ff9619",
"fontSize":"20px",
"fontSrc":"./static/font/iconfont.ttf", //必须放在static目录下
"text" : "\ue606"
},{
"float":"right",
"color":"#000",
""
}
],
"searchInput" : {
"backgroundColor" : "#f7f7f7",
"align":"center",
"borderRadius": "10px",
"placeholderColor":"#ccc",
"placeholder" : "搜索臭事"
}
}
}
}

0 关注 分享

要回复文章请先登录注册