mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
64 lines
1.2 KiB
Plaintext
64 lines
1.2 KiB
Plaintext
.zan-stepper {
|
|
color: #666;
|
|
}
|
|
.zan-stepper view {
|
|
display: inline-block;
|
|
padding: 5px 0;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
vertical-align: middle;
|
|
font-size: 12px;
|
|
border: 1rpx solid #999;
|
|
}
|
|
.zan-stepper .zan-stepper__minus {
|
|
border-right: none;
|
|
border-radius: 2px 0 0 2px;
|
|
}
|
|
.zan-stepper .zan-stepper__text {
|
|
border: 1rpx solid #999;
|
|
display: inline-block;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
/* 重置 input 默认样式 */
|
|
min-height: auto;
|
|
font-size: 12px;
|
|
}
|
|
.zan-stepper .zan-stepper__plus {
|
|
border-left: none;
|
|
border-radius: 0 2px 2px 0;
|
|
}
|
|
.zan-stepper .zan-stepper--disabled {
|
|
background: #f8f8f8;
|
|
color: #bbb;
|
|
border-color: #e8e8e8;
|
|
}
|
|
.zan-stepper--small view {
|
|
min-width: 36px;
|
|
line-height: 18px;
|
|
}
|
|
.zan-stepper--small .zan-stepper__text {
|
|
width: 36px;
|
|
line-height: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
.zan-stepper--middle view {
|
|
min-width: 40px;
|
|
line-height: 20px;
|
|
}
|
|
.zan-stepper--middle .zan-stepper__text {
|
|
width: 40px;
|
|
line-height: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
.zan-stepper--large view {
|
|
min-width: 44px;
|
|
line-height: 22px;
|
|
}
|
|
.zan-stepper--large .zan-stepper__text {
|
|
width: 44px;
|
|
line-height: 32px;
|
|
height: 32px;
|
|
}
|