Files
2026-10-01 11:43:07 +08:00

107 lines
1.9 KiB
Plaintext

/* pages/buy/buy.wxss */
.buy-page {
min-height: 100vh;
background: #f6f7f9;
padding: 24rpx 24rpx 48rpx;
box-sizing: border-box;
}
/* ── 单条 ─────────────────────────────────────────────── */
.buy-single {
background: #fff;
border-radius: 16rpx;
padding: 48rpx 32rpx;
display: flex;
flex-direction: column;
align-items: center;
}
.buy-title {
font-size: 34rpx;
font-weight: 600;
color: #222;
text-align: center;
}
.buy-price {
margin-top: 24rpx;
font-size: 44rpx;
color: #ff4d4f;
font-weight: 600;
}
/* ── 列表 ─────────────────────────────────────────────── */
.buy-list {
background: #fff;
border-radius: 16rpx;
overflow: hidden;
}
.buy-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 28rpx 24rpx;
border-bottom: 1rpx solid #eee;
}
.buy-item:last-child {
border-bottom: none;
}
.buy-item-main {
flex: 1;
min-width: 0;
margin-right: 20rpx;
display: flex;
flex-direction: column;
}
.buy-item-title {
font-size: 28rpx;
color: #222;
line-height: 1.4;
}
.buy-item-price {
margin-top: 8rpx;
font-size: 26rpx;
color: #ff4d4f;
}
.buy-empty {
padding: 80rpx 0;
text-align: center;
color: #999;
font-size: 26rpx;
}
/* ── 按钮 ─────────────────────────────────────────────── */
.buy-btn {
margin-top: 40rpx;
background: #07c160;
color: #fff;
font-size: 30rpx;
border-radius: 44rpx;
line-height: 2.6;
}
.buy-btn-mini {
margin-top: 0;
flex: none;
font-size: 26rpx;
line-height: 2.4;
padding: 0 30rpx;
}
.buy-btn[disabled] {
background: #d8d8d8;
color: #fff;
}
/* 去掉微信按钮自带的那圈边框 */
.buy-btn::after {
border: none;
}