Files
YGChatCS/pages/order/components/OrderCard/styles/index.scss
2025-07-30 10:26:53 +08:00

117 lines
1.7 KiB
SCSS

.order-card {
background-color: #fff;
border-radius: 6px 6px 12px 12px;
box-shadow: 0px 3px 8px 0 rgba(0, 0, 0, 0.12);
margin: 12px;
transition: all 0.3s ease;
&:active {
transform: scale(0.98);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
&.expired {
filter: grayscale(100%);
}
}
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 14px 14px 12px 16px;
}
.status-info {
display: flex;
align-items: center;
flex: 1;
}
.status-icon {
width: 20px;
height: 20px;
margin-right: 8px;
flex-shrink: 0;
}
.order-title {
font-size: 14px;
font-weight: 500;
color: #333333;
line-height: 1.4;
}
.arrow-icon {
width: 24px;
height: 24px;
}
.status-tag {
box-sizing: border-box;
padding: 6px 16px;
border-radius: 20px;
font-size: 12px;
font-weight: 500;
&.tag-0 {
color: #00a6ff;
border: 1px solid #00a6ff;
}
&.tag-1 {
color: #f00044;
border: 1px solid #f00044;
}
&.tag-2 {
color: #40ae36;
border: 1px solid #40ae36;
}
&.tag-3 {
color: #808389;
border: 1px solid #808389;
}
&.tag-4 {
color: #0256ff;
border: 1px solid #0256ff;
}
&.tag-5 {
color: #808389;
border: 1px solid #808389;
}
&.tag-6 {
color: #fd8702;
border: 1px solid #fd8702;
}
}
.action-area {
padding-bottom: 16px;
}
.action-btn {
width: 280px;
height: 42px;
border-radius: 50px;
border: 2px solid #ffca70;
font-size: 14px;
font-weight: 500;
transition: all 0.3s ease;
background: linear-gradient(179deg, #ffb100 0%, #ff7f19 100%);
color: #ffffff;
margin: 0 auto;
&:hover {
background: linear-gradient(135deg, #ff7a00 0%, #ff6600 100%);
}
&:active {
transform: scale(0.95);
}
}