购物车悬浮加减

This commit is contained in:
liu
2026-08-27 18:08:14 +08:00
parent 78c787d207
commit 260d8086bf
16 changed files with 445 additions and 35 deletions
+42
View File
@@ -0,0 +1,42 @@
.cart-stepper {
display: flex;
align-items: center;
flex-shrink: 0;
&__btn {
width: 52rpx;
height: 52rpx;
border-radius: 50%;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
background: #fff;
border: 2rpx solid #ee0a24;
&--plus {
background: linear-gradient(135deg, #ee0a24, #ff6034);
border: none;
}
}
&__btn-icon {
font-size: 30rpx;
line-height: 1;
color: #ee0a24;
}
&__btn--plus &__btn-icon {
color: #fff;
}
&__qty {
min-width: 64rpx;
padding: 0 4rpx;
box-sizing: border-box;
text-align: center;
font-size: 28rpx;
color: #323233;
font-weight: 500;
}
}