147 lines
2.3 KiB
CSS
147 lines
2.3 KiB
CSS
page{
|
|
background-color: #f4f7fb;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.tabs {
|
|
display: flex;
|
|
align-items: center;
|
|
background: #ffffff;
|
|
height: 100rpx;
|
|
padding: 0 20rpx;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tabItem {
|
|
font-size: 25rpx;
|
|
color: #222222;
|
|
margin-right: 60rpx;
|
|
height: 42rpx;
|
|
}
|
|
|
|
.active2 {
|
|
font-size: 25rpx;
|
|
font-weight: 700;
|
|
position: relative;
|
|
}
|
|
|
|
.active2::after {
|
|
content: '';
|
|
background: url(https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/com_active.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
width: 52rpx;
|
|
height: 22rpx;
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: -16rpx;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
/* 订单列表样式 */
|
|
.order-list {
|
|
padding: 30rpx;
|
|
height: 85vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.order-card {
|
|
background-color: #ffffff;
|
|
border-radius: 20rpx;
|
|
margin-bottom: 30rpx;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.order-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 30rpx;
|
|
background: linear-gradient(to right, #ffe7e7, #ffffff);
|
|
}
|
|
|
|
.order-number {
|
|
font-size: 26rpx;
|
|
color: #333;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.order-status {
|
|
font-size: 26rpx;
|
|
padding: 5rpx 20rpx;
|
|
border-radius: 50rpx;
|
|
}
|
|
|
|
.order-status.pending {
|
|
color: #999999;
|
|
}
|
|
|
|
.order-status.using {
|
|
color: #ff4219;
|
|
}
|
|
|
|
.order-status.expired {
|
|
color: #999999;
|
|
}
|
|
|
|
.order-content {
|
|
padding: 30rpx;
|
|
}
|
|
|
|
.order-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20rpx 0;
|
|
}
|
|
|
|
.order-item.amount {
|
|
padding-top: 30rpx;
|
|
}
|
|
|
|
.order-label {
|
|
font-size: 28rpx;
|
|
color: #666666;
|
|
}
|
|
|
|
.order-value {
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
text-align: right;
|
|
}
|
|
|
|
.amount-value {
|
|
color: #ff4219;
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.order-value.paid {
|
|
color: #4CD964;
|
|
}
|
|
|
|
.order-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
padding: 30rpx;
|
|
border-top: 1rpx solid #f0f0f0;
|
|
}
|
|
|
|
.cancel-button {
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
background-color: #d9d9d9;
|
|
padding: 15rpx 40rpx;
|
|
border-radius: 50rpx;
|
|
margin-right: 20rpx;
|
|
}
|
|
|
|
.pay-button {
|
|
font-size: 28rpx;
|
|
color: #ffffff;
|
|
background-color: #ff4219;
|
|
padding: 15rpx 40rpx;
|
|
border-radius: 50rpx;
|
|
} |