Stepper.wxss 972 Bytes
/* components/Stepper/Stepper.wxss */
@import '/common.wxss';

.stepper-box {
  display: flex;
  align-items: center;
}

.stepper-box .count-box {
  width: 52rpx;
  height: 52rpx;
  background: #F0F0F0;
  margin-left: 7rpx;
  font-size: 26rpx;
  text-align: center;
  color: #323233;
  font-weight: normal;
  position: relative;
}

.stepper-box .count-box.opacity::after ,.stepper-box .count-box.opacity::before{
  opacity: .25;
}

.stepper-box .minus {
  border-radius: 7rpx 0 0 7rpx;
}

.stepper-box .num {
  width: 59rpx;
}

.stepper-box .add {
  border-radius: 0 7rpx 7rpx 0;
}

.stepper-box .add::before,
.stepper-box .add::after,
.stepper-box .minus::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  content: '';
  background-color: #2C2C2C;
  border-radius: 2rpx;
}

.stepper-box .add::before,.stepper-box .minus::after  {
  width: 25rpx;
  height: 2rpx;
  
  
}
.stepper-box .add::after{
  width: 2rpx;
  height: 25rpx;
}