Skip to content

Commit

Permalink
fix: 配置 tabBar selectedColor 默认颜色
Browse files Browse the repository at this point in the history
  • Loading branch information
zhetengbiji committed Oct 19, 2019
1 parent c1a58a5 commit c737da3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,9 @@ module.exports = function (pagesJson, userManifestJson) {
if (borderStyle in borderStyles) {
tabBar.borderStyle = borderStyles[borderStyle]
}
if (!tabBar.selectedColor) {
tabBar.selectedColor = '#0062cc'
}
tabBar.height = `${parseFloat(tabBar.height) || TABBAR_HEIGHT}px`
// 非纯 nvue 项目首页为 nvue 页面
if (!process.env.UNI_USING_NATIVE && isNVueEntryPage) {
Expand Down

0 comments on commit c737da3

Please sign in to comment.