petstore-frontend/dist/dev/mp-weixin/pages/home/Home.wxss
2026-04-12 22:57:48 +08:00

368 lines
8.1 KiB
Plaintext

.home-page.data-v-bd9bb22b { padding-bottom: 140rpx;
}
.home-nav.data-v-bd9bb22b {
padding: 0 16px 10px;
display: flex;
justify-content: space-between;
align-items: center;
position: sticky;
top: 0;
z-index: 10;
}
.nav-title.data-v-bd9bb22b { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: 0.5px;
}
.home-hero.data-v-bd9bb22b {
margin-top: 12px;
padding: 14px 16px;
border: 1px solid #dcefe3;
border-radius: 14px;
background: linear-gradient(135deg, #f3fff7 0%, #ecfbf3 100%);
}
.hero-title.data-v-bd9bb22b { font-size: 16px; font-weight: 700; color: #166534;
}
.hero-sub.data-v-bd9bb22b { margin-top: 4px; font-size: 12px; color: #4b5563; line-height: 1.45;
}
.list-content.data-v-bd9bb22b { padding: 0;
}
/* 按钮 */
.btn-primary.data-v-bd9bb22b {
display: inline-flex;
align-items: center;
justify-content: center;
height: 34px;
padding: 0 16px;
font-size: 14px;
border-radius: 10px;
background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
color: #fff;
border: none;
cursor: pointer;
font-weight: 600;
box-shadow: 0 6px 14px rgba(34, 197, 94, 0.22);
}
.btn-secondary.data-v-bd9bb22b {
display: inline-flex;
align-items: center;
justify-content: center;
height: 34px;
padding: 0 14px;
font-size: 14px;
border-radius: 10px;
background: #f8fafc;
color: #334155;
border: 1px solid #dbe3ee;
cursor: pointer;
}
.btn-block.data-v-bd9bb22b {
display: inline-flex;
align-items: center;
justify-content: center;
flex: 1;
height: 44px;
font-size: 16px;
border-radius: 8px;
background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
color: #fff;
border: none;
cursor: pointer;
}
.btn-ghost.data-v-bd9bb22b {
display: inline-flex;
align-items: center;
justify-content: center;
width: 96px;
height: 44px;
border-radius: 8px;
border: 1px solid #dbe3ee;
background: #fff;
color: #64748b;
font-size: 15px;
}
.remark-textarea.data-v-bd9bb22b {
min-height: 84px;
line-height: 1.45;
}
/* 自定义 Tabs */
.custom-tabs.data-v-bd9bb22b {
display: flex;
background: #fff;
border: 1px solid #e8edf4;
border-radius: 14px;
box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
margin: 12px 0 0;
padding: 0 12px;
}
.tab-item.data-v-bd9bb22b {
flex: 1;
text-align: center;
padding: 12px 0;
font-size: 15px;
color: #999;
cursor: pointer;
position: relative;
}
.tab-item.active.data-v-bd9bb22b {
color: #16a34a;
font-weight: 600;
}
.tab-item.active.data-v-bd9bb22b::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 40px;
height: 3px;
background: #16a34a;
border-radius: 2px;
}
.tab-badge.data-v-bd9bb22b {
position: absolute;
top: 6px;
right: 12px;
background: #ef4444;
color: #fff;
font-size: 10px;
font-weight: 700;
padding: 0 5px;
height: 16px;
line-height: 16px;
border-radius: 8px;
min-width: 8px;
text-align: center;
}
/* 标签 */
.tag-warning.data-v-bd9bb22b {
display: inline-flex;
align-items: center;
font-size: 12px;
padding: 2px 8px;
border-radius: 10px;
background: #fff3e8;
color: #ff6b35;
font-weight: 500;
}
.tag-primary.data-v-bd9bb22b {
display: inline-flex;
align-items: center;
font-size: 12px;
padding: 2px 8px;
border-radius: 10px;
background: #e8f7ef;
color: #07c160;
font-weight: 500;
}
.tag-success.data-v-bd9bb22b {
display: inline-flex;
align-items: center;
font-size: 12px;
padding: 2px 8px;
border-radius: 10px;
background: #f0f0f0;
color: #888;
font-weight: 500;
}
.tag-default.data-v-bd9bb22b {
display: inline-flex;
align-items: center;
font-size: 12px;
padding: 2px 8px;
border-radius: 10px;
background: #f5f5f5;
color: #999;
font-weight: 500;
}
/* 字段 */
.van-field.data-v-bd9bb22b {
display: flex;
align-items: center;
background: #f5f5f5;
border-radius: 8px;
padding: 8px 12px;
color: #333;
min-height: 40px;
font-size: 14px;
width: 100%;
box-sizing: border-box;
}
/* 时间轴 */
.timeline.data-v-bd9bb22b { padding: 4px 0;
}
.timeline-item.data-v-bd9bb22b {
display: flex;
align-items: flex-start;
margin-bottom: 4px;
position: relative;
}
.timeline-dot.data-v-bd9bb22b {
display: flex;
flex-direction: column;
align-items: center;
width: 24px;
flex-shrink: 0;
padding-top: 14px;
}
.dot-inner.data-v-bd9bb22b {
width: 12px;
height: 12px;
border-radius: 50%;
background: #fff;
z-index: 1;
}
.dot-new .dot-inner.data-v-bd9bb22b { background: #ff6b35;
}
.dot-doing .dot-inner.data-v-bd9bb22b { background: #07c160;
}
.dot-done .dot-inner.data-v-bd9bb22b { background: #c0c0c0;
}
.dot-cancel .dot-inner.data-v-bd9bb22b { background: #d0d0d0;
}
.timeline-line.data-v-bd9bb22b {
position: absolute;
left: 11px;
top: 28px;
bottom: -4px;
width: 2px;
background: #e8e0d8;
}
.timeline-item:last-child .timeline-line.data-v-bd9bb22b { display: none;
}
/* 卡片 */
.order-card.data-v-bd9bb22b {
flex: 1;
background: #fff;
border-radius: 14px;
padding: 14px 16px;
margin-left: 12px;
margin-bottom: 12px;
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
border-left: 4px solid;
border: 1px solid #e8edf4;
}
.card-new.data-v-bd9bb22b { border-left-color: #ff6b35;
}
.card-doing.data-v-bd9bb22b { border-left-color: #07c160;
}
.card-done.data-v-bd9bb22b { border-left-color: #c0c0c0;
}
.card-cancel.data-v-bd9bb22b { border-left-color: #d8d8d8; opacity: 0.7;
}
.card-header.data-v-bd9bb22b { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
}
.pet-info.data-v-bd9bb22b { display: flex; align-items: center; gap: 8px;
}
.pet-emoji.data-v-bd9bb22b {
width: 20px;
height: 20px;
border-radius: 6px;
background: #eef2f7;
display: inline-flex;
align-items: center;
justify-content: center;
}
.pet-name.data-v-bd9bb22b { font-weight: 600; color: #333; font-size: 15px;
}
.service-row.data-v-bd9bb22b { margin-bottom: 8px;
}
.service-tag.data-v-bd9bb22b { font-size: 12px; background: #fdf6f0; color: #8b5e3c; padding: 2px 8px; border-radius: 10px; font-weight: 500;
}
.tag-new.data-v-bd9bb22b { background: #fff3e8; color: #ff6b35;
}
.tag-doing.data-v-bd9bb22b { background: #e8f7ef; color: #07c160;
}
.tag-done.data-v-bd9bb22b { background: #f0f0f0; color: #888;
}
.card-body.data-v-bd9bb22b { margin-bottom: 10px;
}
.card-time.data-v-bd9bb22b {
font-size: 13px;
color: #6b7280;
display: inline-flex;
align-items: center;
gap: 4px;
}
.card-footer.data-v-bd9bb22b { display: flex; justify-content: flex-end; align-items: center;
}
.action-btns.data-v-bd9bb22b { display: flex; gap: 8px;
}
.done-label.data-v-bd9bb22b { font-size: 13px; color: #999;
}
/* 弹窗 */
.popup-mask.data-v-bd9bb22b {
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.5);
z-index: 3000;
display: flex;
align-items: flex-end;
justify-content: center;
}
.popup-content.data-v-bd9bb22b {
background: #fff;
border-radius: 20px 20px 0 0;
width: 430px;
max-width: 100%;
height: calc(100vh - 24px);
max-height: calc(100vh - 24px);
display: flex;
flex-direction: column;
position: relative;
}
.popup-header.data-v-bd9bb22b {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 20px;
border-bottom: 1px solid #f0f0f0;
}
.popup-title.data-v-bd9bb22b { font-size: 16px; font-weight: 600;
}
.popup-close.data-v-bd9bb22b { font-size: 18px; color: #999;
}
.popup-body.data-v-bd9bb22b { padding: 16px 20px 120px; overflow-y: auto; flex: 1;
}
.popup-footer.data-v-bd9bb22b {
position: absolute;
left: 0;
right: 0;
bottom: 0;
background: #fff;
border-top: 1px solid #eef2f7;
padding: 10px 20px max(env(safe-area-inset-bottom), 16px);
z-index: 2;
}
.popup-desc.data-v-bd9bb22b {
font-size: 12px;
color: #6b7280;
line-height: 1.45;
margin-bottom: 10px;
}
.popup-actions.data-v-bd9bb22b {
display: flex;
align-items: center;
gap: 10px;
}
.field-label.data-v-bd9bb22b { font-size: 14px; color: #666; margin-bottom: 6px; margin-top: 12px;
}
.picker-field.data-v-bd9bb22b {
display: flex;
align-items: center;
background: #f5f5f5;
border-radius: 8px;
padding: 8px 12px;
color: #333;
min-height: 40px;
font-size: 14px;
width: 100%;
box-sizing: border-box;
}