mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
feat(Panel): Panel组件样式调整 (#2235)
This commit is contained in:
parent
6db1a9656d
commit
747ac0e7d2
@ -222,6 +222,11 @@
|
|||||||
// Overlay
|
// Overlay
|
||||||
@overlay-background-color: rgba(0, 0, 0, 0.7);
|
@overlay-background-color: rgba(0, 0, 0, 0.7);
|
||||||
|
|
||||||
|
// Panel
|
||||||
|
@panel-background-color: @white;
|
||||||
|
@panel-header-value-color: @red;
|
||||||
|
@panel-footer-padding: @padding-xs @padding-md;
|
||||||
|
|
||||||
// Popup
|
// Popup
|
||||||
@popup-round-border-radius: 20px;
|
@popup-round-border-radius: 20px;
|
||||||
@popup-close-icon-size: 18px;
|
@popup-close-icon-size: 18px;
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
@import '../common/style/theme.less';
|
@import '../common/style/theme.less';
|
||||||
|
|
||||||
.van-panel {
|
.van-panel {
|
||||||
.theme(background, '@white');
|
.theme(background, '@panel-background-color');
|
||||||
|
|
||||||
&__header-value {
|
&__header-value {
|
||||||
.theme(color, '@red');
|
.theme(color, '@panel-header-value-color');
|
||||||
}
|
}
|
||||||
|
|
||||||
&__footer {
|
&__footer {
|
||||||
padding: 10px 15px;
|
.theme(padding,'@panel-footer-padding');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user