223 lines
4.8 KiB
Plaintext
223 lines
4.8 KiB
Plaintext
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** css ./node_modules/@tarojs/webpack5-runner/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[4]!./src/pages/orders/index.scss ***!
|
|
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
@charset "UTF-8";
|
|
.orders-page {
|
|
padding: 0 24rpx 24rpx;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.page-header {
|
|
padding: 50rpx 32rpx 24rpx;
|
|
margin: 20rpx 0 0;
|
|
}
|
|
|
|
/* 状态Tab */
|
|
.status-tabs {
|
|
margin: 20rpx 0;
|
|
}
|
|
|
|
.tabs-scroll {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tab-item {
|
|
display: inline-block;
|
|
padding: 20rpx 32rpx;
|
|
position: relative;
|
|
}
|
|
|
|
.tab-label {
|
|
font-size: 28rpx;
|
|
color: #b08d8d;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.tab-item.active .tab-label {
|
|
color: #ff9a9e;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.tab-underline {
|
|
position: absolute;
|
|
bottom: 8rpx;
|
|
left: 50%;
|
|
-webkit-transform: translateX(-50%);
|
|
-ms-transform: translateX(-50%);
|
|
transform: translateX(-50%);
|
|
width: 40rpx;
|
|
height: 4rpx;
|
|
background: #ff9a9e;
|
|
border-radius: 4rpx;
|
|
}
|
|
|
|
/* 订单卡片 */
|
|
.orders-list {
|
|
padding: 0;
|
|
}
|
|
|
|
.order-card {
|
|
margin-bottom: 24rpx;
|
|
padding: 28rpx;
|
|
}
|
|
|
|
.order-header {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-justify-content: space-between;
|
|
-ms-flex-pack: justify;
|
|
justify-content: space-between;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
padding-bottom: 20rpx;
|
|
border-bottom: 2rpx dashed #fce4ec;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.order-date {
|
|
font-size: 24rpx;
|
|
color: #b08d8d;
|
|
}
|
|
|
|
.order-body {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-align-items: flex-start;
|
|
-ms-flex-align: start;
|
|
align-items: flex-start;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.order-icon-wrapper {
|
|
width: 120rpx;
|
|
height: 120rpx;
|
|
background: -webkit-linear-gradient(315deg, #fff0f5 0%, #e3f2fd 100%);
|
|
background: linear-gradient(135deg, #fff0f5 0%, #e3f2fd 100%);
|
|
border-radius: 16rpx;
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
-webkit-justify-content: center;
|
|
-ms-flex-pack: center;
|
|
justify-content: center;
|
|
margin-right: 20rpx;
|
|
-webkit-flex-shrink: 0;
|
|
-ms-flex-negative: 0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.order-icon {
|
|
font-size: 56rpx;
|
|
}
|
|
|
|
.order-info {
|
|
-webkit-flex: 1;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
}
|
|
|
|
.order-product {
|
|
font-size: 30rpx;
|
|
font-weight: 700;
|
|
color: #5c3a3a;
|
|
display: block;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.order-sku {
|
|
font-size: 24rpx;
|
|
color: #b08d8d;
|
|
display: block;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.order-meta {
|
|
font-size: 22rpx;
|
|
color: #ccc;
|
|
display: block;
|
|
}
|
|
|
|
.order-footer {
|
|
padding-top: 16rpx;
|
|
border-top: 2rpx dashed #fce4ec;
|
|
}
|
|
|
|
.order-price-bar {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-align-items: baseline;
|
|
-ms-flex-align: baseline;
|
|
align-items: baseline;
|
|
-webkit-justify-content: flex-end;
|
|
-ms-flex-pack: end;
|
|
justify-content: flex-end;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.price-label {
|
|
font-size: 24rpx;
|
|
color: #b08d8d;
|
|
margin-right: 8rpx;
|
|
}
|
|
|
|
.price-value {
|
|
font-size: 36rpx;
|
|
font-weight: 800;
|
|
color: #ff6b81;
|
|
}
|
|
|
|
.order-actions {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-justify-content: flex-end;
|
|
-ms-flex-pack: end;
|
|
justify-content: flex-end;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.order-btn {
|
|
padding: 14rpx 28rpx !important;
|
|
font-size: 26rpx !important;
|
|
border-radius: 40rpx !important;
|
|
}
|
|
|
|
/* 空状态 */
|
|
.empty-state {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-flex-direction: column;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
padding: 120rpx 40rpx;
|
|
}
|
|
|
|
.empty-icon {
|
|
font-size: 100rpx;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
|
|
.empty-text {
|
|
font-size: 36rpx;
|
|
font-weight: 700;
|
|
color: #5c3a3a;
|
|
margin-bottom: 12rpx;
|
|
}
|
|
|
|
.empty-sub {
|
|
font-size: 28rpx;
|
|
color: #b08d8d;
|
|
margin-bottom: 40rpx;
|
|
}
|