Files
JayuCloud/WeChatProgram/pages/orders/index.wxss
T

127 lines
1.7 KiB
Plaintext
Raw Normal View History

2026-04-01 15:18:35 +08:00
.orders-hero {
margin-bottom: 20rpx;
}
.order-card + .order-card {
margin-top: 20rpx;
}
.order-card {
padding: 26rpx;
}
.order-head,
.order-foot {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 18rpx;
}
.order-head {
padding-bottom: 18rpx;
border-bottom: 2rpx solid #f3e7eb;
}
.order-head-copy {
flex: 1;
min-width: 0;
}
.order-label {
display: block;
font-size: 22rpx;
color: #8d7a84;
}
.order-no {
display: block;
margin-top: 10rpx;
font-size: 24rpx;
line-height: 1.6;
color: #5d4b55;
}
.order-status {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 120rpx;
height: 48rpx;
padding: 0 16rpx;
border-radius: 999rpx;
font-size: 22rpx;
font-weight: 700;
}
.order-status.pending {
background: #fff6e8;
color: #cb7b00;
}
.order-status.completed {
background: #ecfbf3;
color: #2ea36f;
}
.order-status.cancelled {
background: #fff1f5;
color: #d5536f;
}
.order-item {
display: flex;
gap: 18rpx;
margin-top: 22rpx;
}
.order-thumb {
width: 132rpx;
height: 132rpx;
border-radius: 20rpx;
background: #f6edf1;
}
.order-main {
flex: 1;
}
.order-title {
font-size: 28rpx;
font-weight: 700;
color: #2d2430;
line-height: 1.5;
}
.order-line {
margin-top: 10rpx;
font-size: 24rpx;
color: #8d7a84;
line-height: 1.6;
}
.order-foot {
margin-top: 24rpx;
align-items: center;
}
.order-amount {
font-size: 28rpx;
font-weight: 700;
color: #2d2430;
}
.cancel-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 144rpx;
height: 60rpx;
padding: 0 18rpx;
border-radius: 999rpx;
background: #fff1f5;
color: #d5536f;
font-size: 24rpx;
font-weight: 700;
}