| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- @import "../../base/fn.less";
- @weuiNavBarColor: #F16E24;
- .weui-navbar {
- display: flex;
- position: absolute;
- z-index: 500;
- top: 0;
- width: 100%;
- border-bottom: 1rpx solid #CCCCCC;
- }
- .weui-navbar__item {
- position: relative;
- display: block;
- flex: 1;
- padding: 8px 0;
- text-align: center;
- font-size: 0;
- font-weight: bold;
- margin:0 5px;
- color: #9A9FAA;
- &.weui-bar__item_on {
- background: none;
- z-index: 2;
- color: @weuiNavBarColor;
- }
- }
- .weui-navbar__slider {
- position: absolute;
- z-index: 1;
- left: 50%;
- bottom: 0;
- // width: 100px;
- border-radius: 15px;
- left: 0;
- bottom: 0;
- width: 6em;
- height: 3px;
- background-color: @weuiNavBarColor;
- transform: translateX(-50%);
- transition: transform .3s;
- }
- .weui-navbar__title{
- display: inline-block;
- font-size: 15px;
- max-width: 8em;
- .ellipsis();
- }
|