mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-05-29 01:39:15 +08:00
竖直方向steps增加done和cur状态的区分,取消只有一个step时上下两侧的连接线 (#17)
* style: badge上标大小改变更加灵活 * style: panel-title的行高跟随字号 * style: 绝对定位的元素width或height为auto,left,right,top,bottom不为auto时,auto的margin将计算为0,同初始值 * style: 垂直steps增加cur和done状态的区别 * style: revert previous change * style: 当只有一个step时,取消step上下两侧的连接线
This commit is contained in:
parent
01fe69253b
commit
d9b5d181d1
8
dist/steps/wxss/vstep.wxss
vendored
8
dist/steps/wxss/vstep.wxss
vendored
@ -49,6 +49,12 @@
|
||||
}
|
||||
|
||||
.zan-steps--vsteps .zan-steps__step--done .zan-steps__circle {
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
background-color: #09bb07;
|
||||
}
|
||||
|
||||
.zan-steps--vsteps .zan-steps__step--cur .zan-steps__circle {
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
background: transparent url("https://b.yzcdn.cn/v2/image/wap/success_small@2x.png");
|
||||
@ -72,7 +78,7 @@
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.zan-steps--vsteps .zan-steps__step--last-child .zan-steps__title::before {
|
||||
.zan-steps--vsteps .zan-steps__step--last-child .zan-steps__title::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
|
Loading…
x
Reference in New Issue
Block a user