@import '../../../../themes/t.cell.scss'; @import '../../../../themes/page.scss'; /* module/order/pages/select-goods/select-goods.wxss */ .info-box { padding: 10rpx; } .page-scroll__container { flex: 0 1 auto; height: var(--page-container-safeHeight, 100vh); background: #f7f8fa; padding-bottom: 120rpx; } .goods-list { background: transparent; margin-bottom: 20rpx; } .category-title { padding: 28rpx 32rpx 20rpx; font-size: 30rpx; font-weight: 600; color: #333; background: #fff; position: sticky; top: 0; z-index: 10; } .goods-item { display: flex; align-items: center; padding: 32rpx; // margin: 0 20rpx 20rpx; background: #fff; border-radius: 16rpx; box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04); transition: all 0.3s ease; padding-bottom: 10px; &:active { transform: scale(0.98); box-shadow: 0 1rpx 8rpx rgba(0, 0, 0, 0.06); } } .goods-checkbox { margin-right: 24rpx; margin-top: 8rpx; flex-shrink: 0; } .goods-image { width: 180rpx; height: 180rpx; border-radius: 12rpx; background: #f5f5f5; margin-right: 24rpx; flex-shrink: 0; border: 1rpx solid #f0f0f0; } .goods-info { flex: 1; display: flex; flex-direction: column; min-width: 0; justify-content: space-between; min-height: 180rpx; } .goods-name-row { display: flex; align-items: center; margin-bottom: 12rpx; flex-wrap: wrap; } .goods-name { font-size: 32rpx; font-weight: 600; color: #333; flex: 1; min-width: 0; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; text-overflow: ellipsis; } .goods-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 36rpx; height: 36rpx; padding: 0 10rpx; background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%); color: #333; font-size: 22rpx; font-weight: 600; border-radius: 18rpx; margin-left: 12rpx; box-shadow: 0 2rpx 4rpx rgba(255, 215, 0, 0.3); } .goods-desc { font-size: 26rpx; color: #999; margin-bottom: 20rpx; line-height: 1.4; } .goods-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; } .goods-price { font-size: 36rpx; font-weight: 700; color: #ff4444; letter-spacing: -0.5rpx; } .quantity-selector { display: flex; align-items: center; border: 2rpx solid #e8e8e8; border-radius: 12rpx; overflow: hidden; background: #fff; box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.04); } .quantity-btn { width: 64rpx; height: 64rpx; display: flex; align-items: center; justify-content: center; background: #f8f8f8; font-size: 36rpx; font-weight: 500; color: #333; user-select: none; transition: all 0.2s ease; position: relative; &.minus { border-right: 1rpx solid #e8e8e8; } &.plus { border-left: 1rpx solid #e8e8e8; } &:active:not(.disabled) { background: #1d6ff6; color: #fff; transform: scale(0.95); } &.disabled { opacity: 0.4; background: #f5f5f5; color: #ccc; cursor: not-allowed; } } .quantity-input { width: 90rpx; height: 64rpx; text-align: center; font-size: 30rpx; font-weight: 500; color: #333; background: #fff; border: none; padding: 0; &[disabled] { background: #f8f8f8; color: #999; opacity: 0.6; } } .quantity-text { font-size: 30rpx; font-weight: 500; color: #666; padding: 0 16rpx; } .footer-placeholder { height: 120rpx; } .footer-bar { position: fixed; bottom: 0; left: 0; right: 0; width: 100%; min-height: 100rpx; background: #fff; display: flex; align-items: center; padding: 10rpx 10rpx 0 0; box-shadow: 0 -4rpx 20rpx rgba(0, 0, 0, 0.08); z-index: 100; box-sizing: border-box; border-top: 1rpx solid #f0f0f0; } .footer-left { flex-shrink: 0; margin-right: 32rpx; } .footer-center { flex: 1; display: flex; align-items: baseline; font-size: 28rpx; color: #333; line-height: 1.4; } .footer-text { color: #666; font-size: 26rpx; } .footer-price { color: #ff4444; font-weight: 700; font-size: 36rpx; margin-left: 8rpx; letter-spacing: -0.5rpx; } .footer-right { flex-shrink: 0; margin-left: 24rpx; } .checkout-btn { min-width: 160rpx; height: 76rpx; line-height: 76rpx; text-align: center; background: linear-gradient(135deg, #1d6ff6 0%, #4a90ff 100%); color: #fff; font-size: 30rpx; font-weight: 600; border-radius: 38rpx; box-shadow: 0 4rpx 12rpx rgba(29, 111, 246, 0.3); transition: all 0.3s ease; &:active { opacity: 0.9; transform: scale(0.98); box-shadow: 0 2rpx 8rpx rgba(29, 111, 246, 0.4); } } .t-checkbox--block { padding: 0!important; }