.bill-detail { min-height: 100vh; background: #f7f8fa; padding: 20rpx 24rpx 60rpx; box-sizing: border-box; // 可付款时为底部操作栏留出空间 &--pay { padding-bottom: 160rpx; } .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; // 回筐抵扣(负附加金额) &--return { color: #07c160; } } &__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; } &__img { width: 72rpx; height: 72rpx; border-radius: 8rpx; background: #f2f3f5; flex-shrink: 0; margin-right: 16rpx; } &__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; } &__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; } } // ===== 去付款操作栏 ===== .bill-pay-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99; display: flex; align-items: center; padding: 16rpx 24rpx calc(16rpx + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -2rpx 12rpx rgba(0, 0, 0, 0.06); &__info { flex: 1; min-width: 0; display: flex; align-items: baseline; } &__label { font-size: 26rpx; color: #646566; } &__amount { margin-left: 16rpx; font-size: 36rpx; color: #ee0a24; font-weight: 600; } &__btn { padding: 14rpx 48rpx; border-radius: 999rpx; background: #ee0a24; color: #fff; font-size: 28rpx; font-weight: 500; } } }