mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-05-06 07:56:33 +08:00
* [improvement] Tab:升级到自定义组件 * fix: 去除冗余example代码 * [refactor] 重构badge为自定义组件 (#160) * fix: 去除tab组件使用对象入参方式,修改example用例 * refactor: 重构noticebar组件 * fix: 去除tab组件冗余属性字段
44 lines
631 B
Plaintext
44 lines
631 B
Plaintext
.zan-noticebar {
|
|
display: flex;
|
|
padding: 9px 10px;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
|
|
&--within-icon {
|
|
position: relative;
|
|
padding-right: 30px;
|
|
}
|
|
|
|
&__left-icon {
|
|
height: 18px;
|
|
min-width: 20px;
|
|
padding-top: 1px;
|
|
box-sizing: border-box;
|
|
|
|
> image {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
}
|
|
|
|
&__right-icon {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
font-size: 15px;
|
|
line-height: 1;
|
|
}
|
|
|
|
&__content-wrap {
|
|
position: relative;
|
|
flex: 1;
|
|
height: 18px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
&__content {
|
|
position: absolute;
|
|
white-space: nowrap;
|
|
}
|
|
}
|