.nav-bar-index { display: block; height: initial; } @import "../common/index.acss"; .nav-bar-index .van-nav-bar { position: relative; text-align: center; -webkit-user-select: none; user-select: none; height: 46px; height: var(--nav-bar-height, 46px); line-height: 46px; line-height: var(--nav-bar-height, 46px); background-color: #fff; background-color: var(--nav-bar-background-color, #fff); } .nav-bar-index .van-nav-bar__content { position: relative; height: 100%; } .nav-bar-index .van-nav-bar__text { display: inline-block; vertical-align: middle; margin: 0 -16px; margin: 0 -var(--padding-md, 16px); padding: 0 16px; padding: 0 var(--padding-md, 16px); color: #1989fa; color: var(--nav-bar-text-color, #1989fa); } .nav-bar-index .van-nav-bar__text--hover { background-color: #f2f3f5; background-color: var(--active-color, #f2f3f5); } .nav-bar-index .van-nav-bar__arrow { vertical-align: middle; font-size: 16px !important; font-size: var(--nav-bar-arrow-size, 16px) !important; color: #1989fa !important; color: var(--nav-bar-icon-color, #1989fa) !important; } .nav-bar-index .van-nav-bar__arrow + .van-nav-bar__text { margin-left: -20px; padding-left: 25px; } .nav-bar-index .van-nav-bar--fixed { position: fixed; top: 0; left: 0; width: 100%; } .nav-bar-index .van-nav-bar__title { max-width: 60%; margin: 0 auto; color: #323233; color: var(--nav-bar-title-text-color, #323233); font-weight: 500; font-weight: var(--font-weight-bold, 500); font-size: 16px; font-size: var(--nav-bar-title-font-size, 16px); } .nav-bar-index .van-nav-bar__left, .nav-bar-index .van-nav-bar__right { position: absolute; top: 0; bottom: 0; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; font-size: 14px; font-size: var(--font-size-md, 14px); } .nav-bar-index .van-nav-bar__left { left: 16px; left: var(--padding-md, 16px); } .nav-bar-index .van-nav-bar__right { right: 16px; right: var(--padding-md, 16px); }