提交 989cdc66 编写于 作者: 辛宝Otto's avatar 辛宝Otto 🥊

feat: 补充 setTabBarStyle 的 borderColor 选项

上级 711b5071
......@@ -112,14 +112,16 @@
color: '#7A7E83',
selectedColor: '#007AFF',
backgroundColor: '#F8F8F8',
borderStyle: 'black'
borderStyle: 'black',
// 新增 borderColor,优先级高于 borderStyle
borderColor:'red'
})
} else {
uni.setTabBarStyle({
color: '#FFF',
selectedColor: '#007AFF',
backgroundColor: '#000000',
borderStyle: 'black'
borderStyle: 'black',
})
}
this.hasCustomedStyle = !this.hasCustomedStyle
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册