@import '@dukang/shared-ui/base.css'; /* ── Shared shop utilities ── */ .shop-fill-icon { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; } .shop-card-shadow { box-shadow: var(--shadow-card); } /* ── Login (shop/02 + shop/14) ── */ .shop-login-page { min-height: 100vh; display: flex; flex-direction: column; padding: 0 var(--space-page) 40px; background: var(--color-background); background-image: radial-gradient(at 0% 0%, rgba(166, 29, 36, 0.03) 0, transparent 50%), radial-gradient(at 100% 100%, rgba(255, 191, 0, 0.05) 0, transparent 50%); position: relative; overflow-x: hidden; } .shop-login-page::before { content: ''; position: fixed; inset: 0; opacity: 0.35; pointer-events: none; z-index: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); } .shop-login-hero { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 64px 0 40px; } .shop-login-logo-wrap { width: 80px; height: 80px; border-radius: 50%; background: var(--color-surface); box-shadow: var(--shadow-card); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; overflow: hidden; } .shop-login-logo-wrap .app-image, .shop-login-logo-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 8px; } .shop-login-brand { font-family: var(--font-headline); font-size: 20px; font-weight: 600; letter-spacing: 0.15em; color: var(--color-ink-black); margin-bottom: 4px; } .shop-login-tagline { font-family: var(--font-label); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-on-surface-variant); opacity: 0.8; } .shop-login-main { position: relative; z-index: 1; flex: 1; width: 100%; max-width: 400px; margin: 0 auto; } .shop-login-card { background: var(--color-card); border-radius: var(--radius-md); padding: 32px; border: 1px solid rgba(226, 190, 188, 0.3); box-shadow: 0 4px 20px rgba(166, 29, 36, 0.05); } .shop-login-field { margin-bottom: 24px; } .shop-login-field label { display: block; font-family: var(--font-label); font-size: 12px; font-weight: 500; letter-spacing: 0.05em; color: var(--color-on-surface-variant); margin-bottom: 8px; margin-left: 4px; } .shop-login-input-wrap { display: flex; align-items: center; border: 1px solid var(--color-outline-variant); border-radius: var(--radius-sm); background: var(--color-surface); transition: border-color 0.2s, box-shadow 0.2s; } .shop-login-input-wrap:focus-within { border-color: var(--color-heritage-red); box-shadow: 0 0 0 1px rgba(166, 29, 36, 0.1); } .shop-login-input-wrap .material-symbols-outlined { margin-left: 12px; color: var(--color-on-surface-variant); font-size: 20px; } .shop-login-input-wrap input { flex: 1; border: none; background: transparent; padding: 14px 16px 14px 8px; font-size: 14px; color: var(--color-on-surface); outline: none; } .shop-login-input-wrap input::placeholder { color: var(--color-subtle-gray); } .shop-login-code-row { display: flex; gap: 8px; align-items: stretch; } .shop-login-code-row .shop-login-input-wrap { flex: 1; min-width: 0; } .shop-login-code-btn { flex-shrink: 0; align-self: stretch; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: none; border-radius: var(--radius-sm); padding: 0 14px; background: #ffdad7; color: var(--color-heritage-red); font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.2; cursor: pointer; white-space: nowrap; } .shop-login-code-btn:disabled { opacity: 0.6; cursor: not-allowed; } .shop-login-submit { width: 100%; margin-top: 16px; padding: 16px; border: none; border-radius: var(--radius-md); background: linear-gradient(135deg, #a61d24 0%, #820012 100%); color: var(--color-on-primary); font-family: var(--font-headline); font-size: 18px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; box-shadow: var(--shadow-card); } .shop-login-submit:active { transform: scale(0.98); } .shop-login-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; } .shop-login-divider-line { flex: 1; height: 1px; background: rgba(226, 190, 188, 0.3); } .shop-login-divider-text { font-family: var(--font-label); font-size: 12px; color: var(--color-subtle-gray); font-weight: 500; } .shop-login-wechat { width: 100%; padding: 14px; border: 1px solid rgba(166, 29, 36, 0.2); border-radius: var(--radius-md); background: rgba(166, 29, 36, 0.05); color: var(--color-heritage-red); font-family: var(--font-headline); font-size: 18px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; } .shop-login-agreement { display: flex; align-items: flex-start; gap: 8px; max-width: 100%; margin: 16px 0 0; padding: 8px 0; } .shop-login-agreement input { margin-top: 2px; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--color-heritage-red); } .shop-login-agreement span { font-family: var(--font-label); font-size: 12px; line-height: 1.5; color: var(--color-on-surface-variant); } .shop-login-agreement a { color: var(--color-heritage-red); font-weight: 600; } .shop-login-footer { position: relative; z-index: 1; margin-top: auto; padding: 40px 0 24px; text-align: center; } .shop-login-footer-brand { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 16px; font-family: var(--font-label); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-subtle-gray); } .shop-login-footer-brand::before, .shop-login-footer-brand::after { content: ''; width: 32px; height: 1px; background: var(--color-outline-variant); } .shop-login-msg { color: var(--color-heritage-red); font-size: 13px; margin-bottom: 12px; text-align: center; } /* Quick login (shop/14) */ .shop-quick-login-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--color-background); } .shop-quick-header { padding: 64px var(--space-page) 32px; display: flex; flex-direction: column; align-items: center; } .shop-quick-logo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin-bottom: 24px; } .shop-quick-logo .app-image, .shop-quick-logo img { width: 100%; height: 100%; object-fit: contain; } .shop-quick-welcome { font-family: var(--font-headline); font-size: 32px; font-weight: 700; color: var(--color-heritage-red); letter-spacing: -0.02em; } .shop-quick-welcome-line { width: 48px; height: 2px; background: var(--color-heritage-red); opacity: 0.3; margin: 8px auto 0; } .shop-quick-store-card { margin: 0 var(--space-page) var(--space-lg); padding: 32px; background: var(--color-card); border-radius: var(--radius-md); border: 1px solid rgba(226, 190, 188, 0.3); box-shadow: var(--shadow-card); position: relative; overflow: hidden; } .shop-quick-store-card::before { content: ''; position: absolute; top: -40px; right: -40px; width: 96px; height: 96px; border-radius: 50%; background: rgba(166, 29, 36, 0.03); } .shop-quick-store-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; position: relative; z-index: 1; } .shop-quick-store-icon { width: 64px; height: 64px; border-radius: 50%; background: #ffdad7; display: flex; align-items: center; justify-content: center; color: var(--color-heritage-red); } .shop-quick-store-icon .material-symbols-outlined { font-size: 36px; } .shop-quick-store-name { font-family: var(--font-headline); font-size: 18px; font-weight: 600; color: var(--color-ink-black); } .shop-quick-store-phone { font-size: 16px; color: var(--color-on-surface-variant); font-weight: 500; letter-spacing: 0.05em; } .shop-quick-verified { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: var(--radius-full); background: rgba(45, 106, 79, 0.1); color: var(--color-success-green); border: 1px solid rgba(45, 106, 79, 0.2); font-size: 12px; font-weight: 500; } .shop-quick-switch { width: 100%; padding-top: 32px; margin-top: 8px; border-top: 1px solid rgba(226, 190, 188, 0.5); } .shop-quick-switch button { border: none; background: none; color: var(--color-on-surface-variant); font-family: var(--font-label); font-size: 12px; font-weight: 500; letter-spacing: 0.05em; display: flex; align-items: center; justify-content: center; gap: 4px; margin: 0 auto; cursor: pointer; } .shop-quick-actions { padding: 0 var(--space-page); margin-top: auto; } .shop-quick-actions .shop-login-agreement { margin: 0 0 16px; max-width: 100%; } .shop-quick-actions .shop-quick-login-btn { margin-top: 4px; } .shop-quick-login-btn { width: 100%; height: 56px; border: none; border-radius: var(--radius-md); background: var(--color-heritage-red); color: var(--color-on-primary); font-family: var(--font-headline); font-size: 18px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 8px 24px rgba(166, 29, 36, 0.2); cursor: pointer; } .shop-quick-login-btn--wechat { background: #07c160; box-shadow: 0 8px 24px rgba(7, 193, 96, 0.25); } .shop-quick-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; opacity: 0.6; font-family: var(--font-label); font-size: 12px; color: var(--color-on-surface-variant); } .shop-quick-footer { padding: 40px var(--space-page); text-align: center; opacity: 0.4; } /* ── Home (shop/12) ── */ .shop-home-page { min-height: 100vh; padding-bottom: 80px; background: var(--color-background); } .shop-home-header { position: sticky; top: 0; z-index: 50; height: 56px; display: flex; align-items: center; justify-content: center; padding: 0 var(--space-page); background: var(--color-surface); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04); } .shop-home-content { padding: 16px var(--space-page) 24px; display: flex; flex-direction: column; gap: 24px; } .shop-home-hero { position: relative; overflow: hidden; background: var(--color-heritage-red); border-radius: var(--radius-md); padding: 24px; color: var(--color-on-primary); box-shadow: 0 8px 24px rgba(166, 29, 36, 0.25); } .shop-home-hero-store { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; font-family: var(--font-headline); font-size: 18px; font-weight: 700; } .shop-home-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .shop-home-stat { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(4px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: var(--radius-sm); padding: 16px; } .shop-home-stat-label { font-family: var(--font-label); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); margin-bottom: 4px; } .shop-home-stat-value { font-family: var(--font-headline); font-size: 28px; font-weight: 700; line-height: 1.1; } .shop-home-stat-sub { margin-top: 6px; font-size: 11px; color: rgba(255, 255, 255, 0.75); } .shop-home-scan { display: flex; flex-direction: column; align-items: center; padding: 16px 0; } .shop-home-scan-btn { position: relative; width: 128px; height: 128px; border-radius: 50%; border: 4px solid var(--color-card); background: var(--color-aged-amber); box-shadow: 0 10px 30px rgba(255, 191, 0, 0.3); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.2s; } .shop-home-scan-btn::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--color-aged-amber); opacity: 0.2; animation: shop-scan-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite; } .shop-home-scan-btn:active { transform: scale(0.9); } .shop-home-scan-btn .material-symbols-outlined { font-size: 48px; color: var(--color-heritage-red); font-variation-settings: 'FILL' 1; position: relative; z-index: 1; } @keyframes shop-scan-ping { 0% { transform: scale(1); opacity: 0.2; } 75%, 100% { transform: scale(1.4); opacity: 0; } } .shop-home-scan-label { margin-top: 16px; font-family: var(--font-headline); font-size: 18px; font-weight: 700; color: var(--color-heritage-red); } .shop-home-scan-msg { margin-top: 8px; font-size: 13px; color: var(--color-heritage-red); text-align: center; max-width: 280px; } .shop-home-phone-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(139, 26, 26, 0.2); background: rgba(255, 255, 255, 0.9); color: var(--color-heritage-red); font-size: 14px; font-weight: 600; text-decoration: none; } .shop-home-phone-link .material-symbols-outlined { font-size: 18px; } .shop-phone-field { margin-bottom: 16px; } .shop-phone-label { display: block; margin-bottom: 8px; font-size: 13px; color: var(--color-on-surface-variant); } .shop-phone-input { width: 100%; padding: 12px 14px; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 12px; font-size: 16px; background: #fff; box-sizing: border-box; } .shop-phone-code-row { display: flex; gap: 8px; } .shop-phone-code-row .shop-phone-input { flex: 1; } .shop-phone-code-btn { flex-shrink: 0; padding: 0 14px; border: none; border-radius: 12px; background: var(--color-heritage-red); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; } .shop-phone-code-btn:disabled { opacity: 0.5; } .shop-phone-link-btn { display: block; width: 100%; margin-top: 12px; padding: 8px; border: none; background: transparent; color: var(--color-on-surface-variant); font-size: 14px; } .shop-scan-auth-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, 0.45); } .shop-scan-auth-card { width: 100%; max-width: 320px; padding: 28px 24px 24px; border-radius: var(--radius-md); background: var(--color-card); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12); text-align: center; } .shop-scan-auth-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: rgba(166, 29, 36, 0.08); display: flex; align-items: center; justify-content: center; color: var(--color-heritage-red); } .shop-scan-auth-icon .material-symbols-outlined { font-size: 28px; } .shop-scan-auth-title { margin: 0 0 8px; font-family: var(--font-headline); font-size: 18px; font-weight: 600; color: var(--color-on-surface); } .shop-scan-auth-desc { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--color-on-surface-variant); } .shop-scan-auth-error { margin: 0 0 12px; font-size: 13px; color: var(--color-heritage-red); } .shop-scan-auth-actions { display: flex; gap: 12px; } .shop-scan-auth-cancel, .shop-scan-auth-confirm { flex: 1; min-height: 44px; border-radius: var(--radius-sm); font-family: var(--font-label); font-size: 14px; font-weight: 600; cursor: pointer; } .shop-scan-auth-cancel { border: 1px solid var(--color-outline-variant); background: var(--color-surface); color: var(--color-on-surface); } .shop-scan-auth-confirm { border: none; background: var(--color-heritage-red); color: #fff; } .shop-scan-auth-cancel:disabled, .shop-scan-auth-confirm:disabled { opacity: 0.6; cursor: not-allowed; } .shop-home-status { background: var(--color-card); border-radius: var(--radius-md); padding: 20px; border: 1px solid rgba(226, 190, 188, 0.3); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04); display: flex; align-items: center; justify-content: space-between; gap: 12px; } .shop-home-status-left { display: flex; align-items: center; gap: 12px; } .shop-home-status-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(45, 106, 79, 0.1); display: flex; align-items: center; justify-content: center; color: var(--color-success-green); } .shop-home-status-icon.closed { background: rgba(153, 153, 153, 0.1); color: var(--color-subtle-gray); } .shop-home-status-title { font-size: 16px; font-weight: 700; color: var(--color-on-surface); } .shop-home-status-sub { font-family: var(--font-label); font-size: 12px; color: var(--color-subtle-gray); margin-top: 2px; } .shop-home-switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; } .shop-home-switch input { opacity: 0; width: 0; height: 0; position: absolute; } .shop-home-switch-track { position: absolute; inset: 0; background: var(--color-surface-container-highest); border-radius: var(--radius-full); cursor: pointer; transition: background 0.2s; } .shop-home-switch-track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; background: var(--color-card); border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.08); transition: transform 0.2s; } .shop-home-switch input:checked + .shop-home-switch-track { background: var(--color-success-green); } .shop-home-switch input:checked + .shop-home-switch-track::after { transform: translateX(20px); } .shop-home-records-head { display: flex; align-items: center; justify-content: space-between; } .shop-home-records-title { font-family: var(--font-headline); font-size: 18px; font-weight: 700; color: var(--color-ink-black); } .shop-home-records-link { font-family: var(--font-label); font-size: 12px; font-weight: 700; color: var(--color-heritage-red); display: flex; align-items: center; gap: 2px; } .shop-home-record-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; } .shop-home-record-item { background: var(--color-card); border-radius: var(--radius-md); padding: 16px; border: 1px solid rgba(226, 190, 188, 0.2); box-shadow: 0 4px 20px rgba(166, 29, 36, 0.03); display: flex; justify-content: space-between; align-items: center; } .shop-home-record-time { font-family: var(--font-label); font-size: 12px; color: var(--color-subtle-gray); } .shop-home-record-value { font-size: 16px; font-weight: 700; color: var(--color-on-surface); margin-top: 4px; } .shop-home-record-amount { font-family: var(--font-headline); font-size: 18px; font-weight: 700; color: var(--color-heritage-red); } /* ── Redeem confirm (shop/08) ── */ .shop-redeem-page { min-height: 100vh; background: var(--color-background); display: flex; flex-direction: column; } .shop-redeem-header { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; height: 56px; display: flex; align-items: center; justify-content: center; padding: 0 var(--space-page); background: var(--color-surface); z-index: 50; } .shop-redeem-back { position: absolute; left: var(--space-page); top: 50%; transform: translateY(-50%); border: none; background: none; padding: 4px; color: var(--color-heritage-red); cursor: pointer; } .shop-redeem-main { flex: 1; margin-top: 56px; padding: var(--space-lg) var(--space-page); display: flex; flex-direction: column; gap: 24px; } .shop-redeem-card { background: var(--color-card); border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(166, 29, 36, 0.05); box-shadow: var(--shadow-card); } .shop-redeem-banner { background: var(--color-success-green); padding: 16px var(--space-page); display: flex; align-items: center; gap: 12px; } .shop-redeem-banner-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; color: var(--color-on-primary); } .shop-redeem-banner-label { font-family: var(--font-label); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); } .shop-redeem-banner-name { font-family: var(--font-headline); font-size: 18px; font-weight: 700; color: var(--color-on-primary); } .shop-redeem-body { padding: var(--space-page); display: flex; flex-direction: column; gap: 32px; } .shop-redeem-user { display: flex; align-items: center; justify-content: space-between; background: var(--color-surface-container-low); padding: 16px; border-radius: var(--radius-sm); } .shop-redeem-user-left { display: flex; align-items: center; gap: 12px; color: var(--color-on-surface-variant); font-size: 14px; } .shop-redeem-amount-section { position: relative; display: flex; flex-direction: column; align-items: center; padding: 16px 0; border-top: 1px dashed var(--color-outline-variant); border-bottom: 1px dashed var(--color-outline-variant); } .shop-redeem-notch { position: absolute; top: 50%; transform: translateY(-50%); width: 16px; height: 32px; background: var(--color-background); } .shop-redeem-notch--left { left: -20px; border-radius: 0 16px 16px 0; border-right: 1px solid rgba(226, 190, 188, 0.2); } .shop-redeem-notch--right { right: -20px; border-radius: 16px 0 0 16px; border-left: 1px solid rgba(226, 190, 188, 0.2); } .shop-redeem-amount-label { font-family: var(--font-label); font-size: 12px; color: var(--color-on-surface-variant); margin-bottom: 8px; } .shop-redeem-amount { display: flex; align-items: baseline; gap: 4px; color: var(--color-heritage-red); } .shop-redeem-amount-symbol { font-family: var(--font-headline); font-size: 18px; font-weight: 600; } .shop-redeem-amount-value { font-family: var(--font-headline); font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; } .shop-redeem-benefit { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--radius-full); background: rgba(255, 191, 0, 0.1); border: 1px solid rgba(255, 191, 0, 0.2); font-family: var(--font-label); font-size: 12px; color: #574500; } .shop-redeem-details { display: flex; flex-direction: column; gap: 12px; } .shop-redeem-detail-row { display: flex; justify-content: space-between; font-size: 14px; } .shop-redeem-detail-row span:first-child { color: var(--color-subtle-gray); } .shop-redeem-detail-row span:last-child { color: var(--color-ink-black); font-weight: 500; } .shop-redeem-confirm-btn { width: 100%; height: 56px; border: none; border-radius: var(--radius-md); background: var(--color-heritage-red); color: var(--color-on-primary); font-family: var(--font-headline); font-size: 18px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 8px 24px rgba(166, 29, 36, 0.2); cursor: pointer; } .shop-redeem-confirm-btn:disabled { opacity: 0.7; cursor: not-allowed; } .shop-redeem-confirm-btn.success { background: var(--color-success-green); } .shop-redeem-hint { text-align: center; font-size: 14px; color: var(--color-subtle-gray); } .shop-redeem-error { color: var(--color-error); font-size: 13px; margin-top: 8px; } .shop-weaknet-panel { margin: 0 16px 16px; padding: 16px; border-radius: 16px; background: rgba(166, 29, 36, 0.06); border: 1px solid rgba(166, 29, 36, 0.18); } .shop-weaknet-token { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; } .shop-weaknet-copy { display: block; width: 100%; text-align: left; word-break: break-all; padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(166, 29, 36, 0.35); background: #fff; font-family: ui-monospace, monospace; font-size: 12px; color: var(--color-on-surface, #1c1b1b); cursor: pointer; } .shop-weaknet-preview { width: 100%; max-height: 220px; object-fit: contain; border-radius: 12px; margin-bottom: 12px; background: #fff; } .shop-weaknet-actions { display: flex; flex-direction: column; gap: 10px; } .shop-weaknet-success { padding: 12px; border-radius: 12px; background: rgba(46, 125, 50, 0.08); } .shop-btn-outline { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; border-radius: 999px; border: 1px solid var(--color-heritage-red, #a61d24); background: transparent; color: var(--color-heritage-red, #a61d24); font-size: 15px; font-weight: 600; } .shop-redeem-ornament { margin-top: auto; display: flex; justify-content: center; padding-bottom: 32px; opacity: 0.1; pointer-events: none; } /* ── Redeem success (shop/06) ── */ .shop-success-page { min-height: 100vh; background: var(--color-surface); } .shop-success-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: center; height: 56px; padding: 0 var(--space-page); background: var(--color-surface); } .shop-success-header .shop-redeem-back { position: absolute; left: var(--space-page); top: 50%; transform: translateY(-50%); } .shop-success-hero { text-align: center; padding: 40px var(--space-page) 32px; background: radial-gradient(circle at center, rgba(45, 106, 79, 0.08) 0%, transparent 70%); border-radius: 0 0 40px 40px; } .shop-success-icon-wrap { width: 80px; height: 80px; margin: 0 auto 24px; border-radius: 50%; background: rgba(45, 106, 79, 0.1); box-shadow: 0 0 0 8px rgba(45, 106, 79, 0.05); display: flex; align-items: center; justify-content: center; color: var(--color-success-green); } .shop-success-icon-wrap .material-symbols-outlined { font-size: 48px; font-variation-settings: 'FILL' 1; } .shop-success-title { font-family: var(--font-headline); font-size: 20px; font-weight: 600; color: var(--color-ink-black); margin-bottom: 8px; } .shop-success-amount { font-family: var(--font-headline); font-size: 28px; font-weight: 700; color: var(--color-aged-amber); } .shop-success-sub { font-family: var(--font-label); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-subtle-gray); margin-top: 4px; } .shop-success-note { font-size: 14px; color: var(--color-subtle-gray); margin-top: 8px; } .shop-success-details { margin: 32px var(--space-page); background: var(--color-card); border-radius: var(--radius-md); padding: var(--space-md); box-shadow: var(--shadow-card); } .shop-success-detail-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; } .shop-success-detail-row + .shop-success-detail-row { border-top: 1px solid var(--color-surface-container-highest); } .shop-success-detail-label { font-family: var(--font-label); font-size: 12px; color: var(--color-subtle-gray); flex-shrink: 0; } .shop-success-detail-value { font-size: 14px; font-weight: 600; color: var(--color-ink-black); text-align: right; } .shop-success-user { display: flex; align-items: center; gap: 8px; } .shop-success-user-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--color-surface-container-highest); display: flex; align-items: center; justify-content: center; color: var(--color-subtle-gray); } .shop-success-user-avatar .material-symbols-outlined { font-size: 14px; } .shop-success-actions { padding: 0 var(--space-page); display: flex; flex-direction: column; gap: 16px; } .shop-success-primary-btn { width: 100%; height: 56px; border: none; border-radius: var(--radius-md); background: var(--color-heritage-red); color: var(--color-on-primary); font-family: var(--font-headline); font-size: 18px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; } .shop-success-outline-btn { width: 100%; height: 56px; border: 1px solid var(--color-heritage-red); border-radius: var(--radius-md); background: transparent; color: var(--color-heritage-red); font-family: var(--font-headline); font-size: 18px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; } .shop-success-brand { margin-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; align-items: center; opacity: 0.3; } .shop-success-brand-icon { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--color-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; color: var(--color-primary); } .shop-success-brand-text { font-family: var(--font-label); font-size: 12px; letter-spacing: 0.2em; color: var(--color-primary); } /* ── Records (shop/10) ── */ .shop-records-page { min-height: 100vh; padding-bottom: 80px; background: var(--color-background); } .shop-records-header { /* 页内标题已隐藏:不再占位;保留类名以免改 JSX */ display: none !important; } .shop-records-filters { position: sticky; top: 0; z-index: 40; background: var(--color-surface); border-bottom: 1px solid var(--color-surface-container-highest); } .shop-records-range-tabs { display: flex; border-bottom: 1px solid rgba(227, 226, 224, 0.5); } .shop-records-range-tab { flex: 1; border: none; background: none; padding: 12px; font-family: var(--font-label); font-size: 12px; font-weight: 500; letter-spacing: 0.05em; color: var(--color-subtle-gray); cursor: pointer; position: relative; } .shop-records-range-tab.active { color: var(--color-primary); font-weight: 700; } .shop-records-range-tab.active::after { content: ''; position: absolute; bottom: 0; left: 20%; right: 20%; height: 3px; background: var(--color-heritage-red); border-radius: 2px; } .shop-records-status-row { display: flex; align-items: center; gap: 8px; padding: 8px 16px; } .shop-records-status-chips { display: flex; gap: 8px; padding: 0; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; } .shop-records-status-chips::-webkit-scrollbar { display: none; } .shop-records-stats-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--color-primary); background: transparent; color: var(--color-primary); border-radius: var(--radius-full); padding: 4px 12px; font-size: 12px; font-weight: 600; cursor: pointer; } .shop-records-chip { flex-shrink: 0; border: none; border-radius: var(--radius-full); padding: 4px 16px; font-size: 12px; font-weight: 500; cursor: pointer; background: var(--color-surface-container-highest); color: var(--color-on-surface-variant); } .shop-records-chip.active { background: var(--color-primary); color: var(--color-on-primary); } .shop-record-channel { margin: 6px 0 0; } .shop-record-channel-tag { display: inline-flex; align-items: center; font-size: 11px; line-height: 1; padding: 4px 8px; border-radius: var(--radius-full); background: rgba(59, 130, 246, 0.12); color: #1d4ed8; } .shop-record-channel-tag.phone { background: rgba(168, 85, 247, 0.12); color: #7e22ce; } .shop-stats-overlay { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; } .shop-stats-backdrop { position: absolute; inset: 0; border: none; background: rgba(0, 0, 0, 0.45); } .shop-stats-sheet { position: relative; width: 100%; max-width: 480px; max-height: 78vh; overflow: auto; background: var(--color-surface); border-radius: 16px 16px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12); } .shop-stats-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; } .shop-stats-sheet-head h2 { margin: 0; font-size: 17px; font-weight: 700; } .shop-stats-close { border: none; background: transparent; padding: 4px; color: inherit; cursor: pointer; } .shop-stats-range-hint { margin: 0 0 12px; font-size: 12px; color: var(--color-on-surface-variant); } .shop-stats-total { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; padding: 12px; border-radius: 12px; background: var(--color-surface-container-low, #f5f5f4); } .shop-stats-total-value { margin: 4px 0 0; font-size: 15px; font-weight: 700; } .shop-stats-channel-list { display: flex; flex-direction: column; gap: 10px; } .shop-stats-channel-card { border: 1px solid var(--color-surface-container-highest); border-radius: 12px; padding: 12px; } .shop-stats-channel-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; } .shop-stats-channel-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--color-on-surface-variant); margin-bottom: 4px; } .shop-stats-bar { margin-top: 8px; height: 6px; border-radius: 999px; background: var(--color-surface-container-highest); overflow: hidden; } .shop-stats-bar-fill { height: 100%; background: #3b82f6; border-radius: 999px; } .shop-stats-bar-fill.phone { background: #a855f7; } .shop-records-main { padding-top: 0; } .shop-records-summary { margin: var(--space-md) var(--space-page); padding: var(--space-page); background: rgba(255, 218, 215, 0.3); border: 1px solid rgba(255, 179, 174, 0.2); border-radius: var(--radius-md); box-shadow: 0 4px 20px rgba(166, 29, 29, 0.08); position: relative; overflow: hidden; } .shop-records-summary::before { content: ''; position: absolute; top: -16px; right: -16px; width: 96px; height: 96px; border-radius: 50%; background: rgba(130, 0, 18, 0.05); filter: blur(16px); } .shop-records-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; z-index: 1; } .shop-records-summary-label { font-family: var(--font-label); font-size: 12px; color: rgba(130, 0, 18, 0.7); } .shop-records-summary-value { font-family: var(--font-headline); font-size: 18px; font-weight: 600; color: var(--color-primary); } .shop-records-summary-note { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(130, 0, 18, 0.1); font-size: 14px; color: var(--color-on-surface-variant); position: relative; z-index: 1; } .shop-records-list-head { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--space-page); margin-bottom: var(--space-md); } .shop-records-list-title { font-family: var(--font-headline); font-size: 18px; font-weight: 600; color: var(--color-on-surface); } .shop-records-list-count { font-family: var(--font-label); font-size: 12px; color: var(--color-subtle-gray); } .shop-records-list { padding: 0 var(--space-page); display: flex; flex-direction: column; gap: 16px; } .shop-record-card { background: var(--color-card); border-radius: var(--radius-md); padding: 16px; border: 1px solid var(--color-surface-container-highest); box-shadow: var(--shadow-card); } .shop-record-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; } .shop-record-order { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; } .shop-record-time { font-family: var(--font-label); font-size: 12px; color: var(--color-subtle-gray); margin-top: 4px; } .shop-record-badge { padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; } .shop-record-badge.paid { background: rgba(45, 106, 79, 0.1); color: var(--color-success-green); } .shop-record-badge.pending { background: rgba(255, 191, 0, 0.1); color: var(--color-aged-amber); } .shop-record-badge.rejected { background: rgba(180, 35, 24, 0.1); color: var(--color-error-red, #b42318); } .shop-withdraw-back { border: none; background: transparent; padding: 4px; display: inline-flex; align-items: center; color: inherit; cursor: pointer; } .shop-withdraw-btn { width: 100%; margin-top: 12px; height: 44px; border: none; border-radius: 12px; background: var(--color-primary, #8b1a1a); color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; } .shop-withdraw-btn:disabled { opacity: 0.45; cursor: not-allowed; } .shop-withdraw-msg { margin-top: 10px; font-size: 13px; color: var(--color-aged-amber); text-align: center; } /* ─── 门店套餐 ─── */ .shop-packages-page .shop-records-main { padding-bottom: 24px; } .shop-packages-intro { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--color-subtle-gray); } .shop-packages-notice { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 12px; padding: 12px 14px; border-radius: var(--radius-md); background: rgba(46, 125, 50, 0.08); border: 1px solid rgba(46, 125, 50, 0.15); font-size: 13px; line-height: 1.5; color: var(--color-on-surface); } .shop-packages-notice--warn { background: rgba(180, 35, 24, 0.06); border-color: rgba(180, 35, 24, 0.12); } .shop-packages-notice p { margin: 0; } .shop-packages-form { display: flex; flex-direction: column; gap: 12px; } .shop-packages-card { background: var(--color-card); border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-card); border: 1px solid rgba(0, 0, 0, 0.04); } .shop-packages-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; } .shop-packages-card--collapsed .shop-packages-card-head { margin-bottom: 0; } .shop-packages-toggle { display: flex; align-items: center; gap: 4px; border: none; background: transparent; padding: 0; color: inherit; cursor: pointer; text-align: left; flex: 1; min-width: 0; } .shop-packages-toggle .material-symbols-outlined { font-size: 20px; color: var(--color-on-surface-variant, #666); flex-shrink: 0; } .shop-packages-card-title { margin: 0; font-size: 16px; font-weight: 700; color: var(--color-on-surface); } .shop-packages-remove { border: none; background: transparent; color: var(--color-heritage-red); font-size: 13px; padding: 0; } .shop-packages-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; } .shop-packages-field:last-child { margin-bottom: 0; } .shop-packages-label { font-size: 12px; color: var(--color-subtle-gray); } .shop-packages-input, .shop-packages-textarea { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: var(--radius-sm); background: var(--color-surface-container-low, #fafafa); font-size: 14px; color: var(--color-on-surface); } .shop-packages-textarea { resize: vertical; min-height: 72px; } .shop-packages-input:focus, .shop-packages-textarea:focus { outline: none; border-color: var(--color-heritage-red); box-shadow: 0 0 0 1px rgba(166, 29, 36, 0.12); } .shop-packages-input:disabled, .shop-packages-textarea:disabled { opacity: 0.6; } .shop-packages-add { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 48px; border: 1px dashed rgba(166, 29, 36, 0.35); border-radius: var(--radius-md); background: rgba(166, 29, 36, 0.04); color: var(--color-heritage-red); font-size: 14px; font-weight: 600; } .shop-packages-add .material-symbols-outlined { font-size: 20px; } .shop-record-amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px; background: rgba(250, 249, 247, 0.5); border-radius: var(--radius-sm); margin-bottom: 8px; } .shop-record-amount-label { font-size: 10px; color: var(--color-subtle-gray); } .shop-record-amount-value { font-size: 14px; font-weight: 700; color: var(--color-on-surface); } .shop-record-amount-value.red { color: var(--color-heritage-red); } .shop-record-footer { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--color-subtle-gray); } .shop-records-end { text-align: center; padding: var(--space-lg) var(--space-page); } .shop-records-end-line { width: 48px; height: 1px; background: var(--color-surface-container-highest); margin: 0 auto 8px; } .shop-records-empty { text-align: center; padding: 48px var(--space-page); color: var(--color-subtle-gray); font-size: 14px; } /* ── Status (shop/04) ── */ .shop-status-page { min-height: 100vh; padding-bottom: 80px; background: var(--color-background); } .shop-status-header { position: sticky; top: 0; z-index: 50; } .shop-status-logout { border: none; background: none; display: flex; align-items: center; gap: 4px; color: var(--color-on-surface-variant); font-family: var(--font-label); font-size: 12px; cursor: pointer; width: auto; height: auto; padding: 4px; transform: translateY(-50%); } .shop-status-content { padding: 24px var(--space-page); display: flex; flex-direction: column; gap: 24px; } .shop-status-card { background: var(--color-card); border-radius: var(--radius-md); padding: 32px; text-align: center; box-shadow: var(--shadow-card); } .shop-status-icon-wrap { position: relative; width: 96px; height: 96px; margin: 0 auto 24px; } .shop-status-icon-outer { width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center; } .shop-status-icon-outer.open { background: rgba(45, 106, 79, 0.1); animation: shop-status-pulse 2s ease-in-out infinite; } .shop-status-icon-outer.closed { background: rgba(153, 153, 153, 0.1); } .shop-status-icon-inner { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--color-on-primary); } .shop-status-icon-inner.open { background: var(--color-success-green); } .shop-status-icon-inner.closed { background: var(--color-subtle-gray); } .shop-status-icon-inner .material-symbols-outlined { font-size: 32px; font-variation-settings: 'FILL' 1; } .shop-status-check { position: absolute; bottom: -4px; right: -4px; background: var(--color-card); border: 1px solid var(--color-surface-container); border-radius: 50%; padding: 4px; display: flex; } @keyframes shop-status-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.85; transform: scale(1.03); } } .shop-status-label { font-family: var(--font-headline); font-size: 20px; font-weight: 600; margin-bottom: 32px; } .shop-status-label.open { color: var(--color-success-green); } .shop-status-label.closed { color: var(--color-subtle-gray); } .shop-status-switch { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 16px; } .shop-status-switch-caption { font-family: var(--font-label); font-size: 12px; color: var(--color-subtle-gray); margin: 0; } .shop-status-switch.closed .shop-status-switch-caption { color: var(--color-on-surface-variant); font-weight: 500; } .shop-status-switch input { opacity: 0; width: 0; height: 0; position: absolute; } .shop-status-switch-track { width: 80px; height: 40px; background: var(--color-surface-container-highest); border: 1px solid rgba(0, 0, 0, 0.14); border-radius: var(--radius-full); cursor: pointer; position: relative; transition: background 0.2s, border-color 0.2s, box-shadow 0.2s; box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1); } .shop-status-switch-track::after { content: ''; position: absolute; top: 4px; left: 4px; width: 32px; height: 32px; background: #fff; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.12); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); transition: transform 0.2s, box-shadow 0.2s; } .shop-status-switch input:not(:checked) + .shop-status-switch-track { background: #b5b5b5; border-color: rgba(0, 0, 0, 0.2); } .shop-status-switch input:not(:checked) + .shop-status-switch-track::after { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28); } .shop-status-switch input:checked + .shop-status-switch-track { background: var(--color-success-green); border-color: var(--color-success-green); box-shadow: none; } .shop-status-switch input:checked + .shop-status-switch-track::after { transform: translateX(40px); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); } .shop-status-hours-label { font-size: 12px; color: var(--color-subtle-gray); text-transform: uppercase; letter-spacing: 0.08em; } .shop-status-hours { font-family: var(--font-headline); font-size: 18px; font-weight: 600; color: var(--color-on-surface); margin-top: 4px; } .shop-status-updated { font-family: var(--font-label); font-size: 12px; color: var(--color-subtle-gray); margin-top: 16px; } .shop-status-hint { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius-sm); font-size: 14px; } .shop-status-hint.open { background: #eff6ff; border: 1px solid #dbeafe; color: var(--color-on-surface); } .shop-status-hint.closed { background: var(--color-surface-container); border: 1px solid var(--color-surface-container-highest); color: var(--color-on-surface); } .shop-status-hint .material-symbols-outlined { color: var(--color-status-blue); font-variation-settings: 'FILL' 1; } .shop-status-modal { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; padding: var(--space-page); } .shop-status-modal-card { width: 100%; max-width: 360px; background: var(--color-card); border-radius: var(--radius-md); padding: 24px; } .shop-status-modal-title { font-family: var(--font-headline); font-size: 18px; font-weight: 600; text-align: center; margin-bottom: 8px; } .shop-status-modal-desc { font-size: 14px; color: var(--color-subtle-gray); text-align: center; margin-bottom: 24px; } .shop-status-modal-actions { display: flex; gap: 12px; } .shop-status-modal-cancel { flex: 1; padding: 12px; border: 1px solid var(--color-surface-container); border-radius: var(--radius-sm); background: transparent; font-weight: 700; cursor: pointer; } .shop-status-modal-confirm { flex: 1; padding: 12px; border: none; border-radius: var(--radius-sm); background: var(--color-primary); color: var(--color-on-primary); font-weight: 700; cursor: pointer; } /* ── Mine (shop/04 mine tab) ── */ .shop-mine-page { min-height: 100vh; padding-bottom: 80px; background: var(--color-background); } .shop-mine-header { height: 56px; display: flex; align-items: center; justify-content: center; background: var(--color-surface); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04); } .shop-mine-content { padding: 24px var(--space-page); } .shop-mine-section-title { font-family: var(--font-label); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-subtle-gray); padding: 0 4px; margin-bottom: 16px; } .shop-mine-info-card { background: var(--color-card); border-radius: var(--radius-md); box-shadow: var(--shadow-card); overflow: hidden; } .shop-mine-info-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 8px; } .shop-mine-info-row + .shop-mine-info-row { border-top: 1px solid var(--color-surface-container); } .shop-mine-info-label { font-size: 12px; color: var(--color-subtle-gray); margin-bottom: 4px; } .shop-mine-info-value { font-size: 16px; color: var(--color-on-surface); } .shop-mine-info-value.name { font-family: var(--font-headline); font-size: 18px; font-weight: 600; } .shop-mine-lock { color: var(--color-on-surface-variant); opacity: 0.3; margin-top: 4px; } .shop-mine-help { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 0; font-family: var(--font-label); font-size: 12px; color: var(--color-subtle-gray); } .shop-mine-bind-msg { margin: 0 0 8px; text-align: center; font-size: 13px; color: var(--color-heritage-red); } .shop-mine-bind-wechat { margin-top: 8px; width: 100%; height: 48px; border: none; border-radius: var(--radius-md); background: #07c160; color: #fff; font-family: var(--font-headline); font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; } .shop-mine-bind-wechat:disabled { opacity: 0.7; cursor: not-allowed; } .shop-mine-logout { margin-top: 12px; width: 100%; height: 48px; border: 1px solid var(--color-heritage-red); border-radius: var(--radius-md); background: transparent; color: var(--color-heritage-red); font-family: var(--font-headline); font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; } .session-boot { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-background); } .session-boot-text { color: var(--color-muted); font-size: 14px; } .shop-select-store-page, .shop-staff-page { min-height: 100vh; background: var(--color-background); padding-bottom: 40px; } .shop-subpage-header { position: sticky; top: 0; z-index: 50; height: 56px; display: flex; align-items: center; justify-content: center; padding: 0 var(--space-page); background: var(--color-surface); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04); } .shop-subpage-back, .shop-subpage-header-action { position: absolute; top: 50%; transform: translateY(-50%); border: none; background: none; padding: 4px; color: var(--color-heritage-red); cursor: pointer; display: inline-flex; align-items: center; gap: 2px; font-family: var(--font-label); font-size: 13px; font-weight: 600; } .shop-subpage-back { left: var(--space-page); } .shop-subpage-header-action { right: var(--space-page); } .shop-subpage-header-action .material-symbols-outlined { font-size: 20px; } .shop-subpage-header-spacer { position: absolute; width: 40px; height: 40px; left: var(--space-page); pointer-events: none; } .shop-subpage-content { padding: 16px var(--space-page) 24px; display: flex; flex-direction: column; gap: 20px; } .shop-subpage-hero { display: flex; align-items: flex-start; gap: 14px; background: var(--color-heritage-red); border-radius: var(--radius-md); padding: 20px; color: var(--color-on-primary); box-shadow: 0 8px 24px rgba(166, 29, 36, 0.25); } .shop-subpage-hero--compact { padding: 16px 18px; } .shop-subpage-hero-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .shop-subpage-hero-icon .material-symbols-outlined { font-size: 24px; } .shop-subpage-hero-title { margin: 0 0 6px; font-family: var(--font-headline); font-size: 17px; font-weight: 700; } .shop-subpage-hero-desc { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); } .shop-subpage-section-title { font-family: var(--font-label); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-subtle-gray); margin: 0 0 12px 4px; } .shop-subpage-msg { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(166, 29, 36, 0.08); color: var(--color-heritage-red); font-size: 13px; } .shop-subpage-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 16px; color: var(--color-subtle-gray); text-align: center; } .shop-subpage-empty .material-symbols-outlined { font-size: 40px; opacity: 0.45; } .shop-subpage-empty p { margin: 0; font-size: 14px; } .shop-select-store-list, .shop-staff-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; } .shop-select-store-item { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 16px; border: 1px solid rgba(226, 190, 188, 0.3); border-radius: var(--radius-md); background: var(--color-card); box-shadow: 0 4px 20px rgba(166, 29, 36, 0.03); cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; } .shop-select-store-item:disabled { opacity: 0.65; cursor: not-allowed; } .shop-select-store-item.is-active { border-color: rgba(166, 29, 36, 0.35); box-shadow: 0 6px 20px rgba(166, 29, 36, 0.1); } .shop-select-store-item-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(166, 29, 36, 0.08); color: var(--color-heritage-red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .shop-select-store-item-body { flex: 1; min-width: 0; } .shop-select-store-item-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; } .shop-select-store-name { font-family: var(--font-headline); font-size: 16px; font-weight: 700; color: var(--color-on-surface); } .shop-select-store-badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--color-heritage-red); color: #fff; } .shop-select-store-status { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(45, 106, 79, 0.1); color: var(--color-success-green); } .shop-select-store-meta { display: block; font-size: 13px; color: var(--color-subtle-gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .shop-select-store-item-action { color: var(--color-heritage-red); font-size: 12px; font-weight: 600; flex-shrink: 0; } .shop-select-store-item-action .material-symbols-outlined { font-size: 22px; color: var(--color-on-surface-variant); } .shop-mine-actions { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; } .shop-mine-action { display: flex; align-items: center; gap: 8px; width: 100%; height: 48px; border: 1px solid rgba(226, 190, 188, 0.35); border-radius: var(--radius-md); background: var(--color-card); box-shadow: 0 2px 10px rgba(166, 29, 36, 0.04); font-size: 15px; font-weight: 600; color: var(--color-on-surface); cursor: pointer; padding: 0 14px; } .shop-mine-action .material-symbols-outlined { color: var(--color-heritage-red); } .shop-staff-form-card { background: var(--color-card); border-radius: var(--radius-md); padding: 20px; border: 1px solid rgba(226, 190, 188, 0.3); box-shadow: 0 4px 20px rgba(166, 29, 36, 0.05); display: flex; flex-direction: column; gap: 16px; } .shop-staff-form-field { display: flex; flex-direction: column; gap: 8px; } .shop-staff-form-label { font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--color-on-surface-variant); } .shop-staff-form-hint { margin-left: 6px; font-weight: 500; color: var(--color-subtle-gray); } .shop-staff-form-input-wrap { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border: 1px solid var(--color-outline-variant); border-radius: 12px; background: var(--color-surface); } .shop-staff-form-input-wrap:focus-within { border-color: var(--color-heritage-red); } .shop-staff-form-input-wrap .material-symbols-outlined { font-size: 20px; color: var(--color-on-surface-variant); } .shop-staff-form-input-wrap input { flex: 1; border: none; outline: none; background: transparent; font-size: 16px; color: var(--color-on-surface); } .shop-staff-store-picks { display: flex; flex-direction: column; gap: 8px; } .shop-staff-store-pick { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(0, 0, 0, 0.08); background: var(--color-surface); cursor: pointer; } .shop-staff-store-pick input { position: absolute; opacity: 0; pointer-events: none; } .shop-staff-store-pick .material-symbols-outlined:first-of-type { font-size: 20px; color: var(--color-on-surface-variant); } .shop-staff-store-pick.is-checked { border-color: rgba(166, 29, 36, 0.35); background: rgba(166, 29, 36, 0.04); } .shop-staff-store-pick.is-checked .material-symbols-outlined:first-of-type { color: var(--color-heritage-red); } .shop-staff-store-pick-name { flex: 1; font-size: 14px; font-weight: 600; color: var(--color-on-surface); } .shop-staff-store-pick-check { font-size: 20px !important; color: var(--color-heritage-red) !important; } .shop-staff-submit { width: 100%; height: 48px; border: none; border-radius: var(--radius-md); background: var(--color-heritage-red); color: var(--color-on-primary); font-family: var(--font-headline); font-size: 16px; font-weight: 700; cursor: pointer; } .shop-staff-submit:disabled { opacity: 0.6; cursor: not-allowed; } .shop-staff-cancel { width: 100%; height: 44px; border: none; border-radius: var(--radius-md); background: transparent; color: var(--color-on-surface-variant); font-size: 14px; cursor: pointer; } .shop-staff-item { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius-md); background: var(--color-card); border: 1px solid rgba(226, 190, 188, 0.25); box-shadow: 0 4px 20px rgba(166, 29, 36, 0.03); } .shop-staff-avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(166, 29, 36, 0.1); color: var(--color-heritage-red); font-family: var(--font-headline); font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .shop-staff-item-body { flex: 1; min-width: 0; } .shop-staff-item-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; } .shop-staff-item-top strong { font-size: 15px; font-weight: 700; color: var(--color-on-surface); } .shop-staff-status-badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; } .shop-staff-status-badge.is-active { background: rgba(45, 106, 79, 0.1); color: var(--color-success-green); } .shop-staff-status-badge.is-disabled { background: rgba(153, 153, 153, 0.12); color: var(--color-subtle-gray); } .shop-staff-item-meta { margin: 0; font-size: 12px; color: var(--color-subtle-gray); line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .shop-staff-toggle { flex-shrink: 0; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(166, 29, 36, 0.35); background: #fff; color: var(--color-heritage-red); font-size: 12px; font-weight: 700; cursor: pointer; } .shop-staff-toggle.is-enable { border: none; background: var(--color-heritage-red); color: #fff; } .shop-staff-empty-add { margin-top: 8px; border: none; background: none; color: var(--color-heritage-red); font-size: 14px; font-weight: 700; cursor: pointer; } /* 微信 H5 系统标题已展示:隐藏页内重复标题,保留返回键与操作区 */ .app-page-title { display: none !important; } /* 仅含标题的顶栏一并收起,去掉空白条;有返回/操作的顶栏保留 */ header:has(> .app-page-title:only-child), .shop-home-header:has(> .app-page-title:only-child), .shop-mine-header:has(> .app-page-title:only-child), .shop-records-header:has(> .app-page-title:only-child), .app-page-header:has(> .app-page-title:only-child) { display: none !important; height: 0 !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; overflow: hidden; border: none !important; box-shadow: none !important; }