Files
code-bang/frontend/miniapp/pages/goods/details/components/buy-bar/index.wxss
T
2026-09-17 16:25:31 +08:00

113 lines
1.9 KiB
Plaintext

.footer-cont {
background-color: var(--bg-card);
padding: 16rpx;
box-shadow: 0 -4rpx 20rpx rgba(29, 33, 41, 0.04);
}
.icon-warp {
width: 110rpx;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.operate-wrap {
position: relative;
}
.bottom-operate-left {
width: 100%;
}
.bottom-operate-left .icon-warp {
width: 50%;
}
.tag-cart-num {
display: inline-block;
position: absolute;
left: 50rpx;
right: auto;
top: 6rpx;
color: var(--text-inverse);
line-height: 24rpx;
text-align: center;
z-index: 99;
white-space: nowrap;
min-width: 28rpx;
border-radius: 14rpx;
background-color: var(--error) !important;
font-size: 20rpx;
font-weight: 400;
padding: 2rpx 6rpx;
}
.operate-text {
color: var(--text-secondary);
font-size: 20rpx;
}
.soldout {
height: 80rpx;
background: var(--text-disabled);
width: 100%;
color: var(--text-inverse);
border-radius: var(--radius-round);
}
.addCart-disabled,
.bar-addCart-disabled {
background: var(--bg-grey) !important;
color: var(--text-disabled) !important;
font-size: 28rpx;
}
.buyNow-disabled,
.bar-buyNow-disabled {
background: var(--bg-grey) !important;
color: var(--text-disabled) !important;
font-size: 28rpx;
}
.bar-separately,
.bar-buy {
width: 254rpx;
height: 80rpx;
color: var(--text-inverse);
display: flex;
align-items: center;
justify-content: center;
font-size: 28rpx;
font-weight: 500;
}
.bar-separately {
background: var(--brand-light-2);
color: var(--brand);
border-radius: 40rpx 0 0 40rpx;
}
.bar-buy {
background: var(--brand-gradient);
border-radius: 0rpx 40rpx 40rpx 0rpx;
box-shadow: var(--shadow-brand);
}
.flex {
display: flex;
display: -webkit-flex;
}
.flex-center {
justify-content: center;
-webkit-justify-content: center;
align-items: center;
-webkit-align-items: center;
}
.flex-between {
justify-content: space-between;
-webkit-justify-content: space-between;
}