This commit is contained in:
liu
2026-08-14 20:21:50 +08:00
parent 4a5b7003ca
commit 03434feb35
21 changed files with 1513 additions and 629 deletions
+264
View File
@@ -0,0 +1,264 @@
.bill-detail {
min-height: 100vh;
background: #f7f8fa;
padding: 20rpx 24rpx 60rpx;
box-sizing: border-box;
.bill-card {
background: #fff;
border-radius: 16rpx;
padding: 24rpx;
margin-bottom: 16rpx;
&__header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16rpx;
}
&__no {
font-size: 30rpx;
font-weight: 600;
color: #323233;
}
&__status {
font-size: 24rpx;
// 0 待支付 / 1 审核中 / 2 已支付
&--0 { color: #ee0a24; }
&--1 { color: #ff976a; }
&--2 { color: #07c160; }
}
&__tip {
display: block;
margin: -4rpx 0 16rpx;
padding: 12rpx 16rpx;
background: #fffbe8;
border-radius: 8rpx;
font-size: 22rpx;
color: #ed6a0c;
}
&__row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10rpx 0;
&--total {
margin-top: 12rpx;
padding-top: 20rpx;
border-top: 1rpx solid #ebedf0;
}
}
&__label {
font-size: 26rpx;
color: #969799;
flex: 1;
min-width: 0;
padding-right: 20rpx;
}
&__value {
font-size: 26rpx;
color: #323233;
flex-shrink: 0;
}
&__total {
font-size: 34rpx;
font-weight: 600;
color: #ee0a24;
}
}
.bill-section {
&__title {
font-size: 28rpx;
font-weight: 600;
color: #323233;
display: block;
margin-bottom: 8rpx;
}
&__desc {
font-size: 22rpx;
color: #c8c9cc;
display: block;
margin-bottom: 12rpx;
}
}
.bill-goods {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14rpx 0;
border-bottom: 1rpx solid #f2f3f5;
&:last-child {
border-bottom: none;
}
&__main {
flex: 1;
min-width: 0;
}
&__name {
font-size: 28rpx;
color: #323233;
display: block;
}
&__spec {
font-size: 22rpx;
color: #c8c9cc;
display: block;
margin-top: 4rpx;
}
&__side {
text-align: right;
margin-left: 16rpx;
flex-shrink: 0;
}
&__qty {
font-size: 24rpx;
color: #969799;
display: block;
}
&__amount {
font-size: 28rpx;
color: #323233;
font-weight: 500;
display: block;
margin-top: 4rpx;
}
}
.bill-order {
display: flex;
align-items: center;
padding: 14rpx 0;
border-bottom: 1rpx solid #f2f3f5;
&:last-child {
border-bottom: none;
}
&__main {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
}
&__no {
font-size: 26rpx;
color: #323233;
}
&__date {
font-size: 22rpx;
color: #969799;
margin-top: 4rpx;
}
&__status {
font-size: 24rpx;
color: #969799;
margin: 0 16rpx;
flex-shrink: 0;
}
&__amount {
font-size: 26rpx;
color: #323233;
flex-shrink: 0;
}
}
// ===== 订单明细弹层 =====
.order-popup {
padding: 32rpx 32rpx 24rpx;
&__title {
font-size: 32rpx;
font-weight: 600;
display: block;
}
&__meta {
margin-top: 12rpx;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 24rpx;
color: #969799;
}
&__status {
color: #ee0a24;
}
&__list {
max-height: 480rpx;
margin-top: 20rpx;
}
&__item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20rpx 0;
border-bottom: 1rpx solid #f2f3f5;
&-info {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
}
&-name {
font-size: 28rpx;
color: #323233;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
&-spec {
margin-top: 6rpx;
font-size: 22rpx;
color: #969799;
}
&-amount {
font-size: 28rpx;
color: #323233;
font-weight: 500;
margin-left: 20rpx;
}
}
&__footer {
margin-top: 24rpx;
display: flex;
justify-content: flex-end;
}
&__total {
font-size: 30rpx;
color: #ee0a24;
font-weight: 600;
}
}
}