UNPKG

@lx-react-materiel/ms-shop

Version:

## usage

49 lines (42 loc) 791 B
.ms-banner { position: relative; &__content { position: absolute; width: 100%; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; } &__img { position: absolute; top: 0; left: 0; } &__title { font-size: 36rpx; font-weight: bold; color: #fff; display: flex; align-items: center; } &__desc { font-size: 24rpx; font-weight: 300; color: #a0a0a0; } &__total { font-weight: 400; font-size: 26rpx; color: #fff; height: 37rpx; line-height: 37rpx; background: #ff6157; border-radius: 16rpx 16rpx 16rpx 0; padding: 0 6rpx 0 10rpx; display: inline-block; min-width: 70rpx; box-sizing: border-box; } }