git init
This commit is contained in:
@@ -0,0 +1,226 @@
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
body { background: #f5f7f9; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif; min-height: 100vh; }
|
||||
|
||||
/* 头部区域 */
|
||||
.header-section {
|
||||
background: linear-gradient(135deg, #018fa5 0%, #0a7a8c 50%, #0b6b7c 100%);
|
||||
padding: 22px 16px 26px;
|
||||
color: #fff;
|
||||
border-radius: 0 0 20px 20px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.header-section::before {
|
||||
content: ''; position: absolute; top: -40px; right: -30px;
|
||||
width: 140px; height: 140px; background: rgba(138,202,188,0.15); border-radius: 50%;
|
||||
}
|
||||
.header-section::after {
|
||||
content: ''; position: absolute; bottom: -25px; left: 30px;
|
||||
width: 90px; height: 90px; background: rgba(138,202,188,0.1); border-radius: 50%;
|
||||
}
|
||||
|
||||
.header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; position: relative; z-index: 1; }
|
||||
.user-info { display: flex; align-items: center; gap: 12px; }
|
||||
.user-avatar {
|
||||
width: 48px; height: 48px; border-radius: 14px;
|
||||
background: rgba(255,255,255,0.18); display: flex;
|
||||
align-items: center; justify-content: center; font-size: 24px;
|
||||
backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.25);
|
||||
}
|
||||
.user-name { font-size: 17px; font-weight: 700; letter-spacing: 0.3px; }
|
||||
.user-desc { font-size: 12px; opacity: 0.85; margin-top: 2px; }
|
||||
.header-actions { display: flex; gap: 10px; position: relative; z-index: 1; }
|
||||
.icon-btn {
|
||||
width: 36px; height: 36px; border-radius: 12px; background: rgba(255,255,255,0.15);
|
||||
display: flex; align-items: center; justify-content: center; cursor: pointer;
|
||||
transition: all 0.2s ease; backdrop-filter: blur(4px);
|
||||
}
|
||||
.icon-btn:active { transform: scale(0.92); background: rgba(255,255,255,0.28); }
|
||||
|
||||
/* 搜索栏 */
|
||||
.search-wrapper { margin-top: 16px; position: relative; z-index: 1; }
|
||||
.search-wrapper :deep(.van-search__content) {
|
||||
background: rgba(255,255,255,0.95) !important;
|
||||
border-radius: 10px !important;
|
||||
box-shadow: 0 2px 8px rgba(1,143,165,0.15);
|
||||
}
|
||||
.search-wrapper :deep(.van-field__control) { font-size: 13px; }
|
||||
.search-wrapper :deep(.van-search__action) { color: #8acabc; font-size: 14px; font-weight: 500; }
|
||||
|
||||
/* 快捷功能区 - 专业风格 */
|
||||
.quick-actions {
|
||||
padding: 0; margin: -14px 16px 0;
|
||||
background: #fff; border-radius: 14px;
|
||||
box-shadow: 0 4px 16px rgba(1,143,165,0.08), 0 1px 3px rgba(0,0,0,0.04);
|
||||
position: relative; z-index: 10; overflow: hidden;
|
||||
}
|
||||
|
||||
/* 快捷功能顶部标题 */
|
||||
.qa-header {
|
||||
padding: 16px 16px 0;
|
||||
display: flex; align-items: center; justify-content: space-between;
|
||||
}
|
||||
.qa-title { font-size: 15px; font-weight: 700; color: #333; display: flex; align-items: center; gap: 6px; }
|
||||
.qa-title-dot {
|
||||
width: 4px; height: 16px; border-radius: 2px;
|
||||
background: linear-gradient(180deg, #018fa5, #8acabc);
|
||||
}
|
||||
.qa-more { font-size: 12px; color: #999; display: flex; align-items: center; gap: 2px; }
|
||||
|
||||
.qa-body { padding: 12px 10px 16px; }
|
||||
|
||||
.qa-grid {
|
||||
display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
|
||||
}
|
||||
.qa-item {
|
||||
display: flex; flex-direction: column; align-items: center;
|
||||
padding: 12px 4px 8px; border-radius: 10px;
|
||||
transition: all 0.2s ease; cursor: pointer;
|
||||
}
|
||||
.qa-item:active { background: #f0fafb; transform: scale(0.96); }
|
||||
|
||||
.qa-icon-wrap {
|
||||
width: 46px; height: 46px; border-radius: 13px;
|
||||
display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
|
||||
position: relative; overflow: hidden;
|
||||
}
|
||||
.qa-icon-wrap.primary { background: linear-gradient(135deg, #e6f5f8 0%, #d0ebe8 100%); }
|
||||
.qa-icon-wrap.success { background: linear-gradient(135deg, #eaf7ee 0%, #ddf0e4 100%); }
|
||||
.qa-icon-wrap.warning { background: linear-gradient(135deg, #fef6ec 0%, #fcebd6 100%); }
|
||||
.qa-icon-wrap.info { background: linear-gradient(135deg, #eef2fe 0%, #e0e8fc 100%); }
|
||||
.qa-icon-wrap.danger { background: linear-gradient(135deg, #feebeb 0%, #fcdedc 100%); }
|
||||
.qa-icon-wrap.purple { background: linear-gradient(135deg, #f3ebfb 0%, #e6daf4 100%); }
|
||||
.qa-icon-wrap.cyan { background: linear-gradient(135deg, #e6fbfb 0%, #ccf2f2 100%); }
|
||||
.qa-icon-wrap.gold { background: linear-gradient(135deg, #fdf6ea 0%, #fbeacc 100%); }
|
||||
|
||||
.qa-icon-wrap .qa-icon-primary { color: #018fa5; }
|
||||
.qa-icon-wrap .qa-icon-success { color: #2ba245; }
|
||||
.qa-icon-wrap .qa-icon-warning { color: #e08c28; }
|
||||
.qa-icon-wrap .qa-icon-info { color: #4a6cf7; }
|
||||
.qa-icon-wrap .qa-icon-danger { color: #dc3545; }
|
||||
.qa-icon-wrap .qa-icon-purple { color: #7c3aed; }
|
||||
.qa-icon-wrap .qa-icon-cyan { color: #0891b2; }
|
||||
.qa-icon-wrap .qa-icon-gold { color: #b8860b; }
|
||||
|
||||
.qa-label { font-size: 12px; color: #444; font-weight: 500; text-align: center; line-height: 1.3; }
|
||||
|
||||
/* 快捷功能底部统计 */
|
||||
.qa-stats {
|
||||
display: flex; padding: 12px 16px; gap: 0;
|
||||
border-top: 1px solid #f3f3f3;
|
||||
}
|
||||
.qa-stat {
|
||||
flex: 1; text-align: center; position: relative;
|
||||
}
|
||||
.qa-stat:not(:last-child)::after {
|
||||
content: ''; position: absolute; right: 0; top: 20%; height: 60%;
|
||||
width: 1px; background: #eee;
|
||||
}
|
||||
.qa-stat-num { font-size: 18px; font-weight: 700; color: #018fa5; line-height: 1.2; }
|
||||
.qa-stat-lbl { font-size: 11px; color: #999; margin-top: 2px; }
|
||||
|
||||
/* 公告栏 */
|
||||
.notice-section { margin: 14px 16px 0; border-radius: 10px; overflow: hidden; }
|
||||
.notice-section :deep(.van-notice-bar) {
|
||||
border-radius: 10px;
|
||||
background: linear-gradient(90deg, #f0f9fa 0%, #e6f5f6 100%);
|
||||
color: #018fa5;
|
||||
}
|
||||
.notice-section :deep(.van-notice-bar .van-icon) { color: #018fa5; }
|
||||
|
||||
/* 快速下单入口 */
|
||||
.order-entry {
|
||||
margin: 14px 16px 0;
|
||||
background: linear-gradient(135deg, #018fa5 0%, #0a7a8c 100%);
|
||||
border-radius: 14px; padding: 18px 20px; color: #fff;
|
||||
position: relative; overflow: hidden;
|
||||
box-shadow: 0 4px 20px rgba(1,143,165,0.25);
|
||||
}
|
||||
.order-entry::before {
|
||||
content: ''; position: absolute; right: -20px; top: -20px;
|
||||
width: 110px; height: 110px; background: rgba(138,202,188,0.12); border-radius: 50%;
|
||||
}
|
||||
.order-entry-header { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
|
||||
.order-entry-left { flex: 1; }
|
||||
.order-entry-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
|
||||
.order-entry-desc { font-size: 12px; opacity: 0.82; margin-bottom: 14px; }
|
||||
.order-entry-btns { display: flex; gap: 8px; flex-wrap: wrap; }
|
||||
.order-entry-btns .van-button {
|
||||
font-size: 12px !important; font-weight: 600;
|
||||
background: rgba(255,255,255,0.15) !important;
|
||||
color: #fff !important;
|
||||
border: 1px solid rgba(255,255,255,0.35) !important;
|
||||
backdrop-filter: blur(4px);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
.order-entry-btns .van-button:active {
|
||||
background: rgba(255,255,255,0.28) !important;
|
||||
transform: scale(0.96);
|
||||
}
|
||||
.order-entry-btns .van-button--primary:first-child {
|
||||
background: #fff !important;
|
||||
color: #018fa5 !important;
|
||||
border-color: transparent !important;
|
||||
}
|
||||
.order-entry-right {
|
||||
width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0;
|
||||
background: rgba(255,255,255,0.12); display: flex;
|
||||
align-items: center; justify-content: center; margin-left: 16px;
|
||||
}
|
||||
.order-entry-right van-icon { font-size: 32px; }
|
||||
|
||||
/* 推荐护工 */
|
||||
.nurse-section { margin-top: 14px; padding-bottom: 10px; }
|
||||
.section-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 10px; }
|
||||
.section-title { font-size: 16px; font-weight: 700; color: #1a1a1a; display: flex; align-items: center; gap: 8px; }
|
||||
.section-more { font-size: 13px; color: #018fa5; display: flex; align-items: center; gap: 2px; font-weight: 500; }
|
||||
|
||||
.nurse-list { padding: 0 16px; }
|
||||
.nurse-card {
|
||||
background: #fff; border-radius: 14px; padding: 14px; margin-bottom: 10px;
|
||||
box-shadow: 0 1px 8px rgba(1,143,165,0.05); display: flex; gap: 12px;
|
||||
transition: all 0.2s ease; border: 1px solid rgba(1,143,165,0.06);
|
||||
cursor: pointer;
|
||||
}
|
||||
.nurse-card:active { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(1,143,165,0.12); }
|
||||
.nurse-avatar {
|
||||
width: 58px; height: 58px; border-radius: 14px; flex-shrink: 0;
|
||||
background: linear-gradient(135deg, #e6f5f8 0%, #d0ebe8 100%);
|
||||
display: flex; align-items: center; justify-content: center; font-size: 28px;
|
||||
color: #018fa5; border: 1px solid rgba(1,143,165,0.1);
|
||||
}
|
||||
.nurse-info { flex: 1; min-width: 0; }
|
||||
.nurse-name-row { display: flex; justify-content: space-between; align-items: center; }
|
||||
.nurse-name { font-size: 15px; font-weight: 700; color: #333; }
|
||||
.nurse-rating { font-size: 13px; color: #e08c28; font-weight: 600; display: flex; align-items: center; gap: 2px; }
|
||||
.nurse-tags { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
|
||||
.nurse-tag {
|
||||
font-size: 11px; padding: 2px 9px; border-radius: 5px; font-weight: 500;
|
||||
}
|
||||
.nurse-tag.teal { background: linear-gradient(135deg, #e6f5f8 0%, #d0ebe8 100%); color: #018fa5; }
|
||||
.nurse-tag.orange { background: linear-gradient(135deg, #fef4ec 0%, #fde8d4 100%); color: #e08c28; }
|
||||
.nurse-tag.green { background: linear-gradient(135deg, #eaf7ee 0%, #ddf0e4 100%); color: #2ba245; }
|
||||
.nurse-tag.purple { background: linear-gradient(135deg, #f3ebfb 0%, #e6daf4 100%); color: #7c3aed; }
|
||||
.nurse-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
|
||||
.nurse-price { font-size: 16px; color: #dc3545; font-weight: 700; }
|
||||
.nurse-price span { font-size: 11px; font-weight: normal; }
|
||||
.nurse-exp { font-size: 11px; color: #aaa; }
|
||||
|
||||
/* 底部安全距离 */
|
||||
.bottom-safe { height: 72px; }
|
||||
|
||||
/* 动画效果 */
|
||||
@keyframes fadeInUp {
|
||||
from { opacity: 0; transform: translateY(14px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
.quick-actions { animation: fadeInUp 0.35s ease-out; }
|
||||
.order-entry { animation: fadeInUp 0.4s ease-out 0.08s both; }
|
||||
.nurse-card:nth-child(1) { animation: fadeInUp 0.35s ease-out 0.04s both; }
|
||||
.nurse-card:nth-child(2) { animation: fadeInUp 0.35s ease-out 0.08s both; }
|
||||
.nurse-card:nth-child(3) { animation: fadeInUp 0.35s ease-out 0.12s both; }
|
||||
.nurse-card:nth-child(4) { animation: fadeInUp 0.35s ease-out 0.16s both; }
|
||||
|
||||
/* 底部导航 */
|
||||
:deep(.van-tabbar) { box-shadow: 0 -2px 14px rgba(0,0,0,0.05); }
|
||||
:deep(.van-tabbar-item--active) { color: #018fa5 !important; }
|
||||
@@ -0,0 +1,223 @@
|
||||
[v-cloak] { display: none; }
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
body { background: #f5f7f9; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif; min-height: 100vh; }
|
||||
|
||||
/* 头部区域 */
|
||||
.header-section {
|
||||
background: #fff !important;
|
||||
border-radius: 0 !important;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
padding-top: 10px;
|
||||
}
|
||||
.header-section::before,
|
||||
.header-section::after { display: none; }
|
||||
|
||||
/* 搜索栏 */
|
||||
.header-search {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 8px !important;
|
||||
background: #f5f5f5 !important;
|
||||
border-radius: 6px !important;
|
||||
padding: 10px 14px !important;
|
||||
margin: 0 12px !important;
|
||||
cursor: pointer;
|
||||
}
|
||||
.header-search span {
|
||||
font-size: 14px !important;
|
||||
color: #bbb !important;
|
||||
}
|
||||
|
||||
/* 筛选标签栏 */
|
||||
.filter-bar {
|
||||
display: flex !important;
|
||||
padding: 12px 14px;
|
||||
gap: 8px;
|
||||
}
|
||||
.filter-tag {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
color: #666;
|
||||
background: #f5f5f5;
|
||||
border-radius: 16px;
|
||||
padding: 7px 4px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
.filter-tag.active {
|
||||
background: #e8f4fd;
|
||||
color: #1989fa;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* 筛选面板(内联展开) */
|
||||
.filter-panel {
|
||||
background: #fafafa;
|
||||
border-top: 1px solid #eee;
|
||||
padding: 12px 14px;
|
||||
}
|
||||
.filter-panel-list {
|
||||
display: flex; flex-wrap: wrap; gap: 10px;
|
||||
}
|
||||
.filter-panel-item {
|
||||
font-size: 13px; color: #555; background: #fff;
|
||||
border-radius: 4px; padding: 6px 14px;
|
||||
cursor: pointer; border: 1px solid #e0e0e0;
|
||||
transition: all 0.15s;
|
||||
}
|
||||
.filter-panel-item.selected {
|
||||
background: #1989fa; color: #fff; border-color: #1989fa;
|
||||
}
|
||||
|
||||
/* 面板展开动画 */
|
||||
.slide-enter-active { animation: slideDown 0.2s ease; }
|
||||
.slide-leave-active { animation: slideUp 0.15s ease; }
|
||||
@keyframes slideDown { from { opacity: 0; max-height: 0; } to { opacity: 1; max-height: 200px; } }
|
||||
@keyframes slideUp { from { opacity: 1; max-height: 200px; } to { opacity: 0; max-height: 0; } }
|
||||
border-radius: 18px; padding: 8px 20px;
|
||||
cursor: pointer; transition: all 0.2s;
|
||||
}
|
||||
.popup-item.selected { background: #1989fa; color: #fff; }
|
||||
|
||||
/* 统计信息条 */
|
||||
.stats-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 12px 20px;
|
||||
background: linear-gradient(90deg, #eaf7fb 0%, #f0fafb 50%, #eaf7fb 100%);
|
||||
gap: 24px;
|
||||
}
|
||||
.stats-item { display: flex; align-items: baseline; gap: 4px; }
|
||||
.stats-num { font-size: 17px; font-weight: 700; color: #018fa5; }
|
||||
.stats-label { font-size: 12px; color: #888; }
|
||||
.stats-divider { width: 1px; height: 18px; background: #ddd; }
|
||||
|
||||
/* 护工列表 */
|
||||
.nurse-list-wrapper { padding: 12px 14px; }
|
||||
|
||||
.nurse-card-wrap {
|
||||
background: #fff; border-radius: 14px; margin-bottom: 10px;
|
||||
box-shadow: 0 2px 10px rgba(1,143,165,0.06); overflow: hidden;
|
||||
transition: all 0.22s ease; border: 1px solid rgba(1,143,165,0.05);
|
||||
cursor: pointer;
|
||||
}
|
||||
.nurse-card-wrap:active {
|
||||
transform: translateY(-1px); box-shadow: 0 4px 18px rgba(1,143,165,0.13);
|
||||
}
|
||||
|
||||
/* 卡片主体 */
|
||||
.nurse-card-main {
|
||||
display: flex; align-items: center; padding: 14px; gap: 12px;
|
||||
}
|
||||
|
||||
/* 头像区域 */
|
||||
.nurse-avatar-box {
|
||||
position: relative; flex-shrink: 0;
|
||||
}
|
||||
.nurse-avatar-inner {
|
||||
width: 56px; height: 56px; border-radius: 14px;
|
||||
background: linear-gradient(135deg, #018fa5 0%, #0a7a8c 100%);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
}
|
||||
.nurse-avatar-inner.avatar-online {
|
||||
animation: pulse-ring 2s ease-out infinite;
|
||||
}
|
||||
.online-dot {
|
||||
position: absolute; bottom: 1px; right: 1px;
|
||||
width: 12px; height: 12px; border-radius: 50%;
|
||||
background: #07c160; border: 2px solid #fff;
|
||||
}
|
||||
|
||||
/* 详情信息区 */
|
||||
.nurse-detail { flex: 1; min-width: 0; }
|
||||
|
||||
.nurse-name-row {
|
||||
display: flex; align-items: center; gap: 6px; margin-bottom: 6px;
|
||||
}
|
||||
.nurse-name { font-size: 15px; font-weight: 700; color: #333; }
|
||||
|
||||
.nurse-meta-row {
|
||||
display: flex; align-items: center; gap: 4px; margin-bottom: 8px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.nurse-score { font-size: 13px; color: #e08c28; font-weight: 600; }
|
||||
.nurse-sep { font-size: 11px; color: #ccc; margin: 0 2px; }
|
||||
.nurse-exp-text,
|
||||
.nurse-orders-text { font-size: 11px; color: #999; font-weight: 500; }
|
||||
|
||||
.nurse-skill-tags { display: flex; gap: 5px; flex-wrap: wrap; }
|
||||
.nurse-skill-tags :deep(.van-tag) {
|
||||
font-size: 10px !important; padding: 1px 7px !important;
|
||||
border-radius: 4px !important; font-weight: 500;
|
||||
}
|
||||
.nurse-skill-tags :deep(.van-tag--primary) {
|
||||
background: linear-gradient(135deg, #e6f5f8 0%, #d0ebe8 100%) !important;
|
||||
color: #018fa5 !important; border-color: transparent !important;
|
||||
}
|
||||
|
||||
/* 价格列 */
|
||||
.nurse-price-col {
|
||||
flex-shrink: 0; text-align: center;
|
||||
min-width: 68px;
|
||||
}
|
||||
.nurse-price-row { display: flex; align-items: baseline; justify-content: center; }
|
||||
.price-symbol { font-size: 12px; color: #dc3545; font-weight: 700; }
|
||||
.price-num { font-size: 20px; color: #dc3545; font-weight: 800; line-height: 1; }
|
||||
.price-unit { font-size: 10px; color: #dc3545; font-weight: 500; }
|
||||
.book-btn {
|
||||
margin-top: 6px; padding: 0 12px !important; font-size: 12px !important;
|
||||
background: linear-gradient(135deg, #018fa5 0%, #0a7a8c 100%) !important;
|
||||
border-color: transparent !important;
|
||||
}
|
||||
|
||||
/* 认证行 */
|
||||
.nurse-cert-row {
|
||||
display: flex; align-items: center; gap: 6px;
|
||||
padding: 8px 14px; border-top: 1px solid #f3f3f3;
|
||||
background: #fafcfc;
|
||||
}
|
||||
.cert-text { font-size: 11px; color: #666; }
|
||||
|
||||
/* 搜索弹窗 */
|
||||
:deep(.van-popup--top) { border-radius: 0 0 16px 16px; overflow: hidden; }
|
||||
:deep(.van-search__content) {
|
||||
background: #f5f7f9 !important;
|
||||
border-radius: 10px !important;
|
||||
}
|
||||
|
||||
/* 底部安全距离 */
|
||||
.bottom-safe { height: 72px; }
|
||||
|
||||
/* 动画效果 */
|
||||
@keyframes fadeInUp {
|
||||
from { opacity: 0; transform: translateY(12px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
@keyframes pulse-ring {
|
||||
0% { box-shadow: 0 0 0 0 rgba(7,193,96,0.35); }
|
||||
70% { box-shadow: 0 0 0 6px rgba(7,193,96,0); }
|
||||
100% { box-shadow: 0 0 0 0 rgba(7,193,96,0); }
|
||||
}
|
||||
.nurse-card-wrap:nth-child(1) { animation: fadeInUp 0.32s ease-out 0.02s both; }
|
||||
.nurse-card-wrap:nth-child(2) { animation: fadeInUp 0.32s ease-out 0.06s both; }
|
||||
.nurse-card-wrap:nth-child(3) { animation: fadeInUp 0.32s ease-out 0.1s both; }
|
||||
.nurse-card-wrap:nth-child(4) { animation: fadeInUp 0.32s ease-out 0.14s both; }
|
||||
.nurse-card-wrap:nth-child(5) { animation: fadeInUp 0.32s ease-out 0.18s both; }
|
||||
.nurse-card-wrap:nth-child(n+6) { animation: fadeInUp 0.32s ease-out 0.22s both; }
|
||||
|
||||
/* 下拉刷新 */
|
||||
:deep(.van-pull-refresh-head) { color: #018fa5; }
|
||||
:deep(.van-list__finished-text) { color: #bbb; font-size: 12px; }
|
||||
|
||||
/* 底部导航 */
|
||||
:root { --van-tabbar-z-index: 999; }
|
||||
.van-tabbar { z-index: 999 !important; }
|
||||
:deep(.van-tabbar) { box-shadow: 0 -2px 14px rgba(0,0,0,0.05); z-index: 999 !important; }
|
||||
:deep(.van-tabbar-item--active) { color: #018fa5 !important; }
|
||||
@@ -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; }
|
||||
}
|
||||
Vendored
+6
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
Reference in New Issue
Block a user