56 lines
930 B
Plaintext
56 lines
930 B
Plaintext
![]() |
@import "../area/index.wxss";
|
||
|
|
||
|
.van-notice-bar {
|
||
|
display: flex;
|
||
|
height: 40px;
|
||
|
padding: 0 15px;
|
||
|
font-size: 14px;
|
||
|
line-height: 24px;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.van-notice-bar--within-icon {
|
||
|
position: relative;
|
||
|
padding-right: 40px;
|
||
|
}
|
||
|
|
||
|
.van-notice-bar__left-icon {
|
||
|
width: 16px;
|
||
|
height: 16px;
|
||
|
margin-right: 4px;
|
||
|
}
|
||
|
|
||
|
.van-notice-bar__right-icon {
|
||
|
position: absolute;
|
||
|
top: 10px;
|
||
|
right: 15px;
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
|
||
|
.van-notice-bar__content-wrap {
|
||
|
position: relative;
|
||
|
height: 24px;
|
||
|
overflow: hidden;
|
||
|
flex: 1;
|
||
|
}
|
||
|
|
||
|
.van-notice-bar__content {
|
||
|
position: absolute;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
|
.noscrollable .van-notice-bar__content {
|
||
|
max-width: 100%;
|
||
|
position: inherit;
|
||
|
white-space: inherit;
|
||
|
}
|
||
|
|
||
|
.noscrollable .van-notice-bar__content-wrap {
|
||
|
height: auto;
|
||
|
}
|
||
|
|
||
|
.noscrollable.van-notice-bar {
|
||
|
height: auto;
|
||
|
padding: 8px 10px;
|
||
|
line-height: 20px;
|
||
|
}
|