214 lines
3.1 KiB
Plaintext
214 lines
3.1 KiB
Plaintext
/* pages/orders/orders.wxss */
|
|
|
|
.dingdan-page {
|
|
background: #f2f2f2;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* TAB栏 */
|
|
.dingdan-tabs-scroll {
|
|
width: 100%;
|
|
background: #fff;
|
|
white-space: nowrap;
|
|
border-bottom: 1rpx solid #f0f0f0;
|
|
}
|
|
|
|
.dingdan-tabs-container {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 88rpx;
|
|
padding: 0 8rpx;
|
|
}
|
|
|
|
.dingdan-tab-item {
|
|
position: relative;
|
|
padding: 0 28rpx;
|
|
height: 88rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.tab-text {
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
font-weight: 400;
|
|
line-height: 1;
|
|
}
|
|
|
|
.dingdan-tab-item.tab-active .tab-text {
|
|
color: #e02e24;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.tab-active-line {
|
|
width: 40rpx;
|
|
height: 6rpx;
|
|
background: #e02e24;
|
|
border-radius: 3rpx;
|
|
margin-top: 10rpx;
|
|
}
|
|
|
|
/* 列表区 */
|
|
.dingdan-list-container {
|
|
padding: 20rpx 24rpx;
|
|
}
|
|
|
|
/* 加载 */
|
|
.loading-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 400rpx;
|
|
}
|
|
|
|
.loading-spinner {
|
|
width: 56rpx;
|
|
height: 56rpx;
|
|
border: 4rpx solid #f0f0f0;
|
|
border-top-color: #e02e24;
|
|
border-radius: 50%;
|
|
animation: spin 0.7s linear infinite;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.loading-text {
|
|
font-size: 26rpx;
|
|
color: #999;
|
|
}
|
|
|
|
/* 空状态 */
|
|
.empty-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 500rpx;
|
|
}
|
|
|
|
.empty-image {
|
|
width: 200rpx;
|
|
height: 200rpx;
|
|
opacity: 0.5;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
|
|
.empty-text {
|
|
font-size: 30rpx;
|
|
color: #999;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.empty-subtext {
|
|
font-size: 24rpx;
|
|
color: #bbb;
|
|
}
|
|
|
|
/* 订单卡片 */
|
|
.dingdan-card {
|
|
display: flex;
|
|
align-items: center;
|
|
background: #fff;
|
|
border-radius: 12rpx;
|
|
padding: 24rpx;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.dingdan-card-left {
|
|
flex-shrink: 0;
|
|
margin-right: 20rpx;
|
|
}
|
|
|
|
.dingdan-image {
|
|
width: 160rpx;
|
|
height: 160rpx;
|
|
border-radius: 8rpx;
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.dingdan-card-center {
|
|
flex: 1;
|
|
height: 160rpx;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.dingdan-jieshao {
|
|
font-size: 28rpx;
|
|
line-height: 40rpx;
|
|
color: #333;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 3;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dingdan-card-right {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
height: 160rpx;
|
|
margin-left: 16rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dingdan-zhuangtai {
|
|
font-size: 24rpx;
|
|
color: #e02e24;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.dingdan-jine {
|
|
display: flex;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.jine-symbol {
|
|
font-size: 24rpx;
|
|
color: #333;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.jine-number {
|
|
font-size: 32rpx;
|
|
color: #333;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* 加载更多 */
|
|
.load-more-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24rpx 0;
|
|
}
|
|
|
|
.load-more-line {
|
|
width: 80rpx;
|
|
height: 1rpx;
|
|
background: #e0e0e0;
|
|
}
|
|
|
|
.load-more-text {
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
white-space: nowrap;
|
|
margin: 0 20rpx;
|
|
}
|
|
|
|
.no-more-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24rpx 0;
|
|
}
|
|
|
|
.no-more-text {
|
|
font-size: 24rpx;
|
|
color: #ccc;
|
|
}
|