git init
This commit is contained in:
@@ -0,0 +1,293 @@
|
||||
/* ========== 发布订单页面 - 大厂专业设计风格 ========== */
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
body { background: #f5f6fa; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif; min-height: 100vh; -webkit-font-smoothing: antialiased; }
|
||||
|
||||
/* ========== 头部区域 ========== */
|
||||
.header-section {
|
||||
background: linear-gradient(135deg, #018fa5 0%, #0a7a8c 50%, #0b6b7c 100%);
|
||||
padding: 16px 0 0;
|
||||
color: #fff;
|
||||
border-radius: 0 0 20px 20px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.header-section::before {
|
||||
content: ''; position: absolute; top: -35px; right: -25px;
|
||||
width: 130px; height: 130px; background: rgba(138,202,188,0.14); border-radius: 50%;
|
||||
}
|
||||
.header-section::after {
|
||||
content: ''; position: absolute; bottom: -22px; left: 28px;
|
||||
width: 85px; height: 85px; background: rgba(138,202,188,0.09); border-radius: 50%;
|
||||
}
|
||||
|
||||
.header-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 18px 18px 18px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.header-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
.header-left .van-icon { cursor: pointer; transition: opacity 0.2s; }
|
||||
.header-left .van-icon:active { opacity: 0.7; }
|
||||
.page-title { font-size: 19px; font-weight: 700; letter-spacing: 0.5px; }
|
||||
.header-actions { display: flex; gap: 10px; }
|
||||
.icon-btn {
|
||||
height: 34px;
|
||||
padding: 0 12px;
|
||||
border-radius: 12px;
|
||||
background: rgba(255,255,255,0.15);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
transition: all 0.2s ease; backdrop-filter: blur(4px);
|
||||
cursor: pointer;
|
||||
}
|
||||
.icon-btn:active { transform: scale(0.95); background: rgba(255,255,255,0.28); }
|
||||
|
||||
/* ========== 表单容器 ========== */
|
||||
.form-wrapper { padding: 14px 12px 100px; }
|
||||
|
||||
/* ========== 表单卡片 ========== */
|
||||
.form-card {
|
||||
background: #fff;
|
||||
border-radius: 16px;
|
||||
margin-bottom: 13px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 1px 4px rgba(1,143,165,0.04), 0 3px 12px rgba(1,143,165,0.06);
|
||||
border: 1px solid rgba(1,143,165,0.05);
|
||||
}
|
||||
.fc-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 16px 16px 4px;
|
||||
}
|
||||
.fc-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 15.5px;
|
||||
font-weight: 600;
|
||||
color: #1a1a2e;
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
.fc-body { padding: 4px 0 8px; }
|
||||
.fc-body .van-cell { padding: 10px 16px !important; }
|
||||
|
||||
/* ========== 服务类型选择卡片 ========== */
|
||||
.form-card-type { padding: 16px 16px 8px; }
|
||||
.type-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 12px;
|
||||
margin-top: 14px;
|
||||
}
|
||||
.type-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 18px 12px 14px;
|
||||
border-radius: 14px;
|
||||
border: 2px solid #f0f1f5;
|
||||
background: #fafbfd;
|
||||
cursor: pointer;
|
||||
transition: all 0.25s cubic-bezier(.25,.46,.45,.94);
|
||||
text-align: center;
|
||||
}
|
||||
.type-item:active { transform: scale(0.96); }
|
||||
.type-active {
|
||||
border-color: #018fa5 !important;
|
||||
background: linear-gradient(145deg, #f0f9fb, #e6f5f8) !important;
|
||||
box-shadow: 0 4px 14px rgba(1,143,165,0.18) !important;
|
||||
}
|
||||
.type-icon-wrap {
|
||||
width: 52px; height: 52px;
|
||||
border-radius: 14px;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
margin-bottom: 2px;
|
||||
transition: all 0.25s ease;
|
||||
}
|
||||
.wrap-hospital { background: linear-gradient(145deg, #e6f5f8, #d0ebe8); }
|
||||
.wrap-outpatient { background: linear-gradient(145deg, #fef6ec, #fcebd6); }
|
||||
.wrap-home { background: linear-gradient(145deg, #eaf7ee, #ddf0e4); }
|
||||
.wrap-maternal { background: linear-gradient(145deg, #fdf0f7, #fae3ee); }
|
||||
.type-active .wrap-hospital,
|
||||
.type-active .wrap-outpatient,
|
||||
.type-active .wrap-home,
|
||||
.type-active .wrap-maternal {
|
||||
background: linear-gradient(135deg, #018fa5, #0a7a8c);
|
||||
}
|
||||
.type-name {
|
||||
font-size: 14.5px;
|
||||
font-weight: 650;
|
||||
color: #333;
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
.type-active .type-name { color: #018fa5; }
|
||||
.type-desc {
|
||||
font-size: 11.5px;
|
||||
color: #aaa;
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
.type-active .type-desc { color: #018fa5; opacity: 0.75; }
|
||||
|
||||
/* ========== Vant字段样式覆盖 ========== */
|
||||
.van-field__label {
|
||||
width: 80px !important;
|
||||
font-size: 14px !important;
|
||||
font-weight: 500 !important;
|
||||
color: #555 !important;
|
||||
}
|
||||
.van-field__control {
|
||||
font-size: 14px !important;
|
||||
color: #333 !important;
|
||||
}
|
||||
.van-field__control::placeholder { color: #bbb !important; }
|
||||
.van-cell::after { left: 16px !important; right: 16px !important; border-color: #f2f3f5 !important; }
|
||||
|
||||
/* ========== 服务时间提示 ========== */
|
||||
.duration-tip {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin: 8px 16px 10px;
|
||||
padding: 10px 14px;
|
||||
background: #f0f9fb;
|
||||
border-radius: 10px;
|
||||
border: 1px solid #d0ebe8;
|
||||
font-size: 13px;
|
||||
color: #666;
|
||||
}
|
||||
.duration-tip strong { color: #018fa5; font-weight: 600; }
|
||||
.duration-tip .van-icon { color: #018fa5; }
|
||||
|
||||
/* ========== 技能标签区域 ========== */
|
||||
.skill-tags-section { padding: 8px 16px 12px; }
|
||||
.skill-tags-label { font-size: 13px; color: #888; margin-bottom: 10px; }
|
||||
.skill-tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
|
||||
.skill-tag {
|
||||
padding: 7px 14px;
|
||||
border-radius: 20px;
|
||||
font-size: 13px;
|
||||
color: #777;
|
||||
background: #f5f6fa;
|
||||
border: 1.5px solid #eee;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.skill-tag:active { transform: scale(0.94); }
|
||||
.skill-active {
|
||||
background: linear-gradient(135deg, #e6f5f8, #d0ebe8);
|
||||
color: #018fa5;
|
||||
border-color: #018fa5;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* ========== 费用预估卡片 ========== */
|
||||
.price-preview {
|
||||
background: linear-gradient(145deg, #fffbf5, #fef8f0);
|
||||
border: 1.5px solid #f0e6d0;
|
||||
}
|
||||
.price-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 16px;
|
||||
}
|
||||
.price-label { font-size: 15px; font-weight: 600; color: #555; }
|
||||
.price-value { display: flex; align-items: baseline; }
|
||||
.price-value .yen {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: #dc3545;
|
||||
}
|
||||
.price-value .amount {
|
||||
font-size: 28px;
|
||||
font-weight: 800;
|
||||
color: #dc3545;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
.price-detail {
|
||||
padding: 0 16px 14px;
|
||||
border-top: 1px dashed #eeddbb;
|
||||
margin-top: 4px;
|
||||
padding-top: 12px;
|
||||
}
|
||||
.price-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-size: 12.5px;
|
||||
color: #999;
|
||||
line-height: 2;
|
||||
}
|
||||
.price-item span:last-child { color: #888; font-weight: 500; }
|
||||
|
||||
/* ========== 底部操作栏 ========== */
|
||||
.bottom-bar {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 10px 16px;
|
||||
padding-bottom: calc(10px + env(safe-area-inset-bottom));
|
||||
background: #fff;
|
||||
box-shadow: 0 -2px 14px rgba(0,0,0,0.06);
|
||||
z-index: 100;
|
||||
}
|
||||
.bottom-left { display: flex; flex-direction: column; gap: 2px; }
|
||||
.total-price { display: flex; align-items: baseline; gap: 4px; }
|
||||
.tp-label { font-size: 13px; color: #999; }
|
||||
.tp-value { font-size: 22px; font-weight: 800; color: #dc3545; }
|
||||
.tp-yen { font-size: 14px; font-weight: 700; }
|
||||
.tp-desc { font-size: 11px; color: #bbb; }
|
||||
.submit-btn {
|
||||
min-width: 120px !important;
|
||||
height: 44px !important;
|
||||
font-size: 16px !important;
|
||||
font-weight: 650 !important;
|
||||
letter-spacing: 1px !important;
|
||||
background: linear-gradient(135deg, #018fa5, #0a7a8c) !important;
|
||||
border: none !important;
|
||||
box-shadow: 0 4px 14px rgba(1,143,165,0.35);
|
||||
}
|
||||
.submit-btn:active { transform: scale(0.97); }
|
||||
|
||||
/* ========== 弹窗/选择器样式 ========== */
|
||||
.van-picker__toolbar { border-bottom: 1px solid #f2f3f5; }
|
||||
.van-picker__title { font-weight: 600; color: #333; }
|
||||
.van-picker__confirm { color: #018fa5 !important; font-weight: 600; }
|
||||
|
||||
/* ========== 动画 ========== */
|
||||
@keyframes fadeInUp {
|
||||
from { opacity: 0; transform: translateY(16px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
.form-card:nth-child(1) { animation: fadeInUp 0.35s ease-out 0.02s both; }
|
||||
.form-card:nth-child(2) { animation: fadeInUp 0.35s ease-out 0.08s both; }
|
||||
.form-card:nth-child(3) { animation: fadeInUp 0.35s ease-out 0.14s both; }
|
||||
.form-card:nth-child(4) { animation: fadeInUp 0.35s ease-out 0.20s both; }
|
||||
.form-card:nth-child(5) { animation: fadeInUp 0.35s ease-out 0.26s both; }
|
||||
.form-card:nth-child(6) { animation: fadeInUp 0.35s ease-out 0.32s both; }
|
||||
.form-card:nth-child(n+7) { animation: fadeInUp 0.35s ease-out 0.38s both; }
|
||||
|
||||
/* ========== 响应式适配 ========== */
|
||||
@media (max-width: 360px) {
|
||||
.type-grid { gap: 8px; }
|
||||
.type-item { padding: 14px 8px 12px; }
|
||||
.type-icon-wrap { width: 44px; height: 44px; border-radius: 12px; }
|
||||
.type-icon-wrap .van-icon { size: 20px; }
|
||||
.type-name { font-size: 13.5px; }
|
||||
.price-value .amount { font-size: 24px; }
|
||||
.submit-btn { min-width: 100px !important; height: 40px !important; font-size: 15px !important; }
|
||||
.van-field__label { width: 70px !important; font-size: 13px !important; }
|
||||
}
|
||||
@@ -0,0 +1,353 @@
|
||||
/* ========== 订单页面 - 大厂专业设计风格 ========== */
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
body { background: #f5f6fa; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif; min-height: 100vh; -webkit-font-smoothing: antialiased; }
|
||||
|
||||
/* ========== 头部区域 - 统一主题色 ========== */
|
||||
.header-section {
|
||||
background: linear-gradient(135deg, #018fa5 0%, #0a7a8c 50%, #0b6b7c 100%);
|
||||
padding: 16px 0 0;
|
||||
color: #fff;
|
||||
border-radius: 0 0 20px 20px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.header-section::before {
|
||||
content: ''; position: absolute; top: -35px; right: -25px;
|
||||
width: 130px; height: 130px; background: rgba(138,202,188,0.14); border-radius: 50%;
|
||||
}
|
||||
.header-section::after {
|
||||
content: ''; position: absolute; bottom: -22px; left: 28px;
|
||||
width: 85px; height: 85px; background: rgba(138,202,188,0.09); border-radius: 50%;
|
||||
}
|
||||
|
||||
.header-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 18px 18px 14px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.page-title {
|
||||
font-size: 19px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
.header-actions { display: flex; gap: 10px; }
|
||||
.icon-btn {
|
||||
width: 36px; height: 36px; border-radius: 12px;
|
||||
background: rgba(255,255,255,0.15);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
transition: all 0.2s ease; backdrop-filter: blur(4px);
|
||||
}
|
||||
.icon-btn:active { transform: scale(0.92); background: rgba(255,255,255,0.28); }
|
||||
|
||||
/* Tab栏 */
|
||||
.header-section .van-tabs {
|
||||
background: transparent !important;
|
||||
position: relative; z-index: 1;
|
||||
}
|
||||
.header-section .van-tabs__nav { background: transparent !important; }
|
||||
.header-section .van-tab {
|
||||
color: rgba(255,255,255,0.7);
|
||||
font-size: 13.5px;
|
||||
font-weight: 500;
|
||||
padding: 8px 10px !important;
|
||||
}
|
||||
.header-section .van-tab--active {
|
||||
color: #fff !important;
|
||||
font-weight: 700;
|
||||
}
|
||||
.header-section .van-tabs__line {
|
||||
background: #fff !important;
|
||||
width: 22px !important;
|
||||
height: 3px !important;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
|
||||
}
|
||||
|
||||
/* ========== 订单列表容器 ========== */
|
||||
.order-list-wrapper { padding: 14px 12px 80px; }
|
||||
|
||||
/* ========== 订单卡片 - 核心设计 ========== */
|
||||
.order-card {
|
||||
background: #fff;
|
||||
border-radius: 16px;
|
||||
margin-bottom: 13px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 1px 4px rgba(1,143,165,0.04), 0 3px 12px rgba(1,143,165,0.06);
|
||||
transition: all 0.25s cubic-bezier(.25,.46,.45,.94);
|
||||
border: 1px solid rgba(1,143,165,0.05);
|
||||
}
|
||||
.order-card:active {
|
||||
transform: scale(0.985);
|
||||
box-shadow: 0 2px 8px rgba(1,143,165,0.08), 0 6px 20px rgba(1,143,165,0.1);
|
||||
}
|
||||
|
||||
/* ---- 卡片顶部:状态 + 订单号 + 时间 ---- */
|
||||
.oc-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 14px 16px 10px;
|
||||
}
|
||||
.oc-top-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* 状态圆点 */
|
||||
.oc-status-dot {
|
||||
width: 8px; height: 8px; border-radius: 50%;
|
||||
flex-shrink: 0;
|
||||
animation: pulse-dot 2s infinite;
|
||||
}
|
||||
@keyframes pulse-dot {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0.4; }
|
||||
}
|
||||
.dot-pending { background: #e08c28; }
|
||||
.dot-ongoing { background: #018fa5; }
|
||||
.dot-completed { background: #2ba245; }
|
||||
.dot-cancelled { background: #ccc; }
|
||||
.dot-cancelled { animation: none; }
|
||||
|
||||
/* 状态文字 */
|
||||
.oc-status-text {
|
||||
font-size: 12.5px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.3px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.text-pending { color: #e08c28; }
|
||||
.text-ongoing { color: #018fa5; }
|
||||
.text-completed { color: #2ba245; }
|
||||
.text-cancelled { color: #bbb; }
|
||||
|
||||
/* 订单号 */
|
||||
.oc-no {
|
||||
font-size: 11.5px;
|
||||
color: #bbb;
|
||||
letter-spacing: 0.3px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* 时间 */
|
||||
.oc-time {
|
||||
font-size: 11px;
|
||||
color: #333;
|
||||
flex-shrink: 0;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
/* ---- 核心信息区(图标+详情)---- */
|
||||
.oc-main {
|
||||
display: flex;
|
||||
gap: 14px;
|
||||
padding: 2px 16px 12px;
|
||||
}
|
||||
|
||||
/* 左侧服务图标 */
|
||||
.oc-service-icon {
|
||||
width: 52px; height: 52px;
|
||||
border-radius: 14px;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.icon-pending { background: linear-gradient(145deg, #fef6ec, #fcebd6); color: #e08c28; }
|
||||
.icon-ongoing { background: linear-gradient(145deg, #e6f5f8, #d0ebe8); color: #018fa5; }
|
||||
.icon-completed { background: linear-gradient(145deg, #eaf7ee, #ddf0e4); color: #2ba245; }
|
||||
.icon-cancelled { background: linear-gradient(145deg, #f5f5f5, #ececec); color: #bbb; }
|
||||
|
||||
/* 右侧详情 */
|
||||
.oc-detail { flex: 1; min-width: 0; }
|
||||
|
||||
/* 服务类型行 */
|
||||
.oc-title-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 7px;
|
||||
}
|
||||
.oc-service-type {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: #1a1a2e;
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
|
||||
/* 元信息行 */
|
||||
.oc-meta-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
|
||||
.oc-meta-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
font-size: 12.5px;
|
||||
color: #888;
|
||||
}
|
||||
.oc-meta-item .van-icon { color: #999; line-height: 1; }
|
||||
.oc-location {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* 护工信息条 */
|
||||
.oc-nurse-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
margin-top: 9px;
|
||||
padding: 8px 10px;
|
||||
background: #fafbfd;
|
||||
border-radius: 10px;
|
||||
border: 1px solid #f0f1f3;
|
||||
}
|
||||
.nurse-avatar-sm {
|
||||
width: 24px; height: 24px;
|
||||
border-radius: 7px;
|
||||
background: linear-gradient(135deg, #e6f5f8, #d0ebe8);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
color: #018fa5;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.nurse-name-sm {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
}
|
||||
.nurse-rating-sm {
|
||||
font-size: 11.5px;
|
||||
font-weight: 600;
|
||||
color: #e08c28;
|
||||
}
|
||||
.nurse-exp-sm {
|
||||
font-size: 11.5px;
|
||||
color: #999;
|
||||
}
|
||||
.nurse-phone-sm {
|
||||
font-size: 14px;
|
||||
color: #018fa5;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 2px 6px;
|
||||
border-radius: 4px;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.nurse-phone-sm:active { background: rgba(1,143,165,0.08); }
|
||||
|
||||
/* ---- 备注预览 ---- */
|
||||
.oc-remark {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 6px;
|
||||
margin: 0 16px;
|
||||
padding: 10px 12px;
|
||||
background: #fffbf5;
|
||||
/* border-radius: 10px; */
|
||||
border-left: 3px solid #f0ce68;
|
||||
}
|
||||
.oc-remark .van-icon {
|
||||
color: #d4a832;
|
||||
margin-top: 1px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.oc-remark span {
|
||||
font-size: 12.5px;
|
||||
color: #997a22;
|
||||
line-height: 1.5;
|
||||
word-break: break-all;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* ---- 底部操作栏 ---- */
|
||||
.oc-bottom {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 13px 16px;
|
||||
border-top: 1px solid #f5f6f8;
|
||||
background: #fcfcfd;
|
||||
}
|
||||
|
||||
/* 价格区块 */
|
||||
.oc-price-block {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 6px;
|
||||
}
|
||||
.oc-price-label {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
}
|
||||
.oc-price-value {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
}
|
||||
.oc-yen {
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
color: #dc3545;
|
||||
}
|
||||
.oc-amount {
|
||||
font-size: 22px;
|
||||
font-weight: 800;
|
||||
color: #dc3545;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
|
||||
/* 操作按钮组 */
|
||||
.oc-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.oc-actions .van-button {
|
||||
height: 30px;
|
||||
padding: 0 16px;
|
||||
font-size: 12.5px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
|
||||
/* 空状态 */
|
||||
.empty-btn { margin-top: 14px; }
|
||||
|
||||
/* 底部导航 */
|
||||
:deep(.van-tabbar) { box-shadow: 0 -2px 14px rgba(0,0,0,0.05); }
|
||||
:deep(.van-tabbar-item--active) { color: #018fa5 !important; }
|
||||
|
||||
/* 搜索弹窗 */
|
||||
:deep(.van-search__content) { background: #fff !important; border-radius: 10px !important; }
|
||||
:deep(.van-field__control) { font-size: 13px; }
|
||||
|
||||
/* ========== 入场动画 ========== */
|
||||
@keyframes fadeInUp {
|
||||
from { opacity: 0; transform: translateY(16px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
.order-card:nth-child(1) { animation: fadeInUp 0.35s ease-out 0.02s both; }
|
||||
.order-card:nth-child(2) { animation: fadeInUp 0.35s ease-out 0.07s both; }
|
||||
.order-card:nth-child(3) { animation: fadeInUp 0.35s ease-out 0.12s both; }
|
||||
.order-card:nth-child(4) { animation: fadeInUp 0.35s ease-out 0.17s both; }
|
||||
.order-card:nth-child(n+5) { animation: fadeInUp 0.35s ease-out 0.22s both; }
|
||||
|
||||
/* ========== 响应式适配 ========== */
|
||||
@media (max-width: 360px) {
|
||||
.oc-service-icon { width: 46px; height: 46px; border-radius: 12px; }
|
||||
.oc-service-type { font-size: 15px; }
|
||||
.oc-meta-item { font-size: 12px; }
|
||||
.oc-amount { font-size: 19px; }
|
||||
.oc-actions .van-button { height: 28px; padding: 0 13px; font-size: 12px; }
|
||||
}
|
||||
Reference in New Issue
Block a user