mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-04 23:06:35 +08:00
* [bugfix] Checkbox border render error in weixin browser * [bugfix] TreeSelect dependency path error * [bugfix] Swipe should clear autoplay timer when destroyed * [bugfix] Optimize component dependency analyze when build style entry * merge * update yarn.lock * update README.md * update README.md * update README.md * update README.md * update README.md * [Doc] add more badges in README.md * update README.md * [bugfix] Address & Contact list style * fix: contact test cases * [bugfix] popup style missing when build style entry * [bugfix] Search: onSearch event arguments missing * [Doc] add demo pages * update zan-doc@0.3.7 * fix: build entry error * [Doc] add goods demo * [bugfix] button primary background color * [Doc] update doc detail * [new feature] Coupon add 'showExchangeBar' prop && add empty style * [new feature] Toast support `position` prop * [new feature] Tabbar add 'info' prop
67 lines
1.1 KiB
CSS
67 lines
1.1 KiB
CSS
@import './common/var.css';
|
|
|
|
.van-tabbar {
|
|
width: 100%;
|
|
height: 50px;
|
|
display: flex;
|
|
background-color: #fff;
|
|
|
|
&--fixed {
|
|
left: 0;
|
|
bottom: 0;
|
|
position: fixed;
|
|
}
|
|
|
|
&-item {
|
|
flex: 1;
|
|
color: #666;
|
|
display: flex;
|
|
line-height: 1;
|
|
font-size: 12px;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
|
|
&__icon {
|
|
font-size: 18px;
|
|
margin-bottom: 5px;
|
|
position: relative;
|
|
|
|
&-dot {
|
|
&::after {
|
|
width: 8px;
|
|
height: 8px;
|
|
content: ' ';
|
|
position: absolute;
|
|
border-radius: 100%;
|
|
background-color: $red;
|
|
}
|
|
}
|
|
|
|
img {
|
|
height: 18px;
|
|
}
|
|
}
|
|
|
|
&__info {
|
|
color: #fff;
|
|
top: -5px;
|
|
right: -100%;
|
|
font-size: 12px;
|
|
transform: scale(.8);
|
|
box-sizing: border-box;
|
|
padding: 0 3px;
|
|
text-align: center;
|
|
min-width: 18px;
|
|
line-height: 18px;
|
|
border-radius: 9px;
|
|
background-color: $red;
|
|
position: absolute;
|
|
}
|
|
|
|
&--active {
|
|
color: $blue;
|
|
}
|
|
}
|
|
}
|