dhb
dhb
  • 发布:2018-12-28 01:11
  • 更新:2018-12-28 02:11
  • 阅读:1076

在 顶部选项卡tabbar组件里 createElement 出来的元素无法添加类和样式?

分类:uni-app

return createElement('div', {
style:{
height:"88px",
width:"750px",
flexDirection:"row",
justifyContent:"space-between",
boxShadow:"0 3px 5px rgba(0,0,0,.1)",
backgroundColor:"#ffffff",
},
className:"xxxxx",

        }  

justifyContent:"space-between", 无法生效,
className 也无法添加

2018-12-28 01:11 负责人:无 分享
已邀请:
dhb

dhb (作者)

已解决,原来 nvue跟vue不一样。。

http://weex-project.io/cn/wiki/common-styles.html

该问题目前已经被锁定, 无法添加新回复