Files
damai-wx/pages/custom/detail.wxss
MagicalKudzu f67fb8b6b3 更新
2025-12-17 14:19:22 +08:00

197 lines
2.7 KiB
Plaintext

.page {
min-height: 100vh;
background: #eee;
}
.card {
padding: 32rpx;
background: #fff;
margin-top: 32rpx;
}
.section {
display: flex;
gap: 16rpx;
}
.card .img-wrapper {
position: relative;
}
.card .status-tag {
position: absolute;
top: 8rpx;
right: 8rpx;
padding: 4rpx 10rpx;
font-size: 22rpx;
line-height: 1.2;
color: #fff;
background: rgba(0, 0, 0, 0.65);
border-radius: 6rpx;
white-space: nowrap;
}
.card .img-wrapper image {
width: 180rpx;
height: 220rpx;
border-radius: 12rpx;
background: #eaeaea;
flex-shrink: 0;
}
.card .right {
display: flex;
flex-direction: column;
justify-content: space-around;
}
.card .right .top {
display: flex;
flex-direction: column;
gap: 4rpx;
}
.card .right .top .title {
font-weight: 700;
}
.card .right .top .meta {
font-size: 24rpx;
}
.card .right .bottom .price {
font-size: 30rpx;
color: #ff4d4f;
}
.type-group {
margin-top: 16rpx;
display: flex;
flex-wrap: wrap;
gap: 14rpx;
}
.type-btn {
padding: 16rpx 22rpx;
border-radius: 999rpx;
background: #f3f4f6;
color: #333;
font-size: 26rpx;
line-height: 1;
border: 2rpx solid transparent;
box-sizing: border-box;
}
.type-btn-active {
background: #fff0f0;
border-color: #ff4d4f;
color: #ff4d4f;
font-weight: 700;
}
.multi-list {
margin-top: 12rpx;
display: flex;
flex-direction: column;
}
.multi-item {
padding: 18rpx 6rpx;
display: flex;
align-items: center;
justify-content: space-between;
border-top: 1rpx solid #f0f0f0;
}
.multi-item:first-child {
border-top: none;
}
.multi-left {
flex: 1;
display: flex;
flex-direction: column;
gap: 8rpx;
padding-right: 16rpx;
box-sizing: border-box;
}
.multi-title {
font-size: 30rpx;
font-weight: 700;
color: #111;
line-height: 1.4;
}
.multi-sub {
font-size: 24rpx;
color: #666;
line-height: 1.4;
}
.multi-right {
width: 76rpx;
display: flex;
justify-content: flex-end;
}
.check {
width: 44rpx;
height: 44rpx;
border-radius: 999rpx;
border: 2rpx solid #cfcfcf;
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
}
.check-on {
border-color: #ff4d4f;
background: #fff0f0;
}
.check-mark {
font-size: 28rpx;
line-height: 1;
color: #ff4d4f;
font-weight: 800;
}
.multi-disabled {
opacity: 0.5;
}
.countdown {
margin-top: 16rpx;
display: flex;
gap: 18rpx;
align-items: center;
}
.cd-block {
display: flex;
align-items: baseline;
gap: 8rpx;
padding: 14rpx 16rpx;
background: #f3f4f6;
border-radius: 16rpx;
}
.cd-num {
font-size: 36rpx;
font-weight: 900;
color: #111;
min-width: 40rpx;
text-align: center;
}
.cd-unit {
font-size: 24rpx;
color: #666;
}