252 lines
3.7 KiB
Plaintext
252 lines
3.7 KiB
Plaintext
/* 状态筛选 */
|
|
.status-tabs {
|
|
display: flex;
|
|
background: #fff;
|
|
border-radius: 16rpx;
|
|
padding: 8rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.status-tabs .tab {
|
|
flex: 1;
|
|
text-align: center;
|
|
padding: 16rpx 0;
|
|
font-size: 28rpx;
|
|
color: var(--text-secondary);
|
|
border-radius: 12rpx;
|
|
}
|
|
|
|
.status-tabs .tab.active {
|
|
background: var(--primary-color);
|
|
color: #fff;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* 订单列表 */
|
|
.order-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20rpx;
|
|
}
|
|
|
|
.order-item {
|
|
background: #fff;
|
|
border-radius: 16rpx;
|
|
padding: 24rpx;
|
|
}
|
|
|
|
.order-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 16rpx;
|
|
padding-bottom: 16rpx;
|
|
border-bottom: 1rpx solid var(--border-color);
|
|
}
|
|
|
|
.order-no {
|
|
font-size: 24rpx;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.order-status {
|
|
font-size: 24rpx;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.order-status.status-0 {
|
|
color: #FAAD14;
|
|
}
|
|
|
|
.order-status.status-1 {
|
|
color: #52C41A;
|
|
}
|
|
|
|
.order-status.status-2 {
|
|
color: #999;
|
|
}
|
|
|
|
.order-content {
|
|
display: flex;
|
|
gap: 16rpx;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.order-content .product-image {
|
|
width: 140rpx;
|
|
height: 140rpx;
|
|
border-radius: 12rpx;
|
|
background: #eee;
|
|
}
|
|
|
|
.order-content .product-info {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.product-name {
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.store-name {
|
|
font-size: 24rpx;
|
|
color: var(--secondary-color);
|
|
}
|
|
|
|
.points-used {
|
|
font-size: 28rpx;
|
|
color: var(--primary-color);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.order-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.order-time {
|
|
font-size: 24rpx;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.btn-qrcode {
|
|
background: var(--primary-color);
|
|
color: #fff;
|
|
padding: 12rpx 24rpx;
|
|
border-radius: 20rpx;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
/* 订单弹窗 */
|
|
.order-modal {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 999;
|
|
}
|
|
|
|
.order-modal .modal-content {
|
|
background: #fff;
|
|
border-radius: 20rpx;
|
|
padding: 30rpx;
|
|
width: 85%;
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
|
|
.modal-title {
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.modal-body {
|
|
text-align: center;
|
|
}
|
|
|
|
.modal-body .product-image {
|
|
width: 200rpx;
|
|
height: 200rpx;
|
|
border-radius: 12rpx;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.modal-body .product-name {
|
|
display: block;
|
|
font-size: 30rpx;
|
|
font-weight: 500;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.modal-body .points-used {
|
|
display: block;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
|
|
.qrcode-section {
|
|
background: var(--light-bg);
|
|
border-radius: 16rpx;
|
|
padding: 30rpx;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
|
|
.qrcode-canvas {
|
|
width: 400rpx;
|
|
height: 400rpx;
|
|
margin: 0 auto 16rpx;
|
|
}
|
|
|
|
.qrcode-text {
|
|
display: block;
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
color: var(--primary-color);
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.qrcode-tip {
|
|
display: block;
|
|
font-size: 24rpx;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.store-section {
|
|
text-align: left;
|
|
background: var(--light-bg);
|
|
border-radius: 12rpx;
|
|
padding: 20rpx;
|
|
}
|
|
|
|
.section-title {
|
|
display: block;
|
|
font-size: 26rpx;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.store-section .store-name {
|
|
display: block;
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
margin-bottom: 4rpx;
|
|
}
|
|
|
|
.store-address {
|
|
display: block;
|
|
font-size: 24rpx;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.store-contact {
|
|
display: block;
|
|
font-size: 24rpx;
|
|
color: var(--secondary-color);
|
|
margin-top: 8rpx;
|
|
}
|
|
|
|
/* 空状态 */
|
|
.empty-state {
|
|
padding: 100rpx 0;
|
|
}
|
|
|
|
.empty-state image {
|
|
width: 200rpx;
|
|
height: 200rpx;
|
|
}
|