统一 Salon 全端薄荷绿主题

This commit is contained in:
2026-10-20 17:54:09 +08:00
parent 274c6af30b
commit 527754af02
47 changed files with 419 additions and 382 deletions
@@ -96,7 +96,7 @@ const displayContentHtml = computed(() => renderRichContent(displayContent.value
} }
.system-message-card--preview { .system-message-card--preview {
box-shadow: 0 20px 54px rgba(77, 50, 62, 0.16); box-shadow: 0 20px 54px rgba(23, 33, 31, 0.16);
} }
.system-message-card--modal { .system-message-card--modal {
@@ -24,20 +24,21 @@ describe('useShopTheme', () => {
document.documentElement.removeAttribute('style') document.documentElement.removeAttribute('style')
}) })
it('uses the first preset as the default visible theme', async () => { it('uses the mint theme as the default visible theme', async () => {
const { resetShopTheme } = useShopTheme() const { resetShopTheme } = useShopTheme()
resetShopTheme() resetShopTheme()
expect(DEFAULT_SHOP_THEME.primaryColor).toBe('#E8B4B8') expect(DEFAULT_SHOP_THEME.primaryColor).toBe('#247B63')
expect(DEFAULT_SHOP_THEME.secondaryColor).toBe('#C5A059') expect(DEFAULT_SHOP_THEME.secondaryColor).toBe('#B8E4D4')
expect(DEFAULT_SHOP_THEME.accentColor).toBe('#4A443F') expect(DEFAULT_SHOP_THEME.accentColor).toBe('#17211F')
expect(DEFAULT_SHOP_THEME.pageBgColor).toBe('#FDFBF9') expect(DEFAULT_SHOP_THEME.pageBgColor).toBe('#F3F7F4')
expect(DEFAULT_SHOP_THEME.cardBgColor).toBe('#FFFFFF') expect(DEFAULT_SHOP_THEME.cardBgColor).toBe('#FFFFFF')
expect(document.documentElement.style.getPropertyValue('--theme-primary')).toBe('#E8B4B8') expect(document.documentElement.style.getPropertyValue('--theme-primary')).toBe('#247B63')
expect(document.documentElement.style.getPropertyValue('--theme-secondary')).toBe('#C5A059') expect(document.documentElement.style.getPropertyValue('--theme-secondary')).toBe('#B8E4D4')
expect(document.documentElement.style.getPropertyValue('--theme-neutral')).toBe('#4A443F') expect(document.documentElement.style.getPropertyValue('--theme-neutral')).toBe('#17211F')
expect(document.documentElement.style.getPropertyValue('--theme-tertiary')).toBe('#FDFBF9') expect(document.documentElement.style.getPropertyValue('--theme-tertiary')).toBe('#F3F7F4')
expect(document.documentElement.style.getPropertyValue('--text-secondary')).toBe('#71807A')
}) })
it('refreshes the admin theme from the cached admin shop context', async () => { it('refreshes the admin theme from the cached admin shop context', async () => {
@@ -66,6 +67,6 @@ describe('useShopTheme', () => {
await refreshShopTheme({ mode: 'admin' }) await refreshShopTheme({ mode: 'admin' })
expect(shopApi.getShopById).not.toHaveBeenCalled() expect(shopApi.getShopById).not.toHaveBeenCalled()
expect(document.documentElement.style.getPropertyValue('--theme-primary')).toBe('#E8B4B8') expect(document.documentElement.style.getPropertyValue('--theme-primary')).toBe('#247B63')
}) })
}) })
+26 -26
View File
@@ -1,26 +1,26 @@
:root { :root {
--primary-color: #E8B4B8; --primary-color: #247B63;
--theme-primary: #E8B4B8; --theme-primary: #247B63;
--theme-secondary: #C5A059; --theme-secondary: #B8E4D4;
--theme-accent: #4A443F; --theme-accent: #17211F;
--theme-neutral: #4A443F; --theme-neutral: #17211F;
--theme-tertiary: #FDFBF9; --theme-tertiary: #F3F7F4;
--theme-primary-action: #766361; --theme-primary-action: #247B63;
--theme-primary-soft: #FAEFF0; --theme-primary-soft: #E5F4ED;
--theme-secondary-soft: #EADCC2; --theme-secondary-soft: #E5F4ED;
--theme-page-bg: #FDFBF9; --theme-page-bg: #F3F7F4;
--theme-card-bg: #FFFFFF; --theme-card-bg: #FFFFFF;
--theme-border: #F9EAEC; --theme-border: #E7ECE9;
--theme-gradient: linear-gradient(135deg, #766361 0%, #C5A059 100%); --theme-gradient: linear-gradient(135deg, #247B63 0%, #1E6B55 100%);
--theme-gradient-soft: linear-gradient(145deg, #FFFFFF 0%, #EADCC2 58%, #F5E0E0 100%); --theme-gradient-soft: linear-gradient(145deg, #FFFFFF 0%, #E5F4ED 58%, #F3F7F4 100%);
--theme-button-shadow: 0 12px 28px rgba(232, 180, 184, 0.26); --theme-button-shadow: 0 12px 28px rgba(36, 123, 99, 0.22);
--theme-focus-shadow: 0 0 0 3px rgba(232, 180, 184, 0.2); --theme-focus-shadow: 0 0 0 3px rgba(36, 123, 99, 0.16);
--theme-background-image: none; --theme-background-image: none;
--bg-color: #FDFBF9; --bg-color: #F3F7F4;
--secondary-bg-color: #EADCC2; --secondary-bg-color: #E5F4ED;
--surface-color: #FFFFFF; --surface-color: #FFFFFF;
--text-primary: #4A443F; --text-primary: #17211F;
--text-secondary: #6B6662; --text-secondary: #71807A;
--border-radius-base: 10px; --border-radius-base: 10px;
--border-radius-large: 30px; --border-radius-large: 30px;
--frontend-min-safe-width: 320px; --frontend-min-safe-width: 320px;
@@ -78,7 +78,7 @@ body {
padding: 18px 18px calc(88px + env(safe-area-inset-bottom, 0px)); padding: 18px 18px calc(88px + env(safe-area-inset-bottom, 0px));
color: var(--text-primary); color: var(--text-primary);
background: background:
linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(253, 251, 249, 0.96)), linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(243, 247, 244, 0.96)),
var(--theme-background-image), var(--theme-background-image),
var(--theme-page-bg); var(--theme-page-bg);
background-size: cover, cover, auto; background-size: cover, cover, auto;
@@ -131,7 +131,7 @@ body {
border: 1px solid rgba(255, 255, 255, 0.9); border: 1px solid rgba(255, 255, 255, 0.9);
border-radius: 24px; border-radius: 24px;
background: color-mix(in srgb, var(--theme-card-bg) 88%, transparent); background: color-mix(in srgb, var(--theme-card-bg) 88%, transparent);
box-shadow: 0 20px 44px rgba(74, 68, 63, 0.1); box-shadow: 0 20px 44px rgba(23, 33, 31, 0.1);
backdrop-filter: blur(16px); backdrop-filter: blur(16px);
} }
@@ -232,7 +232,7 @@ body {
border-color: var(--theme-border); border-color: var(--theme-border);
border-radius: 24px; border-radius: 24px;
background: rgba(255, 255, 255, 0.86); background: rgba(255, 255, 255, 0.86);
box-shadow: 0 18px 42px rgba(74, 68, 63, 0.09); box-shadow: 0 18px 42px rgba(23, 33, 31, 0.09);
backdrop-filter: blur(14px); backdrop-filter: blur(14px);
} }
@@ -284,8 +284,8 @@ body {
@media (min-width: 768px) { @media (min-width: 768px) {
body { body {
background: background:
radial-gradient(circle at 18% 8%, rgba(254, 212, 136, 0.28), transparent 30%), radial-gradient(circle at 18% 8%, rgba(184, 228, 212, 0.28), transparent 30%),
radial-gradient(circle at 82% 12%, rgba(232, 180, 184, 0.24), transparent 34%), radial-gradient(circle at 82% 12%, rgba(36, 123, 99, 0.12), transparent 34%),
var(--secondary-bg-color); var(--secondary-bg-color);
} }
@@ -303,9 +303,9 @@ body {
min-height: 100vh; min-height: 100vh;
margin: 0 auto; margin: 0 auto;
overflow: clip; overflow: clip;
border: 1px solid rgba(212, 194, 195, 0.72); border: 1px solid rgba(203, 220, 213, 0.72);
border-radius: 32px; border-radius: 32px;
box-shadow: 0 28px 80px rgba(74, 68, 63, 0.14); box-shadow: 0 28px 80px rgba(23, 33, 31, 0.14);
} }
.jayucloud-salon-phone-frame > .bottom-nav, .jayucloud-salon-phone-frame > .bottom-nav,
@@ -33,14 +33,14 @@
var(--admin-mobile-shell-end) 100% var(--admin-mobile-shell-end) 100%
); );
border-radius: 24px; border-radius: 24px;
box-shadow: 0 18px 40px rgba(146, 103, 82, 0.2); box-shadow: 0 18px 40px rgba(23, 33, 31, 0.16);
} }
.admin-page-intro__eyebrow { .admin-page-intro__eyebrow {
font-size: 12px; font-size: 12px;
letter-spacing: 0.12em; letter-spacing: 0.12em;
text-transform: uppercase; text-transform: uppercase;
color: rgba(255, 248, 241, 0.74); color: rgba(255, 255, 255, 0.74);
} }
.admin-page-intro__title { .admin-page-intro__title {
@@ -53,7 +53,7 @@
.admin-page-intro__subtitle { .admin-page-intro__subtitle {
margin: 0; margin: 0;
line-height: 1.65; line-height: 1.65;
color: rgba(255, 248, 241, 0.82); color: rgba(255, 255, 255, 0.82);
} }
.shops .admin-page-intro__subtitle, .shops .admin-page-intro__subtitle,
@@ -108,7 +108,7 @@
background: var(--admin-mobile-card); background: var(--admin-mobile-card);
border: 1px solid var(--admin-mobile-border); border: 1px solid var(--admin-mobile-border);
border-radius: 22px; border-radius: 22px;
box-shadow: 0 12px 28px rgba(144, 103, 84, 0.09); box-shadow: 0 12px 28px rgba(23, 33, 31, 0.08);
} }
.admin-mobile-card__cover { .admin-mobile-card__cover {
@@ -224,7 +224,7 @@
background: var(--admin-mobile-card); background: var(--admin-mobile-card);
border: 1px solid var(--admin-mobile-border); border: 1px solid var(--admin-mobile-border);
border-radius: 20px; border-radius: 20px;
box-shadow: 0 10px 24px rgba(144, 103, 84, 0.08); box-shadow: 0 10px 24px rgba(23, 33, 31, 0.07);
} }
.admin-mobile-stat__label { .admin-mobile-stat__label {
@@ -244,7 +244,7 @@
background: var(--admin-mobile-card); background: var(--admin-mobile-card);
border: 1px solid var(--admin-mobile-border); border: 1px solid var(--admin-mobile-border);
border-radius: 22px; border-radius: 22px;
box-shadow: 0 12px 28px rgba(144, 103, 84, 0.09); box-shadow: 0 12px 28px rgba(23, 33, 31, 0.08);
} }
.admin-mobile-section-card__title { .admin-mobile-section-card__title {
+8 -6
View File
@@ -89,18 +89,20 @@ export function notifyShopThemeChanged() {
*/ */
function resolveShopThemeSource(source?: ShopThemeSource | null): ResolvedShopTheme { function resolveShopThemeSource(source?: ShopThemeSource | null): ResolvedShopTheme {
const normalizedPrimaryColor = normalizeHexColor(source?.themePrimaryColor) const normalizedPrimaryColor = normalizeHexColor(source?.themePrimaryColor)
const primaryColor = normalizedPrimaryColor || '#E8B4B8' const primaryColor = normalizedPrimaryColor || '#247B63'
const secondaryColor = normalizeHexColor(source?.themeSecondaryColor) const secondaryColor = normalizeHexColor(source?.themeSecondaryColor)
|| (normalizedPrimaryColor ? mixColor(primaryColor, '#C5A059', 0.35) : '#C5A059') || (normalizedPrimaryColor ? mixColor(primaryColor, '#B8E4D4', 0.35) : '#B8E4D4')
const neutralColor = normalizeHexColor(source?.themeAccentColor) const neutralColor = normalizeHexColor(source?.themeAccentColor)
|| (normalizedPrimaryColor ? mixColor('#4A443F', primaryColor, 0.14) : '#4A443F') || (normalizedPrimaryColor ? mixColor('#17211F', primaryColor, 0.14) : '#17211F')
const accentColor = neutralColor const accentColor = neutralColor
const tertiaryColor = normalizeHexColor(source?.themePageBgColor) || '#FDFBF9' const tertiaryColor = normalizeHexColor(source?.themePageBgColor) || '#F3F7F4'
const pageBgColor = tertiaryColor const pageBgColor = tertiaryColor
const cardBgColor = normalizeHexColor(source?.themeCardBgColor) || '#FFFFFF' const cardBgColor = normalizeHexColor(source?.themeCardBgColor) || '#FFFFFF'
const textPrimary = readableTextColor(pageBgColor, neutralColor) const textPrimary = readableTextColor(pageBgColor, neutralColor)
const textSecondary = textPrimary === neutralColor const textSecondary = !normalizedPrimaryColor
? mixColor(neutralColor, cardBgColor, 0.18) ? '#71807A'
: textPrimary === neutralColor
? mixColor(neutralColor, cardBgColor, 0.4)
: mixColor('#FFFFFF', primaryColor, 0.3) : mixColor('#FFFFFF', primaryColor, 0.3)
const borderColor = mixColor(primaryColor, cardBgColor, 0.72) const borderColor = mixColor(primaryColor, cardBgColor, 0.72)
const primarySoftColor = mixColor(primaryColor, cardBgColor, 0.78) const primarySoftColor = mixColor(primaryColor, cardBgColor, 0.78)
@@ -129,7 +129,7 @@ onMounted(loadOrder)
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 9px 14px; background: color-mix(in srgb, var(--theme-card-bg) 92%, transparent); border-bottom: 1px solid var(--theme-border); backdrop-filter: blur(14px); } .header { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 9px 14px; background: color-mix(in srgb, var(--theme-card-bg) 92%, transparent); border-bottom: 1px solid var(--theme-border); backdrop-filter: blur(14px); }
.header h1 { margin: 0; font-size: 18px; } .header h1 { margin: 0; font-size: 18px; }
.content { padding: 16px 14px 32px; } .content { padding: 16px 14px 32px; }
.hero-card, .form-card { border: 1px solid var(--theme-border); border-radius: 20px; background: color-mix(in srgb, var(--theme-card-bg) 88%, transparent); box-shadow: 0 18px 44px rgba(74, 68, 63, 0.08); } .hero-card, .form-card { border: 1px solid var(--theme-border); border-radius: 20px; background: color-mix(in srgb, var(--theme-card-bg) 88%, transparent); box-shadow: 0 18px 44px rgba(23, 33, 31, 0.08); }
.hero-card { padding: 22px; margin-bottom: 14px; background: var(--theme-gradient-soft); } .hero-card { padding: 22px; margin-bottom: 14px; background: var(--theme-gradient-soft); }
.hero-card span { color: var(--theme-primary); font-size: 12px; font-weight: 700; letter-spacing: .05em; } .hero-card span { color: var(--theme-primary); font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.hero-card h2 { margin: 10px 0 6px; font-size: 21px; } .hero-card h2 { margin: 10px 0 6px; font-size: 21px; }
@@ -104,7 +104,7 @@ onMounted(loadRecords)
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 9px 14px; background: color-mix(in srgb, var(--theme-card-bg) 92%, transparent); border-bottom: 1px solid var(--theme-border); backdrop-filter: blur(14px); } .header { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 9px 14px; background: color-mix(in srgb, var(--theme-card-bg) 92%, transparent); border-bottom: 1px solid var(--theme-border); backdrop-filter: blur(14px); }
.header h1 { margin: 0; font-size: 18px; } .header h1 { margin: 0; font-size: 18px; }
.content { padding: 16px 14px 32px; } .content { padding: 16px 14px 32px; }
.hero-card, .record-card { border: 1px solid var(--theme-border); border-radius: 20px; background: color-mix(in srgb, var(--theme-card-bg) 88%, transparent); box-shadow: 0 18px 44px rgba(74, 68, 63, 0.08); } .hero-card, .record-card { border: 1px solid var(--theme-border); border-radius: 20px; background: color-mix(in srgb, var(--theme-card-bg) 88%, transparent); box-shadow: 0 18px 44px rgba(23, 33, 31, 0.08); }
.hero-card { padding: 22px; margin-bottom: 14px; background: var(--theme-gradient-soft); } .hero-card { padding: 22px; margin-bottom: 14px; background: var(--theme-gradient-soft); }
.hero-card span, .record-label { color: var(--theme-primary); font-size: 12px; font-weight: 700; letter-spacing: .05em; } .hero-card span, .record-label { color: var(--theme-primary); font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.hero-card h2 { margin: 10px 0 6px; font-size: 21px; } .hero-card h2 { margin: 10px 0 6px; font-size: 21px; }
@@ -373,7 +373,7 @@ onMounted(loadOrder)
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 9px 14px; background: color-mix(in srgb, var(--theme-card-bg) 92%, transparent); border-bottom: 1px solid var(--theme-border); backdrop-filter: blur(14px); } .header { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 9px 14px; background: color-mix(in srgb, var(--theme-card-bg) 92%, transparent); border-bottom: 1px solid var(--theme-border); backdrop-filter: blur(14px); }
.header h1 { margin: 0; font-size: 18px; } .header h1 { margin: 0; font-size: 18px; }
.content { padding: 16px 14px 28px; } .content { padding: 16px 14px 28px; }
.hero-card, .section-card, .timeline-card { border: 1px solid var(--theme-border); border-radius: 20px; background: color-mix(in srgb, var(--theme-card-bg) 88%, transparent); box-shadow: 0 18px 44px rgba(74, 68, 63, 0.08); } .hero-card, .section-card, .timeline-card { border: 1px solid var(--theme-border); border-radius: 20px; background: color-mix(in srgb, var(--theme-card-bg) 88%, transparent); box-shadow: 0 18px 44px rgba(23, 33, 31, 0.08); }
.hero-card { padding: 22px; background: var(--theme-gradient-soft); } .hero-card { padding: 22px; background: var(--theme-gradient-soft); }
.eyebrow { display: block; color: var(--theme-primary); font-size: 12px; font-weight: 700; letter-spacing: .05em; } .eyebrow { display: block; color: var(--theme-primary); font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.hero-card h2 { margin: 10px 0 6px; font-size: 21px; } .hero-card h2 { margin: 10px 0 6px; font-size: 21px; }
+15 -15
View File
@@ -1881,27 +1881,27 @@ onMounted(async () => {
.order-page { .order-page {
--order-shell-width: min(100%, var(--frontend-page-max-width, 780px)); --order-shell-width: min(100%, var(--frontend-page-max-width, 780px));
--order-bg: #fff8f4; --order-bg: var(--theme-page-bg);
--order-surface: rgba(255, 255, 255, 0.8); --order-surface: rgba(255, 255, 255, 0.8);
--order-surface-solid: #ffffff; --order-surface-solid: #ffffff;
--order-surface-low: #fcf2ea; --order-surface-low: var(--theme-primary-soft);
--order-text: #1f1b17; --order-text: var(--text-primary);
--order-muted: #504444; --order-muted: var(--text-secondary);
--order-primary: #7c5357; --order-primary: var(--theme-primary);
--order-primary-soft: #ffdadc; --order-primary-soft: var(--theme-primary-soft);
--order-primary-dim: #eeb9bd; --order-primary-dim: var(--theme-secondary);
--order-gold: #775a19; --order-gold: var(--theme-primary-action);
--order-gold-soft: #ffdea5; --order-gold-soft: var(--theme-secondary);
--order-outline: #d4c2c3; --order-outline: var(--theme-border);
--order-outline-strong: #827474; --order-outline-strong: var(--text-secondary);
--order-shadow: rgba(74, 68, 63, 0.04); --order-shadow: rgba(23, 33, 31, 0.04);
padding-top: 64px; padding-top: 64px;
padding-bottom: calc(32px + env(safe-area-inset-bottom)); padding-bottom: calc(32px + env(safe-area-inset-bottom));
color: var(--order-text); color: var(--order-text);
background: var(--order-bg); background: var(--order-bg);
background-image: background-image:
radial-gradient(circle at 92% 8%, rgba(232, 180, 184, 0.22), transparent 30%), radial-gradient(circle at 92% 8%, rgba(184, 228, 212, 0.28), transparent 30%),
radial-gradient(circle at 8% 18%, rgba(254, 212, 136, 0.22), transparent 28%); radial-gradient(circle at 8% 18%, rgba(36, 123, 99, 0.1), transparent 28%);
font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
} }
@@ -1917,7 +1917,7 @@ onMounted(async () => {
height: 64px; height: 64px;
padding: 8px 20px; padding: 8px 20px;
background: rgba(255, 248, 244, 0.82); background: rgba(255, 248, 244, 0.82);
box-shadow: 0 6px 18px rgba(74, 68, 63, 0.05); box-shadow: 0 6px 18px rgba(23, 33, 31, 0.05);
backdrop-filter: blur(18px); backdrop-filter: blur(18px);
transform: translateX(-50%); transform: translateX(-50%);
} }
@@ -126,7 +126,7 @@ onMounted(loadProgress)
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 9px 14px; background: color-mix(in srgb, var(--theme-card-bg) 92%, transparent); border-bottom: 1px solid var(--theme-border); backdrop-filter: blur(14px); } .header { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 9px 14px; background: color-mix(in srgb, var(--theme-card-bg) 92%, transparent); border-bottom: 1px solid var(--theme-border); backdrop-filter: blur(14px); }
.header h1 { margin: 0; font-size: 18px; } .header h1 { margin: 0; font-size: 18px; }
.content { padding: 16px 14px 32px; } .content { padding: 16px 14px 32px; }
.hero-card, .section-card, .progress-list { border: 1px solid var(--theme-border); border-radius: 20px; background: color-mix(in srgb, var(--theme-card-bg) 88%, transparent); box-shadow: 0 18px 44px rgba(74, 68, 63, 0.08); } .hero-card, .section-card, .progress-list { border: 1px solid var(--theme-border); border-radius: 20px; background: color-mix(in srgb, var(--theme-card-bg) 88%, transparent); box-shadow: 0 18px 44px rgba(23, 33, 31, 0.08); }
.hero-card { padding: 22px; margin-bottom: 14px; background: var(--theme-gradient-soft); } .hero-card { padding: 22px; margin-bottom: 14px; background: var(--theme-gradient-soft); }
.hero-card span { color: var(--theme-primary); font-size: 12px; font-weight: 700; letter-spacing: .05em; } .hero-card span { color: var(--theme-primary); font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.hero-card h2 { margin: 10px 0 6px; font-size: 21px; } .hero-card h2 { margin: 10px 0 6px; font-size: 21px; }
+23 -23
View File
@@ -341,31 +341,31 @@ onMounted(loadData)
<style scoped> <style scoped>
.vip-center { .vip-center {
--vip-bg: #fff8f4; --vip-bg: var(--theme-page-bg);
--vip-surface: rgba(255, 255, 255, 0.82); --vip-surface: rgba(255, 255, 255, 0.82);
--vip-surface-strong: rgba(255, 255, 255, 0.94); --vip-surface-strong: rgba(255, 255, 255, 0.94);
--vip-surface-low: #fcf2ea; --vip-surface-low: var(--theme-page-bg);
--vip-surface-mid: #f6ece5; --vip-surface-mid: var(--theme-primary-soft);
--vip-surface-high: #f1e6df; --vip-surface-high: var(--theme-secondary);
--vip-text: #1f1b17; --vip-text: var(--text-primary);
--vip-muted: #504444; --vip-muted: var(--text-secondary);
--vip-outline: #d4c2c3; --vip-outline: var(--theme-border);
--vip-outline-soft: rgba(212, 194, 195, 0.54); --vip-outline-soft: color-mix(in srgb, var(--theme-border) 54%, transparent);
--vip-primary: #7c5357; --vip-primary: var(--theme-primary);
--vip-blush: #e8b4b8; --vip-blush: var(--theme-secondary);
--vip-blush-soft: #ffdadc; --vip-blush-soft: var(--theme-primary-soft);
--vip-blush-dim: #eeb9bd; --vip-blush-dim: #9CCDBB;
--vip-gold: #775a19; --vip-gold: var(--theme-primary-action);
--vip-gold-soft: #fed488; --vip-gold-soft: var(--theme-secondary);
--vip-neutral: #5e5e5d; --vip-neutral: var(--text-secondary);
--vip-neutral-soft: #c2c1bf; --vip-neutral-soft: var(--theme-border);
--vip-hero-text: #fff8f4; --vip-hero-text: #FFFFFF;
--vip-shadow: rgba(74, 68, 63, 0.1); --vip-shadow: rgba(23, 33, 31, 0.1);
min-height: 100vh; min-height: 100vh;
color: var(--vip-text); color: var(--vip-text);
background: background:
radial-gradient(circle at 84% 0%, rgba(232, 180, 184, 0.38), transparent 34%), radial-gradient(circle at 84% 0%, rgba(184, 228, 212, 0.38), transparent 34%),
radial-gradient(circle at 4% 18%, rgba(254, 212, 136, 0.34), transparent 30%), radial-gradient(circle at 4% 18%, rgba(36, 123, 99, 0.1), transparent 30%),
linear-gradient(180deg, var(--vip-bg) 0%, var(--vip-surface-low) 46%, var(--vip-bg) 100%); linear-gradient(180deg, var(--vip-bg) 0%, var(--vip-surface-low) 46%, var(--vip-bg) 100%);
} }
@@ -380,8 +380,8 @@ onMounted(loadData)
min-height: 64px; min-height: 64px;
margin: 0 auto; margin: 0 auto;
padding: 8px 20px; padding: 8px 20px;
background: rgba(255, 248, 244, 0.86); background: color-mix(in srgb, var(--theme-card-bg) 86%, transparent);
box-shadow: 0 8px 28px rgba(74, 68, 63, 0.06); box-shadow: 0 8px 28px rgba(23, 33, 31, 0.06);
backdrop-filter: blur(18px); backdrop-filter: blur(18px);
} }
@@ -406,7 +406,7 @@ onMounted(loadData)
border-radius: 999px; border-radius: 999px;
color: var(--vip-primary); color: var(--vip-primary);
background: var(--vip-surface-strong); background: var(--vip-surface-strong);
box-shadow: 0 12px 24px rgba(74, 68, 63, 0.08); box-shadow: 0 12px 24px rgba(23, 33, 31, 0.08);
cursor: pointer; cursor: pointer;
} }
@@ -1042,7 +1042,7 @@ onMounted(async () => {
border-radius: 22px; border-radius: 22px;
background: var(--admin-mobile-card); background: var(--admin-mobile-card);
border: 1px solid var(--admin-mobile-border); border: 1px solid var(--admin-mobile-border);
box-shadow: 0 12px 24px rgba(144, 103, 84, 0.08); box-shadow: 0 12px 24px rgba(23, 33, 31, 0.08);
} }
.drawer-shop-card__label { .drawer-shop-card__label {
@@ -255,13 +255,13 @@ onMounted(() => {
border-radius: 24px; border-radius: 24px;
background: var(--admin-mobile-card); background: var(--admin-mobile-card);
text-align: left; text-align: left;
box-shadow: 0 12px 30px rgba(144, 103, 84, 0.08); box-shadow: 0 12px 30px rgba(23, 33, 31, 0.08);
transition: transform 0.2s ease, box-shadow 0.2s ease; transition: transform 0.2s ease, box-shadow 0.2s ease;
} }
.module-card:hover { .module-card:hover {
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: 0 18px 36px rgba(144, 103, 84, 0.12); box-shadow: 0 18px 36px rgba(23, 33, 31, 0.12);
} }
.module-card.is-disabled { .module-card.is-disabled {
@@ -344,12 +344,12 @@ onMounted(() => {
gap: 12px; gap: 12px;
padding: 14px 16px; padding: 14px 16px;
border-radius: 18px; border-radius: 18px;
box-shadow: 0 8px 20px rgba(144, 103, 84, 0.07); box-shadow: 0 8px 20px rgba(23, 33, 31, 0.07);
} }
.module-card:hover { .module-card:hover {
transform: none; transform: none;
box-shadow: 0 8px 20px rgba(144, 103, 84, 0.07); box-shadow: 0 8px 20px rgba(23, 33, 31, 0.07);
} }
.module-card__icon { .module-card__icon {
@@ -385,25 +385,25 @@
<a-form-item label="主色" name="themePrimaryColor"> <a-form-item label="主色" name="themePrimaryColor">
<div class="theme-color-field"> <div class="theme-color-field">
<input v-model="formState.themePrimaryColor" class="theme-color-picker" type="color" /> <input v-model="formState.themePrimaryColor" class="theme-color-picker" type="color" />
<a-input v-model:value="formState.themePrimaryColor" placeholder="#E8B4B8" /> <a-input v-model:value="formState.themePrimaryColor" placeholder="#247B63" />
</div> </div>
</a-form-item> </a-form-item>
<a-form-item label="辅色" name="themeSecondaryColor"> <a-form-item label="辅色" name="themeSecondaryColor">
<div class="theme-color-field"> <div class="theme-color-field">
<input v-model="formState.themeSecondaryColor" class="theme-color-picker" type="color" /> <input v-model="formState.themeSecondaryColor" class="theme-color-picker" type="color" />
<a-input v-model:value="formState.themeSecondaryColor" placeholder="#C5A059" /> <a-input v-model:value="formState.themeSecondaryColor" placeholder="#B8E4D4" />
</div> </div>
</a-form-item> </a-form-item>
<a-form-item label="中性/强调色" name="themeAccentColor"> <a-form-item label="中性/强调色" name="themeAccentColor">
<div class="theme-color-field"> <div class="theme-color-field">
<input v-model="formState.themeAccentColor" class="theme-color-picker" type="color" /> <input v-model="formState.themeAccentColor" class="theme-color-picker" type="color" />
<a-input v-model:value="formState.themeAccentColor" placeholder="#4A443F" /> <a-input v-model:value="formState.themeAccentColor" placeholder="#17211F" />
</div> </div>
</a-form-item> </a-form-item>
<a-form-item label="页面背景" name="themePageBgColor"> <a-form-item label="页面背景" name="themePageBgColor">
<div class="theme-color-field"> <div class="theme-color-field">
<input v-model="formState.themePageBgColor" class="theme-color-picker" type="color" /> <input v-model="formState.themePageBgColor" class="theme-color-picker" type="color" />
<a-input v-model:value="formState.themePageBgColor" placeholder="#FDFBF9" /> <a-input v-model:value="formState.themePageBgColor" placeholder="#F3F7F4" />
</div> </div>
</a-form-item> </a-form-item>
<a-form-item label="卡片背景" name="themeCardBgColor"> <a-form-item label="卡片背景" name="themeCardBgColor">
@@ -680,12 +680,12 @@ const CUSTOM_THEME_TEMPLATE_LIMIT = 20
const PRESET_THEME_TEMPLATES: ShopThemeTemplate[] = [ const PRESET_THEME_TEMPLATES: ShopThemeTemplate[] = [
{ {
id: 'preset-luminous-elegance', id: 'preset-luminous-elegance',
name: 'Luminous Elegance', name: '薄荷绿清新',
source: 'preset', source: 'preset',
themePrimaryColor: '#E8B4B8', themePrimaryColor: '#247B63',
themeSecondaryColor: '#C5A059', themeSecondaryColor: '#B8E4D4',
themeAccentColor: '#4A443F', themeAccentColor: '#17211F',
themePageBgColor: '#FDFBF9', themePageBgColor: '#F3F7F4',
themeCardBgColor: '#FFFFFF' themeCardBgColor: '#FFFFFF'
}, },
{ {
@@ -55,8 +55,8 @@ describe('web theme governance', () => {
expect(app).toContain('jayucloud-salon-phone-frame') expect(app).toContain('jayucloud-salon-phone-frame')
expect(app).toContain('jayucloud-salon-phone-frame--hidden-nav') expect(app).toContain('jayucloud-salon-phone-frame--hidden-nav')
expect(globalStyle).toMatch(/--frontend-page-max-width:\s*430px/) expect(globalStyle).toMatch(/--frontend-page-max-width:\s*430px/)
expect(globalStyle).toContain('--theme-neutral: #4A443F;') expect(globalStyle).toContain('--theme-neutral: #17211F;')
expect(globalStyle).toContain('--theme-tertiary: #FDFBF9;') expect(globalStyle).toContain('--theme-tertiary: #F3F7F4;')
expect(globalStyle).toContain('.jayucloud-salon-phone-frame') expect(globalStyle).toContain('.jayucloud-salon-phone-frame')
expect(globalStyle).toContain('.jayucloud-salon-page') expect(globalStyle).toContain('.jayucloud-salon-page')
expect(globalStyle).toContain('.jayucloud-salon-glass-card') expect(globalStyle).toContain('.jayucloud-salon-glass-card')
+5 -5
View File
@@ -27,15 +27,15 @@
"lazyCodeLoading": "requiredComponents", "lazyCodeLoading": "requiredComponents",
"window": { "window": {
"navigationBarTitleText": "甲屿店务", "navigationBarTitleText": "甲屿店务",
"navigationBarBackgroundColor": "#F8F5EF", "navigationBarBackgroundColor": "#F3F7F4",
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"backgroundColor": "#F8F5EF", "backgroundColor": "#F3F7F4",
"backgroundTextStyle": "dark" "backgroundTextStyle": "dark"
}, },
"tabBar": { "tabBar": {
"color": "#8B8680", "color": "#71807A",
"selectedColor": "#2F6F62", "selectedColor": "#247B63",
"backgroundColor": "#FFFDF8", "backgroundColor": "#FFFFFF",
"borderStyle": "white", "borderStyle": "white",
"list": [ "list": [
{ {
+38 -31
View File
@@ -1,7 +1,14 @@
page { page {
min-height: 100%; min-height: 100%;
background: #f8f5ef; --theme-primary: #247b63;
color: #26231f; --theme-primary-soft: #e5f4ed;
--theme-page-bg: #f3f7f4;
--theme-card-bg: #ffffff;
--theme-border: #e7ece9;
--text-primary: #17211f;
--text-secondary: #71807a;
background: var(--theme-page-bg);
color: var(--text-primary);
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 28rpx; font-size: 28rpx;
} }
@@ -32,7 +39,7 @@ button::after {
.page { .page {
min-height: 100vh; min-height: 100vh;
padding: 22rpx 24rpx 140rpx; padding: 22rpx 24rpx 140rpx;
background: #f8f5ef; background: var(--theme-page-bg);
} }
.page.no-tab { .page.no-tab {
@@ -40,10 +47,10 @@ button::after {
} }
.card { .card {
border: 1rpx solid rgba(50, 43, 34, 0.06); border: 1rpx solid var(--theme-border);
border-radius: 12px; border-radius: 12px;
background: #fffdf8; background: var(--theme-card-bg);
box-shadow: 0 10rpx 28rpx rgba(58, 48, 34, 0.06); box-shadow: 0 10rpx 28rpx rgba(23, 33, 31, 0.06);
} }
.section { .section {
@@ -52,7 +59,7 @@ button::after {
.section-title { .section-title {
margin: 4rpx 4rpx 16rpx; margin: 4rpx 4rpx 16rpx;
color: #4c4740; color: var(--text-primary);
font-size: 28rpx; font-size: 28rpx;
font-weight: 700; font-weight: 700;
} }
@@ -67,7 +74,7 @@ button::after {
} }
.muted { .muted {
color: #9d968e; color: var(--text-secondary);
} }
.tag { .tag {
@@ -76,8 +83,8 @@ button::after {
min-height: 40rpx; min-height: 40rpx;
padding: 0 16rpx; padding: 0 16rpx;
border-radius: 999rpx; border-radius: 999rpx;
background: #f0ece5; background: var(--theme-primary-soft);
color: #6d675f; color: var(--text-secondary);
font-size: 22rpx; font-size: 22rpx;
font-weight: 600; font-weight: 600;
} }
@@ -104,15 +111,15 @@ button::after {
} }
.primary-btn { .primary-btn {
background: #6f8f83; background: var(--theme-primary);
color: #fffdf8; color: #ffffff;
box-shadow: 0 12rpx 24rpx rgba(111, 143, 131, 0.22); box-shadow: 0 12rpx 24rpx rgba(36, 123, 99, 0.22);
} }
.secondary-btn { .secondary-btn {
border: 1rpx solid #d8d1c8; border: 1rpx solid var(--theme-border);
background: #fffdf8; background: var(--theme-card-bg);
color: #514b44; color: var(--text-primary);
} }
.danger-btn { .danger-btn {
@@ -125,7 +132,7 @@ button::after {
min-width: 0; min-width: 0;
max-width: none; max-width: none;
min-height: 56rpx; min-height: 56rpx;
color: #6f8f83; color: var(--theme-primary);
font-size: 26rpx; font-size: 26rpx;
} }
@@ -140,8 +147,8 @@ button::after {
height: 56rpx; height: 56rpx;
padding: 0 20rpx; padding: 0 20rpx;
border-radius: 999rpx; border-radius: 999rpx;
background: #e5eee9; background: var(--theme-primary-soft);
color: #55786d; color: var(--theme-primary);
font-size: 24rpx; font-size: 24rpx;
font-weight: 800; font-weight: 800;
} }
@@ -151,8 +158,8 @@ button::after {
min-width: 104rpx; min-width: 104rpx;
max-width: 112rpx; max-width: 112rpx;
height: 52rpx; height: 52rpx;
background: #f0ece5; background: var(--theme-primary-soft);
color: #5f5951; color: var(--text-secondary);
} }
.icon-btn { .icon-btn {
@@ -166,9 +173,9 @@ button::after {
min-height: 64rpx; min-height: 64rpx;
padding: 0; padding: 0;
border-radius: 50%; border-radius: 50%;
background: #fffdf8; background: var(--theme-card-bg);
color: #4e4942; color: var(--text-primary);
box-shadow: 0 6rpx 14rpx rgba(58, 48, 34, 0.05); box-shadow: 0 6rpx 14rpx rgba(23, 33, 31, 0.05);
} }
.form-card { .form-card {
@@ -179,7 +186,7 @@ button::after {
display: flex; display: flex;
align-items: center; align-items: center;
min-height: 108rpx; min-height: 108rpx;
border-bottom: 1rpx solid #eee8df; border-bottom: 1rpx solid var(--theme-border);
} }
.field:last-child { .field:last-child {
@@ -188,7 +195,7 @@ button::after {
.field-label { .field-label {
width: 180rpx; width: 180rpx;
color: #625c55; color: var(--text-secondary);
font-size: 26rpx; font-size: 26rpx;
font-weight: 600; font-weight: 600;
} }
@@ -196,7 +203,7 @@ button::after {
.field-label.required::after, .field-label.required::after,
.required-label::after { .required-label::after {
content: " *"; content: " *";
color: #c56f36; color: #e98669;
font-weight: 900; font-weight: 900;
} }
@@ -204,7 +211,7 @@ button::after {
.field textarea, .field textarea,
.field-value { .field-value {
flex: 1; flex: 1;
color: #27231f; color: var(--text-primary);
font-size: 28rpx; font-size: 28rpx;
} }
@@ -220,7 +227,7 @@ button::after {
left: 0; left: 0;
z-index: 20; z-index: 20;
padding: 14rpx 24rpx calc(14rpx + env(safe-area-inset-bottom)); padding: 14rpx 24rpx calc(14rpx + env(safe-area-inset-bottom));
background: #f8f5ef; background: var(--theme-page-bg);
} }
.fab { .fab {
@@ -238,12 +245,12 @@ button::after {
min-height: 84rpx; min-height: 84rpx;
padding: 0; padding: 0;
border-radius: 50%; border-radius: 50%;
background: #6f8f83; background: var(--theme-primary);
color: #fff; color: #fff;
font-size: 46rpx; font-size: 46rpx;
font-weight: 300; font-weight: 300;
line-height: 84rpx; line-height: 84rpx;
box-shadow: 0 12rpx 26rpx rgba(111, 143, 131, 0.24); box-shadow: 0 12rpx 26rpx rgba(36, 123, 99, 0.24);
} }
.list { .list {
@@ -45,7 +45,7 @@
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
border-radius: 34rpx 34rpx 0 0; border-radius: 34rpx 34rpx 0 0;
background: #fffdf8; background: #ffffff;
box-shadow: 0 -20rpx 48rpx rgba(44, 35, 27, 0.18); box-shadow: 0 -20rpx 48rpx rgba(44, 35, 27, 0.18);
animation: selectorSheetUp 220ms ease both; animation: selectorSheetUp 220ms ease both;
} }
@@ -59,7 +59,7 @@
} }
.selector-title { .selector-title {
color: #29241f; color: #17211f;
font-size: 34rpx; font-size: 34rpx;
font-weight: 900; font-weight: 900;
letter-spacing: 1rpx; letter-spacing: 1rpx;
@@ -73,9 +73,9 @@
min-height: 52rpx; min-height: 52rpx;
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 1rpx solid #e6dfd6; border: 1rpx solid #e7ece9;
border-radius: 50%; border-radius: 50%;
background: #f8f4ee; background: #f3f7f4;
} }
.selector-close::before, .selector-close::before,
@@ -87,7 +87,7 @@
width: 22rpx; width: 22rpx;
height: 3rpx; height: 3rpx;
border-radius: 999rpx; border-radius: 999rpx;
background: #665e56; background: #71807a;
} }
.selector-close::before { transform: rotate(45deg); } .selector-close::before { transform: rotate(45deg); }
@@ -99,9 +99,9 @@
min-height: 80rpx; min-height: 80rpx;
margin: 0 28rpx 18rpx; margin: 0 28rpx 18rpx;
padding: 0 22rpx; padding: 0 22rpx;
border: 1rpx solid #e7e0d7; border: 1rpx solid #e7ece9;
border-radius: 22rpx; border-radius: 22rpx;
background: #f7f3ed; background: #f3f7f4;
} }
.selector-search-icon { .selector-search-icon {
@@ -109,7 +109,7 @@
width: 26rpx; width: 26rpx;
height: 26rpx; height: 26rpx;
margin-right: 18rpx; margin-right: 18rpx;
border: 3rpx solid #8e877f; border: 3rpx solid #71807a;
border-radius: 50%; border-radius: 50%;
} }
@@ -121,7 +121,7 @@
width: 12rpx; width: 12rpx;
height: 3rpx; height: 3rpx;
border-radius: 999rpx; border-radius: 999rpx;
background: #8e877f; background: #71807a;
transform: rotate(45deg); transform: rotate(45deg);
} }
@@ -157,7 +157,7 @@
.selector-search { .selector-search {
height: 78rpx; height: 78rpx;
flex: 1; flex: 1;
color: #29241f; color: #17211f;
font-size: 27rpx; font-size: 27rpx;
} }
@@ -177,14 +177,14 @@
min-height: 112rpx; min-height: 112rpx;
margin-bottom: 14rpx; margin-bottom: 14rpx;
padding: 20rpx; padding: 20rpx;
border: 1rpx solid #ece5dc; border: 1rpx solid #e7ece9;
border-radius: 24rpx; border-radius: 24rpx;
background: #fff; background: #fff;
transition: transform 140ms ease, border-color 140ms ease, background 140ms ease; transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
} }
.selector-item:active { transform: scale(0.99); } .selector-item:active { transform: scale(0.99); }
.selector-item.selected { border-color: #8eafa3; background: #f0f6f3; } .selector-item.selected { border-color: #247b63; background: #e5f4ed; }
.selector-list.card-view { .selector-list.card-view {
display: grid; display: grid;
@@ -213,7 +213,7 @@
height: 76rpx; height: 76rpx;
flex: 0 0 auto; flex: 0 0 auto;
border-radius: 50%; border-radius: 50%;
background: #eee9e2; background: #e7ece9;
} }
.selector-copy { .selector-copy {
@@ -234,7 +234,7 @@
min-width: 0; min-width: 0;
flex: 1; flex: 1;
overflow: hidden; overflow: hidden;
color: #2b2621; color: #17211f;
font-size: 28rpx; font-size: 28rpx;
font-weight: 800; font-weight: 800;
text-overflow: ellipsis; text-overflow: ellipsis;
@@ -252,8 +252,8 @@
flex: 0 0 auto; flex: 0 0 auto;
padding: 5rpx 12rpx; padding: 5rpx 12rpx;
border-radius: 999rpx; border-radius: 999rpx;
background: #e7f0ec; background: #e5f4ed;
color: #55786d; color: #247b63;
font-size: 19rpx; font-size: 19rpx;
font-weight: 800; font-weight: 800;
} }
@@ -263,7 +263,7 @@
display: block; display: block;
margin-top: 7rpx; margin-top: 7rpx;
overflow: hidden; overflow: hidden;
color: #7f7870; color: #71807a;
font-size: 23rpx; font-size: 23rpx;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
@@ -273,13 +273,13 @@
.selector-check { .selector-check {
width: 52rpx; width: 52rpx;
color: #8c857d; color: #71807a;
font-size: 32rpx; font-size: 32rpx;
font-weight: 800; font-weight: 800;
text-align: right; text-align: right;
} }
.selector-item.selected .selector-check { color: #2f6f62; } .selector-item.selected .selector-check { color: #247b63; }
.selector-state { .selector-state {
display: flex; display: flex;
@@ -288,7 +288,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
padding: 40rpx 48rpx; padding: 40rpx 48rpx;
color: #9a9289; color: #71807a;
font-size: 25rpx; font-size: 25rpx;
line-height: 1.6; line-height: 1.6;
text-align: center; text-align: center;
@@ -301,10 +301,10 @@
height: 64rpx; height: 64rpx;
margin-top: 22rpx; margin-top: 22rpx;
padding: 0 28rpx; padding: 0 28rpx;
border: 1rpx solid #d8d1c8; border: 1rpx solid #e7ece9;
border-radius: 999rpx; border-radius: 999rpx;
background: #fff; background: #fff;
color: #514b44; color: #71807a;
font-size: 23rpx; font-size: 23rpx;
font-weight: 800; font-weight: 800;
line-height: 64rpx; line-height: 64rpx;
@@ -315,14 +315,14 @@
height: 20rpx; height: 20rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
border-radius: 50%; border-radius: 50%;
background: #6f8f83; background: #247b63;
box-shadow: -30rpx 0 #c9d8d2, 30rpx 0 #9eb9af; box-shadow: -30rpx 0 #c9d8d2, 30rpx 0 #9eb9af;
} }
.selector-footer { .selector-footer {
padding: 16rpx 28rpx calc(18rpx + env(safe-area-inset-bottom)); padding: 16rpx 28rpx calc(18rpx + env(safe-area-inset-bottom));
border-top: 1rpx solid #eee7de; border-top: 1rpx solid #e7ece9;
background: #fffdf8; background: #ffffff;
} }
.selector-action { .selector-action {
@@ -330,8 +330,8 @@
height: 78rpx; height: 78rpx;
border: 1rpx solid #cbdad4; border: 1rpx solid #cbdad4;
border-radius: 22rpx; border-radius: 22rpx;
background: #edf4f1; background: #e5f4ed;
color: #2f6f62; color: #247b63;
font-size: 26rpx; font-size: 26rpx;
font-weight: 900; font-weight: 900;
line-height: 78rpx; line-height: 78rpx;
@@ -1 +1 @@
.product-selector-mask{position:fixed;inset:0;z-index:130;display:flex;align-items:flex-end;background:rgba(25,22,18,.5)}.product-selector-sheet{display:flex;width:100%;height:88vh;max-height:88vh;flex-direction:column;overflow:hidden;border-radius:34rpx 34rpx 0 0;background:#fffdf8;box-shadow:0 -20rpx 48rpx rgba(44,35,27,.18)}.product-selector-head{display:flex;align-items:center;justify-content:space-between;min-height:92rpx;padding:0 28rpx}.product-selector-title{display:block;color:#29241f;font-size:34rpx;font-weight:900}.product-selector-subtitle{display:block;margin-top:7rpx;color:#8b8177;font-size:22rpx}.product-selector-close{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:52rpx;height:52rpx;min-width:52rpx;flex:0 0 52rpx;margin:0;padding:0;overflow:hidden;border:1rpx solid #e6dfd6;border-radius:50%;background:#f8f4ee;line-height:1}.product-selector-close::before,.product-selector-close::after{content:"";position:absolute;top:24rpx;left:14rpx;width:22rpx;height:3rpx;border-radius:999rpx;background:#665e56}.product-selector-close::before{transform:rotate(45deg)}.product-selector-close::after{transform:rotate(-45deg)}.product-selector-search{display:flex;align-items:center;height:80rpx;margin:0 28rpx 18rpx;padding:0 22rpx;border-radius:22rpx;background:#f7f3ed}.product-selector-search input{height:78rpx;flex:1;color:#29241f;font-size:27rpx}.product-selector-search-icon{width:24rpx;height:24rpx;margin-right:16rpx;border:3rpx solid #8e877f;border-radius:50%}.product-selector-scroll{height:0;min-height:0;flex:1}.product-selector-scroll.manual{padding:0 28rpx}.product-selector-list{padding:0 28rpx 24rpx}.product-selector-item{display:flex;align-items:center;min-height:132rpx;margin-bottom:14rpx;padding:16rpx;border:1rpx solid #ece5dc;border-radius:20rpx;background:#fff}.product-selector-item.selected{border-color:#8eafa3;background:#f0f6f3}.product-selector-cover{width:92rpx;height:92rpx;flex:0 0 auto;border-radius:14rpx;background:#eee9e2}.product-selector-cover.placeholder,.manual-product-image.placeholder{display:flex;align-items:center;justify-content:center;color:#b79b82;font-size:24rpx}.product-selector-copy{min-width:0;flex:1;margin-left:18rpx}.product-selector-name-row{display:flex;align-items:center;gap:12rpx}.product-selector-name{min-width:0;overflow:hidden;color:#2b2621;font-size:28rpx;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.product-selector-price{flex:0 0 auto;color:#b7683d;font-size:27rpx;font-weight:900}.product-selector-meta{display:block;margin-top:7rpx;overflow:hidden;color:#7f7870;font-size:23rpx;text-overflow:ellipsis;white-space:nowrap}.product-selector-tags{display:flex;gap:8rpx;margin-top:7rpx}.product-selector-tags text{padding:3rpx 10rpx;border-radius:999rpx;background:#f3e9df;color:#826c5b;font-size:19rpx}.product-selector-check{width:42rpx;color:#8c857d;font-size:32rpx;text-align:right}.product-selector-item.selected .product-selector-check{color:#2f6f62}.product-selector-state{display:flex;min-height:360rpx;align-items:center;justify-content:center;padding:40rpx;color:#9a9289;font-size:25rpx;text-align:center}.product-selector-state.error{flex-direction:column;color:#a8554e}.product-selector-retry{margin-top:20rpx;padding:0 24rpx;border:1rpx solid #d8d1c8;border-radius:999rpx;background:#fff;color:#514b44;font-size:23rpx}.product-selector-footer{padding:16rpx 28rpx calc(18rpx + env(safe-area-inset-bottom));border-top:1rpx solid #eee7de;background:#fffdf8}.product-selector-action,.product-selector-confirm,.product-selector-back{width:100%;height:76rpx;margin:0;border-radius:20rpx;font-size:26rpx;line-height:76rpx}.product-selector-action{border:1rpx solid #cbdad4;background:#edf4f1;color:#2f6f62}.manual-product-card{margin:18rpx 0;padding:20rpx;border-radius:18rpx;background:#f8f2eb}.manual-product-grid{display:grid;grid-template-columns:minmax(0,1fr) 180rpx;gap:14rpx}.manual-product-grid input,.manual-product-extra input,.manual-product-extra textarea{box-sizing:border-box;width:100%;padding:0 18rpx;border:0;border-radius:14rpx;background:#fff;color:#302923;font-size:26rpx}.manual-product-grid input{height:72rpx}.manual-product-more{margin-top:16rpx;color:#5f897c;font-size:24rpx}.manual-product-extra{display:grid;gap:14rpx;padding-bottom:20rpx}.manual-product-extra textarea{min-height:120rpx;padding-top:16rpx}.manual-product-extra input{height:68rpx}.manual-product-image-row{display:flex;align-items:center;gap:14rpx}.manual-product-image{width:92rpx;height:92rpx;border-radius:14rpx;background:#efe5da}.manual-product-image-row button{flex:1;min-width:0;padding:0;border-radius:12rpx;background:#edf4f1;color:#2f6f62;font-size:23rpx}.manual-footer{display:grid;gap:10rpx}.product-selector-confirm{background:#4f766d;color:#fff}.product-selector-back{height:58rpx;line-height:58rpx;background:transparent;color:#5f897c;font-size:23rpx} .product-selector-mask{position:fixed;inset:0;z-index:130;display:flex;align-items:flex-end;background:rgba(25,22,18,.5)}.product-selector-sheet{display:flex;width:100%;height:88vh;max-height:88vh;flex-direction:column;overflow:hidden;border-radius:34rpx 34rpx 0 0;background:#ffffff;box-shadow:0 -20rpx 48rpx rgba(44,35,27,.18)}.product-selector-head{display:flex;align-items:center;justify-content:space-between;min-height:92rpx;padding:0 28rpx}.product-selector-title{display:block;color:#17211f;font-size:34rpx;font-weight:900}.product-selector-subtitle{display:block;margin-top:7rpx;color:#71807a;font-size:22rpx}.product-selector-close{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:52rpx;height:52rpx;min-width:52rpx;flex:0 0 52rpx;margin:0;padding:0;overflow:hidden;border:1rpx solid #e7ece9;border-radius:50%;background:#f3f7f4;line-height:1}.product-selector-close::before,.product-selector-close::after{content:"";position:absolute;top:24rpx;left:14rpx;width:22rpx;height:3rpx;border-radius:999rpx;background:#71807a}.product-selector-close::before{transform:rotate(45deg)}.product-selector-close::after{transform:rotate(-45deg)}.product-selector-search{display:flex;align-items:center;height:80rpx;margin:0 28rpx 18rpx;padding:0 22rpx;border-radius:22rpx;background:#f3f7f4}.product-selector-search input{height:78rpx;flex:1;color:#17211f;font-size:27rpx}.product-selector-search-icon{width:24rpx;height:24rpx;margin-right:16rpx;border:3rpx solid #71807a;border-radius:50%}.product-selector-scroll{height:0;min-height:0;flex:1}.product-selector-scroll.manual{padding:0 28rpx}.product-selector-list{padding:0 28rpx 24rpx}.product-selector-item{display:flex;align-items:center;min-height:132rpx;margin-bottom:14rpx;padding:16rpx;border:1rpx solid #e7ece9;border-radius:20rpx;background:#fff}.product-selector-item.selected{border-color:#247b63;background:#e5f4ed}.product-selector-cover{width:92rpx;height:92rpx;flex:0 0 auto;border-radius:14rpx;background:#e7ece9}.product-selector-cover.placeholder,.manual-product-image.placeholder{display:flex;align-items:center;justify-content:center;color:#71807a;font-size:24rpx}.product-selector-copy{min-width:0;flex:1;margin-left:18rpx}.product-selector-name-row{display:flex;align-items:center;gap:12rpx}.product-selector-name{min-width:0;overflow:hidden;color:#17211f;font-size:28rpx;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.product-selector-price{flex:0 0 auto;color:#247b63;font-size:27rpx;font-weight:900}.product-selector-meta{display:block;margin-top:7rpx;overflow:hidden;color:#71807a;font-size:23rpx;text-overflow:ellipsis;white-space:nowrap}.product-selector-tags{display:flex;gap:8rpx;margin-top:7rpx}.product-selector-tags text{padding:3rpx 10rpx;border-radius:999rpx;background:#e5f4ed;color:#71807a;font-size:19rpx}.product-selector-check{width:42rpx;color:#71807a;font-size:32rpx;text-align:right}.product-selector-item.selected .product-selector-check{color:#247b63}.product-selector-state{display:flex;min-height:360rpx;align-items:center;justify-content:center;padding:40rpx;color:#71807a;font-size:25rpx;text-align:center}.product-selector-state.error{flex-direction:column;color:#a8554e}.product-selector-retry{margin-top:20rpx;padding:0 24rpx;border:1rpx solid #e7ece9;border-radius:999rpx;background:#fff;color:#71807a;font-size:23rpx}.product-selector-footer{padding:16rpx 28rpx calc(18rpx + env(safe-area-inset-bottom));border-top:1rpx solid #e7ece9;background:#ffffff}.product-selector-action,.product-selector-confirm,.product-selector-back{width:100%;height:76rpx;margin:0;border-radius:20rpx;font-size:26rpx;line-height:76rpx}.product-selector-action{border:1rpx solid #cbdad4;background:#e5f4ed;color:#247b63}.manual-product-card{margin:18rpx 0;padding:20rpx;border-radius:18rpx;background:#f3f7f4}.manual-product-grid{display:grid;grid-template-columns:minmax(0,1fr) 180rpx;gap:14rpx}.manual-product-grid input,.manual-product-extra input,.manual-product-extra textarea{box-sizing:border-box;width:100%;padding:0 18rpx;border:0;border-radius:14rpx;background:#fff;color:#17211f;font-size:26rpx}.manual-product-grid input{height:72rpx}.manual-product-more{margin-top:16rpx;color:#71807a;font-size:24rpx}.manual-product-extra{display:grid;gap:14rpx;padding-bottom:20rpx}.manual-product-extra textarea{min-height:120rpx;padding-top:16rpx}.manual-product-extra input{height:68rpx}.manual-product-image-row{display:flex;align-items:center;gap:14rpx}.manual-product-image{width:92rpx;height:92rpx;border-radius:14rpx;background:#f3f7f4}.manual-product-image-row button{flex:1;min-width:0;padding:0;border-radius:12rpx;background:#e5f4ed;color:#247b63;font-size:23rpx}.manual-footer{display:grid;gap:10rpx}.product-selector-confirm{background:#247b63;color:#fff}.product-selector-back{height:58rpx;line-height:58rpx;background:transparent;color:#71807a;font-size:23rpx}
+1 -1
View File
@@ -13,7 +13,7 @@
width: 112rpx; width: 112rpx;
height: 112rpx; height: 112rpx;
border-radius: 30rpx; border-radius: 30rpx;
background: #e5eee9; background: #e5f4ed;
box-shadow: 0 16rpx 34rpx rgba(111, 143, 131, 0.24); box-shadow: 0 16rpx 34rpx rgba(111, 143, 131, 0.24);
} }
@@ -1,2 +1,2 @@
.settings-page { padding-top:24rpx; }.identity-card { display:flex; align-items:center; padding:26rpx; }.identity-mark { display:flex; align-items:center; justify-content:center; width:68rpx; height:68rpx; border-radius:20rpx; background:#dcebe1; color:#35634d; font-size:28rpx; font-weight:800; }.identity-copy { display:flex; flex:1; flex-direction:column; margin-left:18rpx; }.identity-title,.section-title { color:#30483c; font-size:28rpx; font-weight:800; }.identity-status { margin-top:6rpx; color:#8a9a91; font-size:21rpx; }.linked-badge,.status-tag { padding:7rpx 14rpx; border-radius:999rpx; background:#e5f2e8; color:#397055; font-size:20rpx; } .settings-page { padding-top:24rpx; }.identity-card { display:flex; align-items:center; padding:26rpx; }.identity-mark { display:flex; align-items:center; justify-content:center; width:68rpx; height:68rpx; border-radius:20rpx; background:#e5f4ed; color:#247b63; font-size:28rpx; font-weight:800; }.identity-copy { display:flex; flex:1; flex-direction:column; margin-left:18rpx; }.identity-title,.section-title { color:#17211f; font-size:28rpx; font-weight:800; }.identity-status { margin-top:6rpx; color:#71807a; font-size:21rpx; }.linked-badge,.status-tag { padding:7rpx 14rpx; border-radius:999rpx; background:#e5f2e8; color:#397055; font-size:20rpx; }
.phone-card { margin-top:20rpx; padding:28rpx; }.phone-status { display:flex; align-items:center; justify-content:space-between; margin-top:20rpx; padding:20rpx; border-radius:14rpx; background:#f4f8f5; color:#425b4e; font-size:26rpx; }.status-tag { background:#fff0db; color:#9a682e; }.status-tag.done { background:#e5f2e8; color:#397055; }.wechat-phone-btn,.sms-bind-btn { height:80rpx; margin-top:22rpx; border-radius:14rpx; background:#35634d; color:#fff; font-size:26rpx; line-height:80rpx; }.sms-entry { display:flex; min-height:82rpx; align-items:center; margin-top:22rpx; border-top:1rpx solid #e5ebe7; color:#627269; font-size:23rpx; }.sms-arrow { margin-left:auto; color:#95a198; font-size:36rpx; transition:transform 180ms ease; }.sms-arrow.expanded { transform:rotate(90deg); }.sms-panel { padding-top:2rpx; }.field input,.code-row input { box-sizing:border-box; height:78rpx; padding:0 20rpx; border:1rpx solid #dde8e0; border-radius:12rpx; background:#f8faf8; }.code-row { display:flex; gap:12rpx; margin-top:14rpx; }.code-row input { min-width:0; flex:1; }.code-row button { width:190rpx; height:78rpx; padding:0; border-radius:12rpx; background:#e7f0ea; color:#426c57; font-size:23rpx; line-height:78rpx; }.sms-bind-btn { background:#eef4f0; color:#35634d; }.account-note { margin:24rpx 18rpx; color:#8e9c94; font-size:21rpx; line-height:1.6; }.logout-btn { margin-top:52rpx; background:transparent; color:#a24f42; font-size:25rpx; } .phone-card { margin-top:20rpx; padding:28rpx; }.phone-status { display:flex; align-items:center; justify-content:space-between; margin-top:20rpx; padding:20rpx; border-radius:14rpx; background:#f3f7f4; color:#71807a; font-size:26rpx; }.status-tag { background:#fff0db; color:#9a682e; }.status-tag.done { background:#e5f2e8; color:#397055; }.wechat-phone-btn,.sms-bind-btn { height:80rpx; margin-top:22rpx; border-radius:14rpx; background:#247b63; color:#fff; font-size:26rpx; line-height:80rpx; }.sms-entry { display:flex; min-height:82rpx; align-items:center; margin-top:22rpx; border-top:1rpx solid #e5ebe7; color:#71807a; font-size:23rpx; }.sms-arrow { margin-left:auto; color:#95a198; font-size:36rpx; transition:transform 180ms ease; }.sms-arrow.expanded { transform:rotate(90deg); }.sms-panel { padding-top:2rpx; }.field input,.code-row input { box-sizing:border-box; height:78rpx; padding:0 20rpx; border:1rpx solid #dde8e0; border-radius:12rpx; background:#f8faf8; }.code-row { display:flex; gap:12rpx; margin-top:14rpx; }.code-row input { min-width:0; flex:1; }.code-row button { width:190rpx; height:78rpx; padding:0; border-radius:12rpx; background:#e7f0ea; color:#426c57; font-size:23rpx; line-height:78rpx; }.sms-bind-btn { background:#eef4f0; color:#247b63; }.account-note { margin:24rpx 18rpx; color:#71807a; font-size:21rpx; line-height:1.6; }.logout-btn { margin-top:52rpx; background:transparent; color:#a24f42; font-size:25rpx; }
@@ -35,7 +35,7 @@
width: 82rpx; width: 82rpx;
height: 82rpx; height: 82rpx;
border-radius: 50%; border-radius: 50%;
background: #e5eee9; background: #e5f4ed;
color: #5d8175; color: #5d8175;
font-size: 32rpx; font-size: 32rpx;
font-weight: 900; font-weight: 900;
@@ -47,7 +47,7 @@
} }
.customer { .customer {
color: #24211d; color: #17211f;
font-size: 32rpx; font-size: 32rpx;
font-weight: 800; font-weight: 800;
} }
@@ -78,20 +78,20 @@
} }
.label { .label {
color: #9a9288; color: #71807a;
font-size: 22rpx; font-size: 22rpx;
} }
.value { .value {
margin-top: 8rpx; margin-top: 8rpx;
color: #2d2924; color: #17211f;
font-size: 28rpx; font-size: 28rpx;
font-weight: 700; font-weight: 700;
} }
.note-card { .note-card {
padding: 24rpx; padding: 24rpx;
color: #6d655d; color: #71807a;
line-height: 1.6; line-height: 1.6;
} }
@@ -26,10 +26,10 @@
flex: 1; flex: 1;
height: 78rpx; height: 78rpx;
padding: 0 18rpx; padding: 0 18rpx;
border: 1rpx solid #e7e0d7; border: 1rpx solid #e7ece9;
border-radius: 18rpx; border-radius: 18rpx;
background: #f8f4ee; background: #f3f7f4;
color: #29241f; color: #17211f;
font-size: 27rpx; font-size: 27rpx;
} }
@@ -52,17 +52,17 @@
height: 66rpx; height: 66rpx;
margin-top: 14rpx; margin-top: 14rpx;
padding: 0 18rpx; padding: 0 18rpx;
border: 1rpx solid #e7e0d7; border: 1rpx solid #e7ece9;
border-radius: 16rpx; border-radius: 16rpx;
background: #fff; background: #fff;
color: #29241f; color: #17211f;
font-size: 25rpx; font-size: 25rpx;
} }
.customer-selected-tip { .customer-selected-tip {
display: block; display: block;
margin-top: 10rpx; margin-top: 10rpx;
color: #55786d; color: #247b63;
font-size: 21rpx; font-size: 21rpx;
} }
@@ -78,9 +78,9 @@
.reference-card { .reference-card {
min-height: 78rpx; min-height: 78rpx;
padding: 13rpx 16rpx; padding: 13rpx 16rpx;
border: 1rpx solid #e7e0d7; border: 1rpx solid #e7ece9;
border-radius: 18rpx; border-radius: 18rpx;
background: #f8f4ee; background: #f3f7f4;
} }
.reference-copy { .reference-copy {
@@ -99,16 +99,16 @@
} }
.reference-title { .reference-title {
color: #817a72; color: #71807a;
font-size: 27rpx; font-size: 27rpx;
font-weight: 800; font-weight: 800;
} }
.reference-card.filled .reference-title { color: #29241f; } .reference-card.filled .reference-title { color: #17211f; }
.reference-subtitle { .reference-subtitle {
margin-top: 6rpx; margin-top: 6rpx;
color: #9a9289; color: #71807a;
font-size: 21rpx; font-size: 21rpx;
} }
@@ -116,8 +116,8 @@
flex: 0 0 auto; flex: 0 0 auto;
padding: 5rpx 11rpx; padding: 5rpx 11rpx;
border-radius: 999rpx; border-radius: 999rpx;
background: #e7f0ec; background: #e5f4ed;
color: #55786d; color: #247b63;
font-size: 19rpx; font-size: 19rpx;
font-weight: 800; font-weight: 800;
} }
@@ -140,7 +140,7 @@
gap: 12rpx; gap: 12rpx;
} }
.product-selected-price { display:block; margin-top:6rpx; color:#b7683d; font-size:23rpx; font-weight:800; } .product-selected-price { display:block; margin-top:6rpx; color:#247b63; font-size:23rpx; font-weight:800; }
.time-value { .time-value {
display: flex; display: flex;
@@ -277,7 +277,7 @@
overflow: hidden; overflow: hidden;
padding: 28rpx 28rpx calc(28rpx + env(safe-area-inset-bottom)); padding: 28rpx 28rpx calc(28rpx + env(safe-area-inset-bottom));
border-radius: 28rpx 28rpx 0 0; border-radius: 28rpx 28rpx 0 0;
background: #fffaf4; background: #ffffff;
box-shadow: 0 -18rpx 40rpx rgba(41, 31, 23, 0.16); box-shadow: 0 -18rpx 40rpx rgba(41, 31, 23, 0.16);
} }
@@ -294,7 +294,7 @@
} }
.modal-title { .modal-title {
color: #27211d; color: #17211f;
font-size: 34rpx; font-size: 34rpx;
font-weight: 900; font-weight: 900;
} }
@@ -315,8 +315,8 @@
min-width: 48rpx; min-width: 48rpx;
height: 48rpx; height: 48rpx;
border-radius: 50%; border-radius: 50%;
border: 1rpx solid #e4d8ca; border: 1rpx solid #e7ece9;
background: #fffaf4; background: #ffffff;
color: transparent; color: transparent;
font-size: 0; font-size: 0;
line-height: 0; line-height: 0;
@@ -329,7 +329,7 @@
width: 22rpx; width: 22rpx;
height: 3rpx; height: 3rpx;
border-radius: 999rpx; border-radius: 999rpx;
background: #61554c; background: #247b63;
} }
.modal-close::before { .modal-close::before {
@@ -384,7 +384,7 @@
border: 2rpx solid #eadfd2; border: 2rpx solid #eadfd2;
border-radius: 18rpx; border-radius: 18rpx;
background: #fff; background: #fff;
color: #302923; color: #17211f;
box-shadow: 0 8rpx 18rpx rgba(92, 66, 43, 0.06); box-shadow: 0 8rpx 18rpx rgba(92, 66, 43, 0.06);
transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease; transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
} }
@@ -422,7 +422,7 @@
justify-content: center; justify-content: center;
padding: 40rpx 20rpx; padding: 40rpx 20rpx;
border-radius: 18rpx; border-radius: 18rpx;
background: #f7efe7; background: #f3f7f4;
color: #8c8177; color: #8c8177;
font-size: 26rpx; font-size: 26rpx;
text-align: center; text-align: center;
@@ -458,7 +458,7 @@
} }
.section-title-main { .section-title-main {
color: #302a24; color: #17211f;
font-size: 30rpx; font-size: 30rpx;
font-weight: 900; font-weight: 900;
} }
@@ -493,10 +493,10 @@
height: 78rpx; height: 78rpx;
flex: 1; flex: 1;
padding: 0 18rpx; padding: 0 18rpx;
border: 1rpx solid #e7e0d7; border: 1rpx solid #e7ece9;
border-radius: 15rpx; border-radius: 15rpx;
background: #fff; background: #fff;
color: #29241f; color: #17211f;
font-size: 26rpx; font-size: 26rpx;
} }
@@ -506,8 +506,8 @@
height: 72rpx; height: 72rpx;
padding: 0 18rpx; padding: 0 18rpx;
border-radius: 14rpx; border-radius: 14rpx;
background: #edf4f1; background: #e5f4ed;
color: #2f6f62; color: #247b63;
font-size: 23rpx; font-size: 23rpx;
line-height: 72rpx; line-height: 72rpx;
} }
@@ -521,12 +521,12 @@
width: 112rpx; width: 112rpx;
height: 112rpx; height: 112rpx;
border-radius: 14rpx; border-radius: 14rpx;
background: #eee9e2; background: #e7ece9;
} }
.remove-image-action { .remove-image-action {
height: 58rpx; height: 58rpx;
background: #f5f0e9; background: #f3f7f4;
color: #756e66; color: #756e66;
font-size: 21rpx; font-size: 21rpx;
line-height: 58rpx; line-height: 58rpx;
@@ -534,7 +534,7 @@
.selected-style-note { .selected-style-note {
margin-top: 12rpx; margin-top: 12rpx;
color: #4f766d; color: #247b63;
font-size: 23rpx; font-size: 23rpx;
line-height: 1.45; line-height: 1.45;
} }
@@ -552,7 +552,7 @@
flex: 1; flex: 1;
align-items: center; align-items: center;
gap: 8rpx; gap: 8rpx;
border-bottom: 1rpx solid #eee8df; border-bottom: 1rpx solid #e7ece9;
} }
.number-field .field-label { .number-field .field-label {
@@ -564,7 +564,7 @@
.number-field input { .number-field input {
min-width: 0; min-width: 0;
flex: 1; flex: 1;
color: #302923; color: #17211f;
font-size: 27rpx; font-size: 27rpx;
text-align: right; text-align: right;
} }
@@ -580,7 +580,7 @@
align-items: flex-start; align-items: flex-start;
gap: 14rpx; gap: 14rpx;
padding: 18rpx 0 8rpx; padding: 18rpx 0 8rpx;
border-bottom: 1rpx solid #eee8df; border-bottom: 1rpx solid #e7ece9;
} }
.style-remark-field .field-label { .style-remark-field .field-label {
@@ -592,7 +592,7 @@
min-height: 86rpx; min-height: 86rpx;
flex: 1; flex: 1;
padding: 0; padding: 0;
color: #302923; color: #17211f;
font-size: 25rpx; font-size: 25rpx;
} }
@@ -638,7 +638,7 @@
.customer-suggestion-list { .customer-suggestion-list {
margin-top: 10rpx; margin-top: 10rpx;
overflow: hidden; overflow: hidden;
border: 1rpx solid #e8e0d7; border: 1rpx solid #e7ece9;
border-radius: 14rpx; border-radius: 14rpx;
background: #fff; background: #fff;
} }
@@ -683,8 +683,8 @@
} }
.time-mode-switch button.active { .time-mode-switch button.active {
background: #fffdf8; background: #ffffff;
color: #4f766d; color: #247b63;
font-weight: 800; font-weight: 800;
box-shadow: 0 3rpx 8rpx rgba(58, 48, 34, 0.08); box-shadow: 0 3rpx 8rpx rgba(58, 48, 34, 0.08);
} }
@@ -692,13 +692,13 @@
.time-wheel { .time-wheel {
width: 100%; width: 100%;
height: 320rpx; height: 320rpx;
border-top: 1rpx solid #eee7de; border-top: 1rpx solid #e7ece9;
border-bottom: 1rpx solid #eee7de; border-bottom: 1rpx solid #e7ece9;
} }
.wheel-item { .wheel-item {
height: 76rpx; height: 76rpx;
color: #302923; color: #17211f;
font-size: 34rpx; font-size: 34rpx;
line-height: 76rpx; line-height: 76rpx;
text-align: center; text-align: center;
@@ -720,7 +720,7 @@
height: 76rpx; height: 76rpx;
margin-top: 12rpx; margin-top: 12rpx;
border-radius: 16rpx; border-radius: 16rpx;
background: #4f766d; background: #247b63;
color: #fff; color: #fff;
font-size: 26rpx; font-size: 26rpx;
font-weight: 800; font-weight: 800;
@@ -746,7 +746,7 @@
padding: 12rpx; padding: 12rpx;
border: 1rpx solid #d9e5df; border: 1rpx solid #d9e5df;
border-radius: 15rpx; border-radius: 15rpx;
background: #f4f8f5; background: #f3f7f4;
} }
.selected-style-image { .selected-style-image {
@@ -773,7 +773,7 @@
} }
.selected-style-title { .selected-style-title {
color: #302923; color: #17211f;
font-size: 26rpx; font-size: 26rpx;
font-weight: 800; font-weight: 800;
} }
@@ -788,8 +788,8 @@
flex: 0 0 auto; flex: 0 0 auto;
padding: 0 14rpx; padding: 0 14rpx;
border-radius: 12rpx; border-radius: 12rpx;
background: #e7f0ec; background: #e5f4ed;
color: #4f766d; color: #247b63;
font-size: 21rpx; font-size: 21rpx;
line-height: 58rpx; line-height: 58rpx;
} }
@@ -1133,7 +1133,7 @@ button.full{
align-items: center; align-items: center;
justify-content: center; justify-content: center;
border-radius: 24rpx; border-radius: 24rpx;
background: #e1f2eb; background: #e5f4ed;
color: #247b63; color: #247b63;
} }
@@ -1182,7 +1182,7 @@ button.full{
.switch-manual-action { .switch-manual-action {
border-radius: 18rpx; border-radius: 18rpx;
background: #e1f2eb; background: #e5f4ed;
color: #247b63; color: #247b63;
} }
@@ -1271,7 +1271,7 @@ button.full{
.manual-style-content .image-action { .manual-style-content .image-action {
height: 82rpx; height: 82rpx;
border-radius: 24rpx; border-radius: 24rpx;
background: #e1f2eb; background: #e5f4ed;
color: #247b63; color: #247b63;
font-size: 21rpx; font-size: 21rpx;
line-height: 82rpx; line-height: 82rpx;
@@ -24,6 +24,6 @@
.transfer-arrow { .transfer-arrow {
flex: 0 0 auto; flex: 0 0 auto;
color: #a99f95; color: #71807a;
font-size: 38rpx; font-size: 38rpx;
} }
@@ -1,2 +1,2 @@
.product-picker-button{display:flex;align-items:center;justify-content:space-between;min-width:0;flex:1;padding:0;background:transparent;color:#6f665d;text-align:left;font-size:30rpx;line-height:1.35} .product-picker-button{display:flex;align-items:center;justify-content:space-between;min-width:0;flex:1;padding:0;background:transparent;color:#6f665d;text-align:left;font-size:30rpx;line-height:1.35}
.product-picker-arrow{flex:0 0 auto;margin-left:12rpx;color:#a99f95;font-size:38rpx} .product-picker-arrow{flex:0 0 auto;margin-left:12rpx;color:#71807a;font-size:38rpx}
+4 -4
View File
@@ -1,14 +1,14 @@
Page({ Page({
data: { data: {
selected: '#7BA7C7', selected: '#247B63',
customColor: '#7BA7C7', customColor: '#247B63',
wheelColors: [ wheelColors: [
'#E0627A', '#E7785B', '#E2A64B', '#D8C85C', '#9EBB63', '#63B77B', '#E0627A', '#E7785B', '#E2A64B', '#D8C85C', '#9EBB63', '#63B77B',
'#4CB7A6', '#56A7D6', '#5F82D7', '#7C70D4', '#A66BC8', '#CF72A8' '#4CB7A6', '#56A7D6', '#5F82D7', '#7C70D4', '#A66BC8', '#CF72A8'
], ],
recommendedColors: ['#7BA7C7', '#8FB89A', '#A894C7', '#D7A86E', '#D98DA5', '#79A6A3', '#B9A16B', '#9BA9C8'], recommendedColors: ['#247B63', '#B8E4D4', '#8FB89A', '#A894C7', '#D7A86E', '#D98DA5', '#79A6A3', '#9BA9C8'],
paletteColors: [ paletteColors: [
'#6F8F83', '#7BA7C7', '#8AAECA', '#9BA9C8', '#A894C7', '#C19AB7', '#247B63', '#7BA7C7', '#8AAECA', '#9BA9C8', '#A894C7', '#C19AB7',
'#D98DA5', '#D9958D', '#D7A86E', '#C8B47E', '#B9A16B', '#9FAD7B', '#D98DA5', '#D9958D', '#D7A86E', '#C8B47E', '#B9A16B', '#9FAD7B',
'#8FB89A', '#79A6A3', '#6E9E92', '#A6B7A4', '#B8B0A6', '#C7B7A3', '#8FB89A', '#79A6A3', '#6E9E92', '#A6B7A4', '#B8B0A6', '#C7B7A3',
'#8E8A7D', '#A4A097', '#B6A6A0', '#C9A2A2', '#B58A8A', '#8C7C92', '#8E8A7D', '#A4A097', '#B6A6A0', '#C9A2A2', '#B58A8A', '#8C7C92',
@@ -20,7 +20,7 @@
</view> </view>
<view class="card custom-color-card"> <view class="card custom-color-card">
<view class="custom-color-preview" style="background: {{customColor}};"></view> <view class="custom-color-preview" style="background: {{customColor}};"></view>
<input class="custom-color-input" value="{{customColor}}" maxlength="7" placeholder="#7BA7C7" bindinput="onCustomInput" /> <input class="custom-color-input" value="{{customColor}}" maxlength="7" placeholder="#247B63" bindinput="onCustomInput" />
<button class="small-action" bindtap="applyCustomColor">应用</button> <button class="small-action" bindtap="applyCustomColor">应用</button>
</view> </view>
<view class="fixed-bottom"><button class="primary-btn" bindtap="save">保存颜色</button></view> <view class="fixed-bottom"><button class="primary-btn" bindtap="save">保存颜色</button></view>
@@ -64,7 +64,7 @@
justify-content: center; justify-content: center;
width: 120rpx; width: 120rpx;
height: 120rpx; height: 120rpx;
border: 8rpx solid #fffdf8; border: 8rpx solid #ffffff;
border-radius: 50%; border-radius: 50%;
color: #fff; color: #fff;
font-size: 20rpx; font-size: 20rpx;
@@ -141,8 +141,8 @@
height: 58rpx; height: 58rpx;
padding: 0 18rpx; padding: 0 18rpx;
border-radius: 999rpx; border-radius: 999rpx;
background: #f4f0ea; background: #f3f7f4;
color: #2f2a25; color: #17211f;
font-size: 26rpx; font-size: 26rpx;
font-weight: 700; font-weight: 700;
} }
@@ -21,7 +21,7 @@
width: 84rpx; width: 84rpx;
height: 84rpx; height: 84rpx;
border-radius: 50%; border-radius: 50%;
background: #e5eee9; background: #e5f4ed;
color: #5b7f73; color: #5b7f73;
font-size: 32rpx; font-size: 32rpx;
font-weight: 900; font-weight: 900;
@@ -60,14 +60,14 @@
} }
.stat-value { .stat-value {
color: #26231f; color: #17211f;
font-size: 28rpx; font-size: 28rpx;
font-weight: 800; font-weight: 800;
} }
.stat-label { .stat-label {
margin-top: 8rpx; margin-top: 8rpx;
color: #91897f; color: #71807a;
font-size: 20rpx; font-size: 20rpx;
} }
@@ -84,7 +84,7 @@
} }
.amount { .amount {
color: #6f8f83; color: #247b63;
font-weight: 900; font-weight: 900;
} }
+7 -7
View File
@@ -66,7 +66,7 @@
width: 100%; width: 100%;
padding: 28rpx 28rpx calc(28rpx + env(safe-area-inset-bottom)); padding: 28rpx 28rpx calc(28rpx + env(safe-area-inset-bottom));
border-radius: 28rpx 28rpx 0 0; border-radius: 28rpx 28rpx 0 0;
background: #fffaf4; background: #ffffff;
box-shadow: 0 -18rpx 40rpx rgba(41, 31, 23, 0.16); box-shadow: 0 -18rpx 40rpx rgba(41, 31, 23, 0.16);
} }
@@ -79,7 +79,7 @@
} }
.modal-title { .modal-title {
color: #27211d; color: #17211f;
font-size: 34rpx; font-size: 34rpx;
font-weight: 900; font-weight: 900;
} }
@@ -92,9 +92,9 @@
width: 48rpx; width: 48rpx;
min-width: 48rpx; min-width: 48rpx;
height: 48rpx; height: 48rpx;
border: 1rpx solid #e4d8ca; border: 1rpx solid #e7ece9;
border-radius: 50%; border-radius: 50%;
background: #fffaf4; background: #ffffff;
color: transparent; color: transparent;
font-size: 0; font-size: 0;
line-height: 0; line-height: 0;
@@ -107,7 +107,7 @@
width: 22rpx; width: 22rpx;
height: 3rpx; height: 3rpx;
border-radius: 999rpx; border-radius: 999rpx;
background: #61554c; background: #17211f;
} }
.modal-close::before { .modal-close::before {
@@ -127,7 +127,7 @@
.modal-field { .modal-field {
padding: 16rpx 18rpx; padding: 16rpx 18rpx;
border-radius: 18rpx; border-radius: 18rpx;
background: #f7efe7; background: #f3f7f4;
} }
.modal-field text { .modal-field text {
@@ -140,7 +140,7 @@
.modal-field input { .modal-field input {
height: 58rpx; height: 58rpx;
color: #2c2722; color: #17211f;
font-size: 28rpx; font-size: 28rpx;
} }
@@ -14,7 +14,7 @@
} }
.create-title { .create-title {
color: #29241f; color: #17211f;
font-size: 38rpx; font-size: 38rpx;
font-weight: 900; font-weight: 900;
} }
@@ -36,7 +36,7 @@
height: 96rpx; height: 96rpx;
flex: 0 0 auto; flex: 0 0 auto;
border-radius: 50%; border-radius: 50%;
background: #eee9e2; background: #e7ece9;
} }
.avatar-copy { .avatar-copy {
@@ -46,7 +46,7 @@
} }
.avatar-title { .avatar-title {
color: #302a25; color: #17211f;
font-size: 28rpx; font-size: 28rpx;
font-weight: 900; font-weight: 900;
} }
@@ -58,7 +58,7 @@
} }
.avatar-action { .avatar-action {
color: #2f6f62; color: #247b63;
font-size: 24rpx; font-size: 24rpx;
font-weight: 800; font-weight: 800;
} }
@@ -99,7 +99,7 @@
align-items: center; align-items: center;
padding: 42rpx 34rpx 28rpx; padding: 42rpx 34rpx 28rpx;
border-radius: 28rpx; border-radius: 28rpx;
background: #fffdf8; background: #ffffff;
} }
.onboarding-icon { .onboarding-icon {
@@ -109,13 +109,13 @@
width: 82rpx; width: 82rpx;
height: 82rpx; height: 82rpx;
border-radius: 50%; border-radius: 50%;
background: #e5eee9; background: #e5f4ed;
color: #39705d; color: #39705d;
font-size: 38rpx; font-size: 38rpx;
font-weight: 900; font-weight: 900;
} }
.onboarding-title { margin-top: 22rpx; color: #29241f; font-size: 32rpx; font-weight: 900; } .onboarding-title { margin-top: 22rpx; color: #17211f; font-size: 32rpx; font-weight: 900; }
.onboarding-desc { margin-top: 12rpx; color: #837b72; font-size: 23rpx; line-height: 1.7; text-align: center; } .onboarding-desc { margin-top: 12rpx; color: #837b72; font-size: 23rpx; line-height: 1.7; text-align: center; }
.onboarding-primary { width: 100%; margin-top: 30rpx; } .onboarding-primary { width: 100%; margin-top: 30rpx; }
.onboarding-skip { margin-top: 12rpx; background: transparent; color: #7e776f; font-size: 23rpx; } .onboarding-skip { margin-top: 12rpx; background: transparent; color: #7e776f; font-size: 23rpx; }
@@ -58,7 +58,7 @@
.stat-label { .stat-label {
margin-top: 8rpx; margin-top: 8rpx;
color: #91897f; color: #71807a;
font-size: 20rpx; font-size: 20rpx;
} }
@@ -73,7 +73,7 @@
align-items: center; align-items: center;
min-height: 148rpx; min-height: 148rpx;
padding: 24rpx; padding: 24rpx;
color: #302c27; color: #17211f;
font-size: 30rpx; font-size: 30rpx;
font-weight: 800; font-weight: 800;
} }
@@ -12,6 +12,6 @@
} }
.amount { .amount {
color: #6f8f83; color: #247b63;
font-weight: 900; font-weight: 900;
} }
+14 -14
View File
@@ -4,7 +4,7 @@
justify-content: flex-start; justify-content: flex-start;
width: 100%; width: 100%;
margin-bottom: 16rpx; margin-bottom: 16rpx;
color: #4c4740; color: #17211f;
font-size: 28rpx; font-size: 28rpx;
font-weight: 800; font-weight: 800;
} }
@@ -23,11 +23,11 @@
margin-left: 0; margin-left: 0;
border-color: #c9d8d2; border-color: #c9d8d2;
background: #eef5f2; background: #eef5f2;
color: #2f6f62; color: #247b63;
} }
.list-heading .review-toggle.is-open { .list-heading .review-toggle.is-open {
background: #2f6f62; background: #247b63;
color: #fff; color: #fff;
} }
@@ -74,7 +74,7 @@
} }
.review-title { .review-title {
color: #25211d; color: #17211f;
font-size: 28rpx; font-size: 28rpx;
font-weight: 900; font-weight: 900;
} }
@@ -86,7 +86,7 @@
} }
.review-count { .review-count {
color: #2f6f62; color: #247b63;
font-size: 23rpx; font-size: 23rpx;
font-weight: 800; font-weight: 800;
} }
@@ -109,7 +109,7 @@
width: 72rpx; width: 72rpx;
height: 72rpx; height: 72rpx;
border-radius: 50%; border-radius: 50%;
background: #eee9e1; background: #e7ece9;
} }
.review-info { .review-info {
@@ -127,7 +127,7 @@
.review-number { .review-number {
margin-top: 4rpx; margin-top: 4rpx;
overflow: hidden; overflow: hidden;
color: #817a72; color: #71807a;
font-size: 20rpx; font-size: 20rpx;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
@@ -162,14 +162,14 @@
} }
.review-action.approve { .review-action.approve {
border: 1rpx solid #2f6f62; border: 1rpx solid #247b63;
background: #2f6f62; background: #247b63;
color: #fff; color: #fff;
} }
.review-state { .review-state {
padding: 34rpx 12rpx; padding: 34rpx 12rpx;
color: #8c857d; color: #71807a;
font-size: 23rpx; font-size: 23rpx;
text-align: center; text-align: center;
} }
@@ -218,7 +218,7 @@
} }
.image-avatar { .image-avatar {
background: #f0ece5; background: #e5f4ed;
} }
.image-avatar image { .image-avatar image {
@@ -233,20 +233,20 @@
} }
.employee-name { .employee-name {
color: #25211d; color: #17211f;
font-size: 28rpx; font-size: 28rpx;
font-weight: 800; font-weight: 800;
} }
.employee-meta { .employee-meta {
margin-top: 8rpx; margin-top: 8rpx;
color: #91897f; color: #71807a;
font-size: 24rpx; font-size: 24rpx;
} }
.employee-schedule { .employee-schedule {
margin-top: 6rpx; margin-top: 6rpx;
color: #55786d; color: #247b63;
font-size: 23rpx; font-size: 23rpx;
font-weight: 800; font-weight: 800;
} }
+6 -6
View File
@@ -12,19 +12,19 @@
} }
.preview-title { .preview-title {
color: #302c27; color: #17211f;
font-size: 28rpx; font-size: 28rpx;
font-weight: 800; font-weight: 800;
} }
.preview-sub { .preview-sub {
color: #9a9288; color: #71807a;
font-size: 22rpx; font-size: 22rpx;
} }
.preview-empty { .preview-empty {
padding: 36rpx 0; padding: 36rpx 0;
color: #9a9288; color: #71807a;
text-align: center; text-align: center;
font-size: 24rpx; font-size: 24rpx;
} }
@@ -44,7 +44,7 @@
.preview-row { .preview-row {
display: flex; display: flex;
min-height: 58rpx; min-height: 58rpx;
border-bottom: 1rpx solid #eee8df; border-bottom: 1rpx solid #e7ece9;
} }
.preview-row:last-child { .preview-row:last-child {
@@ -53,7 +53,7 @@
.preview-row-head { .preview-row-head {
border-radius: 8rpx; border-radius: 8rpx;
background: #f4f0ea; background: #f3f7f4;
} }
.preview-cell { .preview-cell {
@@ -71,6 +71,6 @@
} }
.preview-row-head .preview-cell { .preview-row-head .preview-cell {
color: #302c27; color: #17211f;
font-weight: 800; font-weight: 800;
} }
+1 -1
View File
@@ -1,4 +1,4 @@
{ {
"navigationStyle": "custom", "navigationStyle": "custom",
"backgroundColor": "#FFFFFF" "backgroundColor": "#F3F7F4"
} }
+2 -2
View File
@@ -1,6 +1,6 @@
.launch-page { display:flex; min-height:100vh; box-sizing:border-box; flex-direction:column; align-items:center; justify-content:center; padding-bottom:100rpx; background:#fff; } .launch-page { display:flex; min-height:100vh; box-sizing:border-box; flex-direction:column; align-items:center; justify-content:center; padding-bottom:100rpx; background:#fff; }
.launch-logo { width:196rpx; height:196rpx; border-radius:46rpx; } .launch-logo { width:196rpx; height:196rpx; border-radius:46rpx; }
.launch-name { margin-top:26rpx; color:#202522; font-size:40rpx; font-weight:800; letter-spacing:3rpx; } .launch-name { margin-top:26rpx; color:#17211f; font-size:40rpx; font-weight:800; letter-spacing:3rpx; }
.launch-status { display:flex; align-items:center; margin-top:42rpx; color:#8a918d; font-size:23rpx; } .launch-status { display:flex; align-items:center; margin-top:42rpx; color:#8a918d; font-size:23rpx; }
.loading-dot { width:14rpx; height:14rpx; margin-right:14rpx; border-radius:50%; background:#2f8f78; animation:pulse 1.2s ease-in-out infinite; } .loading-dot { width:14rpx; height:14rpx; margin-right:14rpx; border-radius:50%; background:#247b63; animation:pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity:.25; transform:scale(.75); } 50% { opacity:1; transform:scale(1); } } @keyframes pulse { 0%, 100% { opacity:.25; transform:scale(.75); } 50% { opacity:1; transform:scale(1); } }
@@ -11,8 +11,8 @@
justify-content: center; justify-content: center;
height: 64rpx; height: 64rpx;
border-radius: 10rpx; border-radius: 10rpx;
background: #f2ede7; background: #f3f7f4;
color: #5d564e; color: #71807a;
font-weight: 700; font-weight: 700;
} }
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"navigationBarTitleText": "登录", "navigationBarTitleText": "登录",
"navigationBarBackgroundColor": "#FFFFFF", "navigationBarBackgroundColor": "#F3F7F4",
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"backgroundColor": "#FFFFFF" "backgroundColor": "#F3F7F4"
} }
+2 -2
View File
@@ -1,3 +1,3 @@
.login-page { box-sizing:border-box; display:flex; min-height:calc(100vh - 88rpx); flex-direction:column; padding:0 56rpx 38rpx; background:#fff; }.login-main { display:flex; flex:1; flex-direction:column; }.brand-area { display:flex; flex-direction:column; align-items:center; padding-top:190rpx; }.login-logo { width:196rpx; height:196rpx; border-radius:46rpx; }.brand-name { margin-top:26rpx; color:#202522; font-size:40rpx; font-weight:800; letter-spacing:3rpx; }.brand-sub { margin-top:10rpx; color:#9a9f9c; font-size:22rpx; letter-spacing:4rpx; }.action-area { margin-top:118rpx; }.quick-btn { display:flex; align-items:center; justify-content:center; height:92rpx; border-radius:999rpx; background:#2f8f78; color:#fff; font-size:30rpx; font-weight:500; line-height:92rpx; box-shadow:0 10rpx 20rpx rgba(47,143,120,.16); }.quick-btn::after { border:0; }.wechat-symbol { display:flex; align-items:center; justify-content:center; width:38rpx; height:38rpx; margin-right:14rpx; border:2rpx solid rgba(255,255,255,.9); border-radius:50%; font-size:18rpx; font-weight:800; line-height:38rpx; }.remember-row { display:flex; align-items:center; justify-content:center; margin-top:30rpx; color:#737a76; font-size:23rpx; }.check { display:flex; align-items:center; justify-content:center; width:32rpx; height:32rpx; margin-right:12rpx; border:2rpx solid #b7bdb9; border-radius:50%; color:#fff; font-size:19rpx; }.check.small { width:28rpx; height:28rpx; flex:none; margin-right:8rpx; border-radius:7rpx; }.check.checked { border-color:#2f8f78; background:#2f8f78; }.state-line { display:flex; flex-direction:column; align-items:center; margin-top:34rpx; }.state-title { color:#765b32; font-size:24rpx; font-weight:700; }.state-message { margin-top:7rpx; color:#9a8260; font-size:20rpx; text-align:center; }.agreement-footer { padding-top:50rpx; }.agreement-line { display:flex; align-items:flex-start; justify-content:center; }.agreement-copy { color:#a0a4a1; font-size:20rpx; line-height:1.55; text-align:center; }.agreement-link { color:#6b7570; }.agreement-error { margin-top:10rpx; color:#ad6954; font-size:19rpx; text-align:center; } .login-page { box-sizing:border-box; display:flex; min-height:calc(100vh - 88rpx); flex-direction:column; padding:0 56rpx 38rpx; background:#fff; }.login-main { display:flex; flex:1; flex-direction:column; }.brand-area { display:flex; flex-direction:column; align-items:center; padding-top:190rpx; }.login-logo { width:196rpx; height:196rpx; border-radius:46rpx; }.brand-name { margin-top:26rpx; color:#17211f; font-size:40rpx; font-weight:800; letter-spacing:3rpx; }.brand-sub { margin-top:10rpx; color:#9a9f9c; font-size:22rpx; letter-spacing:4rpx; }.action-area { margin-top:118rpx; }.quick-btn { display:flex; align-items:center; justify-content:center; height:92rpx; border-radius:999rpx; background:#247b63; color:#fff; font-size:30rpx; font-weight:500; line-height:92rpx; box-shadow:0 10rpx 20rpx rgba(47,143,120,.16); }.quick-btn::after { border:0; }.wechat-symbol { display:flex; align-items:center; justify-content:center; width:38rpx; height:38rpx; margin-right:14rpx; border:2rpx solid rgba(255,255,255,.9); border-radius:50%; font-size:18rpx; font-weight:800; line-height:38rpx; }.remember-row { display:flex; align-items:center; justify-content:center; margin-top:30rpx; color:#737a76; font-size:23rpx; }.check { display:flex; align-items:center; justify-content:center; width:32rpx; height:32rpx; margin-right:12rpx; border:2rpx solid #b7bdb9; border-radius:50%; color:#fff; font-size:19rpx; }.check.small { width:28rpx; height:28rpx; flex:none; margin-right:8rpx; border-radius:7rpx; }.check.checked { border-color:#247b63; background:#247b63; }.state-line { display:flex; flex-direction:column; align-items:center; margin-top:34rpx; }.state-title { color:#765b32; font-size:24rpx; font-weight:700; }.state-message { margin-top:7rpx; color:#9a8260; font-size:20rpx; text-align:center; }.agreement-footer { padding-top:50rpx; }.agreement-line { display:flex; align-items:flex-start; justify-content:center; }.agreement-copy { color:#a0a4a1; font-size:20rpx; line-height:1.55; text-align:center; }.agreement-link { color:#6b7570; }.agreement-error { margin-top:10rpx; color:#ad6954; font-size:19rpx; text-align:center; }
.modal-mask { position:fixed; z-index:20; inset:0; display:flex; align-items:flex-end; background:rgba(0,0,0,.56); }.modal-mask.center { align-items:center; justify-content:center; padding:36rpx; }.agreement-sheet { box-sizing:border-box; width:100%; max-height:74vh; padding:34rpx 42rpx 48rpx; border-radius:28rpx 28rpx 0 0; background:#fff; }.sheet-handle { width:72rpx; height:8rpx; margin:0 auto 34rpx; border-radius:999rpx; background:#e4e5e4; }.modal-title { display:block; color:#222724; font-size:34rpx; font-weight:800; }.modal-version { display:block; margin-top:10rpx; color:#a1a5a2; font-size:21rpx; }.modal-body { height:38vh; margin-top:24rpx; color:#707773; font-size:25rpx; line-height:1.75; white-space:pre-wrap; }.sheet-actions { display:flex; gap:24rpx; margin-top:30rpx; }.sheet-btn { height:88rpx; flex:1; border-radius:14rpx; font-size:29rpx; line-height:88rpx; }.sheet-btn.secondary { background:#f3f3f3; color:#242824; }.sheet-btn.primary { background:#19be72; color:#fff; }.shop-dialog { box-sizing:border-box; width:100%; padding:34rpx; border-radius:24rpx; background:#fff; }.shop-option { display:flex; align-items:center; margin-top:20rpx; padding:22rpx; border-radius:16rpx; background:#f3f8f5; color:#344b40; font-size:26rpx; }.shop-icon { display:flex; align-items:center; justify-content:center; width:52rpx; height:52rpx; margin-right:16rpx; border-radius:14rpx; background:#dbe9df; color:#35634d; font-weight:800; }.shop-arrow { margin-left:auto; color:#82948a; font-size:34rpx; }.switching { display:block; margin-top:20rpx; color:#82948a; text-align:center; } .modal-mask { position:fixed; z-index:20; inset:0; display:flex; align-items:flex-end; background:rgba(0,0,0,.56); }.modal-mask.center { align-items:center; justify-content:center; padding:36rpx; }.agreement-sheet { box-sizing:border-box; width:100%; max-height:74vh; padding:34rpx 42rpx 48rpx; border-radius:28rpx 28rpx 0 0; background:#fff; }.sheet-handle { width:72rpx; height:8rpx; margin:0 auto 34rpx; border-radius:999rpx; background:#e4e5e4; }.modal-title { display:block; color:#17211f; font-size:34rpx; font-weight:800; }.modal-version { display:block; margin-top:10rpx; color:#a1a5a2; font-size:21rpx; }.modal-body { height:38vh; margin-top:24rpx; color:#707773; font-size:25rpx; line-height:1.75; white-space:pre-wrap; }.sheet-actions { display:flex; gap:24rpx; margin-top:30rpx; }.sheet-btn { height:88rpx; flex:1; border-radius:14rpx; font-size:29rpx; line-height:88rpx; }.sheet-btn.secondary { background:#f3f3f3; color:#17211f; }.sheet-btn.primary { background:#247b63; color:#fff; }.shop-dialog { box-sizing:border-box; width:100%; padding:34rpx; border-radius:24rpx; background:#fff; }.shop-option { display:flex; align-items:center; margin-top:20rpx; padding:22rpx; border-radius:16rpx; background:#f3f7f4; color:#17211f; font-size:26rpx; }.shop-icon { display:flex; align-items:center; justify-content:center; width:52rpx; height:52rpx; margin-right:16rpx; border-radius:14rpx; background:#e5f4ed; color:#247b63; font-weight:800; }.shop-arrow { margin-left:auto; color:#71807a; font-size:34rpx; }.switching { display:block; margin-top:20rpx; color:#71807a; text-align:center; }
@media (max-height:700px) { .brand-area { padding-top:90rpx; }.action-area { margin-top:70rpx; }.login-logo { width:160rpx; height:160rpx; } } @media (max-height:700px) { .brand-area { padding-top:90rpx; }.action-area { margin-top:70rpx; }.login-logo { width:160rpx; height:160rpx; } }
+43 -43
View File
@@ -2,7 +2,7 @@
padding-top: 18rpx; padding-top: 18rpx;
} }
.phone-banner { display:flex; align-items:center; margin-bottom:18rpx; padding:16rpx 18rpx; border-radius:14rpx; background:#fff2d8; color:#815f2b; overflow:hidden; }.phone-banner-track { display:flex; flex:1; width:0; gap:50rpx; white-space:nowrap; animation:phoneBannerScroll 10s linear infinite; font-size:22rpx; }.phone-banner-close { position:relative; z-index:2; margin-left:18rpx; padding:6rpx; background:#fff2d8; font-size:32rpx; }.profile-prompt-mask { position:fixed; z-index:30; inset:0; display:flex; align-items:center; justify-content:center; padding:40rpx; background:rgba(25,41,33,.55); }.profile-prompt { box-sizing:border-box; display:flex; width:100%; flex-direction:column; align-items:center; padding:36rpx; border-radius:24rpx; background:#fff; }.profile-prompt-title { color:#30483c; font-size:32rpx; font-weight:800; }.profile-prompt-desc { margin-top:10rpx; color:#89988f; font-size:22rpx; text-align:center; }.wechat-nickname { box-sizing:border-box; width:100%; height:80rpx; margin-top:24rpx; padding:0 22rpx; border:1rpx solid #dce8df; border-radius:13rpx; background:#f7faf8; }.profile-save { width:100%; height:80rpx; margin-top:22rpx; border-radius:14rpx; background:#35634d; color:#fff; line-height:80rpx; }.profile-skip { margin-top:12rpx; background:transparent; color:#7e8e85; font-size:23rpx; } .phone-banner { display:flex; align-items:center; margin-bottom:18rpx; padding:16rpx 18rpx; border-radius:14rpx; background:#fff2d8; color:#815f2b; overflow:hidden; }.phone-banner-track { display:flex; flex:1; width:0; gap:50rpx; white-space:nowrap; animation:phoneBannerScroll 10s linear infinite; font-size:22rpx; }.phone-banner-close { position:relative; z-index:2; margin-left:18rpx; padding:6rpx; background:#fff2d8; font-size:32rpx; }.profile-prompt-mask { position:fixed; z-index:30; inset:0; display:flex; align-items:center; justify-content:center; padding:40rpx; background:rgba(25,41,33,.55); }.profile-prompt { box-sizing:border-box; display:flex; width:100%; flex-direction:column; align-items:center; padding:36rpx; border-radius:24rpx; background:#fff; }.profile-prompt-title { color:#17211f; font-size:32rpx; font-weight:800; }.profile-prompt-desc { margin-top:10rpx; color:#71807a; font-size:22rpx; text-align:center; }.wechat-nickname { box-sizing:border-box; width:100%; height:80rpx; margin-top:24rpx; padding:0 22rpx; border:1rpx solid #dce8df; border-radius:13rpx; background:#f7faf8; }.profile-save { width:100%; height:80rpx; margin-top:22rpx; border-radius:14rpx; background:#247b63; color:#fff; line-height:80rpx; }.profile-skip { margin-top:12rpx; background:transparent; color:#7e8e85; font-size:23rpx; }
.wechat-avatar { .wechat-avatar {
position: relative; position: relative;
@@ -64,8 +64,8 @@
min-height: 52rpx; min-height: 52rpx;
padding: 0; padding: 0;
border-radius: 999rpx; border-radius: 999rpx;
background: #e5eee9; background: #e5f4ed;
color: #6f8f83; color: #247b63;
font-size: 24rpx; font-size: 24rpx;
font-weight: 800; font-weight: 800;
line-height: 52rpx; line-height: 52rpx;
@@ -116,7 +116,7 @@
height: 52rpx; height: 52rpx;
padding: 0; padding: 0;
border-radius: 999rpx; border-radius: 999rpx;
background: #fffdf8; background: #ffffff;
color: #8b4b35; color: #8b4b35;
font-size: 24rpx; font-size: 24rpx;
font-weight: 800; font-weight: 800;
@@ -158,13 +158,13 @@
} }
.date-main { .date-main {
color: #25211d; color: #17211f;
font-size: 32rpx; font-size: 32rpx;
font-weight: 800; font-weight: 800;
} }
.date-sub { .date-sub {
color: #9a9288; color: #71807a;
font-size: 22rpx; font-size: 22rpx;
} }
@@ -191,8 +191,8 @@
} }
.segment.active { .segment.active {
background: #fffdf8; background: #ffffff;
color: #2f2a25; color: #17211f;
box-shadow: 0 6rpx 14rpx rgba(58, 48, 34, 0.07); box-shadow: 0 6rpx 14rpx rgba(58, 48, 34, 0.07);
transform: translateY(-1rpx); transform: translateY(-1rpx);
} }
@@ -211,7 +211,7 @@
margin-right: 10rpx; margin-right: 10rpx;
padding: 0 16rpx; padding: 0 16rpx;
border-radius: 999rpx; border-radius: 999rpx;
background: #f4f0ea; background: #f3f7f4;
color: #625b52; color: #625b52;
font-size: 24rpx; font-size: 24rpx;
font-weight: 700; font-weight: 700;
@@ -219,8 +219,8 @@
} }
.artist-chip.active { .artist-chip.active {
background: #e5eee9; background: #e5f4ed;
color: #4e7165; color: #247b63;
transform: translateY(-1rpx); transform: translateY(-1rpx);
} }
@@ -233,7 +233,7 @@
.chip-count { .chip-count {
margin-left: 8rpx; margin-left: 8rpx;
color: #9a9288; color: #71807a;
} }
.unassigned-notice { .unassigned-notice {
@@ -274,7 +274,7 @@
.summary-value { .summary-value {
display: block; display: block;
color: #26231f; color: #17211f;
font-size: 34rpx; font-size: 34rpx;
font-weight: 800; font-weight: 800;
} }
@@ -304,8 +304,8 @@
z-index: 4; z-index: 4;
width: 92rpx; width: 92rpx;
height: 100%; height: 100%;
border-right: 1rpx solid #eee8df; border-right: 1rpx solid #e7ece9;
background: #fffdf8; background: #ffffff;
} }
.time-axis::before { .time-axis::before {
@@ -317,7 +317,7 @@
.time-label { .time-label {
position: absolute; position: absolute;
right: 12rpx; right: 12rpx;
color: #9a9288; color: #71807a;
font-size: 20rpx; font-size: 20rpx;
line-height: 1; line-height: 1;
white-space: nowrap; white-space: nowrap;
@@ -339,8 +339,8 @@
.artist-lane { .artist-lane {
position: relative; position: relative;
flex-shrink: 0; flex-shrink: 0;
border-right: 1rpx solid #eee8df; border-right: 1rpx solid #e7ece9;
background-image: linear-gradient(to bottom, rgba(214, 207, 197, 0.35) 1rpx, transparent 1rpx); background-image: linear-gradient(to bottom, rgba(203, 220, 213, 0.45) 1rpx, transparent 1rpx);
background-size: 100% 60rpx; background-size: 100% 60rpx;
} }
@@ -352,8 +352,8 @@
align-items: center; align-items: center;
height: 54rpx; height: 54rpx;
padding: 0 14rpx; padding: 0 14rpx;
background: rgba(255, 253, 248, 0.92); background: rgba(255, 255, 255, 0.92);
color: #4d473f; color: #17211f;
font-size: 22rpx; font-size: 22rpx;
font-weight: 700; font-weight: 700;
} }
@@ -385,7 +385,7 @@
} }
.block-title { .block-title {
color: #2c2823; color: #17211f;
font-size: 24rpx; font-size: 24rpx;
font-weight: 800; font-weight: 800;
} }
@@ -401,7 +401,7 @@
display: flex; display: flex;
gap: 10rpx; gap: 10rpx;
margin-top: 6rpx; margin-top: 6rpx;
color: #2f6f62; color: #247b63;
font-size: 20rpx; font-size: 20rpx;
font-weight: 800; font-weight: 800;
} }
@@ -416,7 +416,7 @@
right: 18rpx; right: 18rpx;
left: 18rpx; left: 18rpx;
padding: 16rpx 0; padding: 16rpx 0;
border: 1rpx dashed #d8d1c8; border: 1rpx dashed #e7ece9;
border-radius: 10px; border-radius: 10px;
color: #aaa198; color: #aaa198;
text-align: center; text-align: center;
@@ -449,7 +449,7 @@
.week-date { .week-date {
margin: 8rpx 0; margin: 8rpx 0;
color: #211e1a; color: #17211f;
font-size: 38rpx; font-size: 38rpx;
font-weight: 800; font-weight: 800;
} }
@@ -490,12 +490,12 @@
.week-line { .week-line {
min-height: 70rpx; min-height: 70rpx;
border-top: 1rpx solid #eee8df; border-top: 1rpx solid #e7ece9;
} }
.week-line-date { .week-line-date {
width: 132rpx; width: 132rpx;
color: #6f675f; color: #71807a;
font-size: 24rpx; font-size: 24rpx;
} }
@@ -547,7 +547,7 @@
gap: 6rpx; gap: 6rpx;
padding: 6rpx; padding: 6rpx;
border-radius: 999rpx; border-radius: 999rpx;
background: #eee8df; background: #e7ece9;
} }
.month-mode { .month-mode {
@@ -558,15 +558,15 @@
height: 44rpx; height: 44rpx;
padding: 0 12rpx; padding: 0 12rpx;
border-radius: 999rpx; border-radius: 999rpx;
color: #766e65; color: #71807a;
font-size: 22rpx; font-size: 22rpx;
font-weight: 800; font-weight: 800;
transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease; transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
} }
.month-mode.active { .month-mode.active {
background: #fffdf8; background: #ffffff;
color: #2f6f62; color: #247b63;
box-shadow: 0 4rpx 12rpx rgba(58, 48, 34, 0.07); box-shadow: 0 4rpx 12rpx rgba(58, 48, 34, 0.07);
transform: translateY(-1rpx); transform: translateY(-1rpx);
} }
@@ -578,15 +578,15 @@
height: 44rpx; height: 44rpx;
padding: 0 10rpx; padding: 0 10rpx;
border-radius: 999rpx; border-radius: 999rpx;
background: #f0ece5; background: #e5f4ed;
color: #766e65; color: #71807a;
font-size: 21rpx; font-size: 21rpx;
font-weight: 800; font-weight: 800;
} }
.row-name-switch.active { .row-name-switch.active {
color: #2f6f62; color: #247b63;
background: #e5eee9; background: #e5f4ed;
} }
.switch-track { .switch-track {
@@ -604,13 +604,13 @@
width: 18rpx; width: 18rpx;
height: 18rpx; height: 18rpx;
border-radius: 50%; border-radius: 50%;
background: #fffdf8; background: #ffffff;
box-shadow: 0 2rpx 6rpx rgba(58, 48, 34, 0.16); box-shadow: 0 2rpx 6rpx rgba(58, 48, 34, 0.16);
transition: transform 180ms ease; transition: transform 180ms ease;
} }
.row-name-switch.active .switch-track { .row-name-switch.active .switch-track {
background: #6f8f83; background: #247b63;
} }
.row-name-switch.active .switch-thumb { .row-name-switch.active .switch-thumb {
@@ -637,9 +637,9 @@
.month-cell { .month-cell {
min-height: 168rpx; min-height: 168rpx;
padding: 8rpx 5rpx; padding: 8rpx 5rpx;
border-right: 1rpx solid #eee8df; border-right: 1rpx solid #e7ece9;
border-bottom: 1rpx solid #eee8df; border-bottom: 1rpx solid #e7ece9;
background: #fffdf8; background: #ffffff;
transition: background-color 180ms ease, transform 160ms ease; transition: background-color 180ms ease, transform 160ms ease;
} }
@@ -652,11 +652,11 @@
} }
.month-cell.out-month { .month-cell.out-month {
background: #f7f3ed; background: #f3f7f4;
} }
.month-cell.selected { .month-cell.selected {
background: #eef5f1; background: #e5f4ed;
} }
.month-cell-head { .month-cell-head {
@@ -667,7 +667,7 @@
} }
.month-day { .month-day {
color: #2c2824; color: #17211f;
font-size: 22rpx; font-size: 22rpx;
font-weight: 800; font-weight: 800;
} }
@@ -770,4 +770,4 @@
} }
} }
.historical-backfill-card{margin:20rpx 0;padding:22rpx}.historical-backfill-row{display:flex;justify-content:space-between;align-items:center;padding:18rpx 0;border-top:1rpx solid #eee7df;font-size:26rpx}.historical-backfill-row .muted{display:block;color:#92887e;font-size:22rpx;margin-top:8rpx} .historical-backfill-card{margin:20rpx 0;padding:22rpx}.historical-backfill-row{display:flex;justify-content:space-between;align-items:center;padding:18rpx 0;border-top:1rpx solid #e7ece9;font-size:26rpx}.historical-backfill-row .muted{display:block;color:#71807a;font-size:22rpx;margin-top:8rpx}
@@ -1,17 +1,17 @@
.profile-edit-page { padding-top:24rpx; } .profile-edit-page { padding-top:24rpx; }
.loading-line { margin-bottom:16rpx; color:#8e9c94; font-size:22rpx; text-align:center; } .loading-line { margin-bottom:16rpx; color:#71807a; font-size:22rpx; text-align:center; }
.avatar-card { display:flex; align-items:center; padding:26rpx; } .avatar-card { display:flex; align-items:center; padding:26rpx; }
.avatar-preview { position:relative; display:flex; width:112rpx; height:112rpx; flex:none; align-items:center; justify-content:center; overflow:hidden; border-radius:28rpx; background:#6f8f83; color:#fff; font-size:40rpx; font-weight:900; } .avatar-preview { position:relative; display:flex; width:112rpx; height:112rpx; flex:none; align-items:center; justify-content:center; overflow:hidden; border-radius:28rpx; background:#247b63; color:#fff; font-size:40rpx; font-weight:900; }
.avatar-preview image { width:100%; height:100%; } .avatar-preview image { width:100%; height:100%; }
.avatar-letter { line-height:1; } .avatar-letter { line-height:1; }
.avatar-change-tip { position:absolute; right:0; bottom:0; left:0; height:34rpx; background:rgba(35,42,39,.62); color:#fff; font-size:17rpx; font-weight:500; line-height:34rpx; text-align:center; } .avatar-change-tip { position:absolute; right:0; bottom:0; left:0; height:34rpx; background:rgba(35,42,39,.62); color:#fff; font-size:17rpx; font-weight:500; line-height:34rpx; text-align:center; }
.avatar-copy { display:flex; min-width:0; flex:1; flex-direction:column; margin-left:20rpx; } .avatar-copy { display:flex; min-width:0; flex:1; flex-direction:column; margin-left:20rpx; }
.avatar-title { color:#30483c; font-size:30rpx; font-weight:800; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .avatar-title { color:#17211f; font-size:30rpx; font-weight:800; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.avatar-signature { margin-top:10rpx; color:#8a9a91; font-size:22rpx; line-height:1.5; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .avatar-signature { margin-top:10rpx; color:#71807a; font-size:22rpx; line-height:1.5; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.wechat-data-actions { display:flex; gap:16rpx; margin-top:20rpx; } .wechat-data-actions { display:flex; gap:16rpx; margin-top:20rpx; }
.wechat-data-action { position:relative; display:flex; width:auto; min-width:0; height:84rpx; flex:1; align-items:center; justify-content:center; padding:0 18rpx; overflow:hidden; border:1rpx solid rgba(53,99,77,.08); border-radius:18rpx; background:#fffdf8; color:#30483c; font-size:24rpx; font-weight:800; box-shadow:0 8rpx 22rpx rgba(58,48,34,.05); } .wechat-data-action { position:relative; display:flex; width:auto; min-width:0; height:84rpx; flex:1; align-items:center; justify-content:center; padding:0 18rpx; overflow:hidden; border:1rpx solid rgba(36, 123, 99, .08); border-radius:18rpx; background:#ffffff; color:#17211f; font-size:24rpx; font-weight:800; box-shadow:0 8rpx 22rpx rgba(23, 33, 31, .05); }
.wechat-data-action.disabled { opacity:.55; } .wechat-data-action.disabled { opacity:.55; }
.wechat-action-mark { display:flex; width:40rpx; height:40rpx; flex:none; align-items:center; justify-content:center; margin-right:12rpx; border-radius:12rpx; background:#dcebe1; color:#35634d; font-size:18rpx; } .wechat-action-mark { display:flex; width:40rpx; height:40rpx; flex:none; align-items:center; justify-content:center; margin-right:12rpx; border-radius:12rpx; background:#e5f4ed; color:#247b63; font-size:18rpx; }
.nickname-action { box-sizing:border-box; } .nickname-action { box-sizing:border-box; }
.wechat-nickname-trigger { position:absolute; z-index:2; top:0; right:0; bottom:0; left:0; width:100%; height:100%; opacity:0; } .wechat-nickname-trigger { position:absolute; z-index:2; top:0; right:0; bottom:0; left:0; width:100%; height:100%; opacity:0; }
.section-title { margin:30rpx 4rpx 14rpx; } .section-title { margin:30rpx 4rpx 14rpx; }
@@ -25,7 +25,7 @@
.signature-field textarea { text-align:left; } .signature-field textarea { text-align:left; }
.account-title { margin-top:26rpx; } .account-title { margin-top:26rpx; }
.readonly-card { padding:0 24rpx; } .readonly-card { padding:0 24rpx; }
.readonly-row { display:flex; min-height:92rpx; align-items:center; justify-content:space-between; gap:30rpx; border-bottom:1rpx solid #eee8df; font-size:25rpx; } .readonly-row { display:flex; min-height:92rpx; align-items:center; justify-content:space-between; gap:30rpx; border-bottom:1rpx solid #e7ece9; font-size:25rpx; }
.readonly-row:last-child { border-bottom:0; } .readonly-row:last-child { border-bottom:0; }
.readonly-row text:first-child { color:#625c55; font-weight:700; } .readonly-row text:first-child { color:#71807a; font-weight:700; }
.readonly-row text:last-child { min-width:0; color:#8a837b; text-align:right; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .readonly-row text:last-child { min-width:0; color:#8a837b; text-align:right; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
+12 -12
View File
@@ -26,7 +26,7 @@
height: 96rpx; height: 96rpx;
overflow: hidden; overflow: hidden;
border-radius: 24rpx; border-radius: 24rpx;
background: #6f8f83; background: #247b63;
color: #fff; color: #fff;
font-size: 40rpx; font-size: 40rpx;
font-weight: 900; font-weight: 900;
@@ -52,7 +52,7 @@
.profile-shop { .profile-shop {
margin-top: 8rpx; margin-top: 8rpx;
color: #91897f; color: #71807a;
font-size: 24rpx; font-size: 24rpx;
} }
@@ -60,8 +60,8 @@
flex-shrink: 0; flex-shrink: 0;
padding: 8rpx 18rpx; padding: 8rpx 18rpx;
border-radius: 999rpx; border-radius: 999rpx;
background: #e5eee9; background: #e5f4ed;
color: #4e7165; color: #247b63;
font-size: 23rpx; font-size: 23rpx;
font-weight: 800; font-weight: 800;
line-height: 1.2; line-height: 1.2;
@@ -80,14 +80,14 @@
} }
.overview-title { .overview-title {
color: #302c27; color: #17211f;
font-size: 28rpx; font-size: 28rpx;
font-weight: 900; font-weight: 900;
} }
.overview-date, .overview-date,
.overview-loading { .overview-loading {
color: #91897f; color: #71807a;
font-size: 22rpx; font-size: 22rpx;
} }
@@ -109,7 +109,7 @@
justify-content: center; justify-content: center;
flex-direction: column; flex-direction: column;
border-radius: 16rpx; border-radius: 16rpx;
background: #f8f3ec; background: #f3f7f4;
} }
.overview-item--warning { .overview-item--warning {
@@ -121,7 +121,7 @@
} }
.overview-value { .overview-value {
color: #2f6f62; color: #247b63;
font-size: 38rpx; font-size: 38rpx;
font-weight: 900; font-weight: 900;
line-height: 1; line-height: 1;
@@ -130,14 +130,14 @@
.overview-label, .overview-label,
.overview-status { .overview-status {
margin-top: 10rpx; margin-top: 10rpx;
color: #756b62; color: #71807a;
font-size: 21rpx; font-size: 21rpx;
text-align: center; text-align: center;
} }
.overview-status { .overview-status {
margin-top: 0; margin-top: 0;
color: #2f6f62; color: #247b63;
font-size: 27rpx; font-size: 27rpx;
font-weight: 800; font-weight: 800;
} }
@@ -163,8 +163,8 @@
justify-content: space-between; justify-content: space-between;
min-height: 104rpx; min-height: 104rpx;
padding: 0 26rpx; padding: 0 26rpx;
border-bottom: 1rpx solid #eee8df; border-bottom: 1rpx solid #e7ece9;
color: #302c27; color: #17211f;
font-size: 28rpx; font-size: 28rpx;
font-weight: 700; font-weight: 700;
} }
+21 -21
View File
@@ -1,6 +1,6 @@
.auth-page { .auth-page {
padding: 36rpx 28rpx 48rpx; padding: 36rpx 28rpx 48rpx;
background: #f4f8f5; background: #f3f7f4;
} }
.auth-header { .auth-header {
@@ -13,7 +13,7 @@
width: 88rpx; width: 88rpx;
height: 88rpx; height: 88rpx;
border-radius: 26rpx; border-radius: 26rpx;
background: #dce9df; background: #e5f4ed;
box-shadow: 0 12rpx 28rpx rgba(55, 94, 72, .14); box-shadow: 0 12rpx 28rpx rgba(55, 94, 72, .14);
} }
@@ -23,7 +23,7 @@
margin-left: 20rpx; margin-left: 20rpx;
} }
.brand-name { color: #2e4a3d; font-size: 42rpx; font-weight: 800; } .brand-name { color: #17211f; font-size: 42rpx; font-weight: 800; }
.brand-sub { margin-top: 8rpx; color: #7b8f82; font-size: 23rpx; } .brand-sub { margin-top: 8rpx; color: #7b8f82; font-size: 23rpx; }
.progress-row { .progress-row {
@@ -55,8 +55,8 @@
} }
.progress-step label { margin-top: 8rpx; } .progress-step label { margin-top: 8rpx; }
.progress-step.active { color: #3d6652; } .progress-step.active { color: #247b63; }
.progress-step.active text { background: #3d6652; color: #fff; } .progress-step.active text { background: #247b63; color: #fff; }
.progress-line { .progress-line {
height: 2rpx; height: 2rpx;
@@ -70,13 +70,13 @@
.form-card, .form-card,
.result-card { .result-card {
padding: 34rpx 28rpx; padding: 34rpx 28rpx;
border: 1rpx solid #e1ebe3; border: 1rpx solid #e7ece9;
border-radius: 24rpx; border-radius: 24rpx;
background: #fbfdfb; background: #fbfdfb;
box-shadow: 0 18rpx 46rpx rgba(55, 94, 72, .08); box-shadow: 0 18rpx 46rpx rgba(55, 94, 72, .08);
} }
.section-title { color: #2e4a3d; font-size: 34rpx; font-weight: 800; } .section-title { color: #17211f; font-size: 34rpx; font-weight: 800; }
.section-desc { margin-top: 10rpx; color: #87978c; font-size: 23rpx; line-height: 1.55; } .section-desc { margin-top: 10rpx; color: #87978c; font-size: 23rpx; line-height: 1.55; }
.auth-page .form-card .field { .auth-page .form-card .field {
@@ -106,8 +106,8 @@
padding: 0 24rpx; padding: 0 24rpx;
border: 1rpx solid #dfe9e1; border: 1rpx solid #dfe9e1;
border-radius: 14rpx; border-radius: 14rpx;
background: #f7faf7; background: #f3f7f4;
color: #2e4a3d; color: #17211f;
font-size: 27rpx; font-size: 27rpx;
} }
@@ -118,7 +118,7 @@
color: #a0ada4; color: #a0ada4;
} }
.picker-value.filled { color: #2e4a3d; } .picker-value.filled { color: #17211f; }
.picker-arrow { .picker-arrow {
color: #8fa096; color: #8fa096;
@@ -148,7 +148,7 @@
border: 1rpx solid #b9d0c0; border: 1rpx solid #b9d0c0;
border-radius: 12rpx; border-radius: 12rpx;
background: #edf5ef; background: #edf5ef;
color: #3d6652; color: #247b63;
font-size: 23rpx; font-size: 23rpx;
font-weight: 700; font-weight: 700;
line-height: 68rpx; line-height: 68rpx;
@@ -177,7 +177,7 @@
height: 84rpx; height: 84rpx;
margin-top: 30rpx; margin-top: 30rpx;
border-radius: 14rpx; border-radius: 14rpx;
background: #3d6652; background: #247b63;
color: #fff; color: #fff;
font-size: 28rpx; font-size: 28rpx;
font-weight: 700; font-weight: 700;
@@ -192,9 +192,9 @@
min-height: 112rpx; min-height: 112rpx;
margin-top: 16rpx; margin-top: 16rpx;
padding: 0 20rpx; padding: 0 20rpx;
border: 1rpx solid #e1ebe3; border: 1rpx solid #e7ece9;
border-radius: 16rpx; border-radius: 16rpx;
background: #f8fbf8; background: #f3f7f4;
} }
.role-option.selected { .role-option.selected {
@@ -210,14 +210,14 @@
width: 64rpx; width: 64rpx;
height: 64rpx; height: 64rpx;
border-radius: 18rpx; border-radius: 18rpx;
background: #dce9df; background: #e5f4ed;
color: #3d6652; color: #247b63;
font-size: 25rpx; font-size: 25rpx;
font-weight: 800; font-weight: 800;
} }
.role-copy { display: flex; flex: 1; flex-direction: column; margin-left: 18rpx; } .role-copy { display: flex; flex: 1; flex-direction: column; margin-left: 18rpx; }
.role-title { color: #2e4a3d; font-size: 28rpx; font-weight: 700; } .role-title { color: #17211f; font-size: 28rpx; font-weight: 700; }
.role-desc { margin-top: 8rpx; color: #8b9b90; font-size: 22rpx; } .role-desc { margin-top: 8rpx; color: #8b9b90; font-size: 22rpx; }
.role-mark { color: #6f9780; font-size: 34rpx; } .role-mark { color: #6f9780; font-size: 34rpx; }
@@ -225,7 +225,7 @@
margin-top: 18rpx; margin-top: 18rpx;
padding: 18rpx; padding: 18rpx;
border-radius: 12rpx; border-radius: 12rpx;
background: #f1f6f2; background: #e5f4ed;
color: #718579; color: #718579;
font-size: 22rpx; font-size: 22rpx;
line-height: 1.5; line-height: 1.5;
@@ -246,13 +246,13 @@
width: 92rpx; width: 92rpx;
height: 92rpx; height: 92rpx;
border-radius: 50%; border-radius: 50%;
background: #dcece0; background: #e5f4ed;
color: #3d6652; color: #247b63;
font-size: 48rpx; font-size: 48rpx;
font-weight: 800; font-weight: 800;
} }
.result-card .section-title { margin-top: 24rpx; } .result-card .section-title { margin-top: 24rpx; }
.result-status { margin-top: 28rpx; padding: 18rpx 28rpx; border-radius: 12rpx; background: #f1f6f2; color: #75887b; font-size: 24rpx; } .result-status { margin-top: 28rpx; padding: 18rpx 28rpx; border-radius: 12rpx; background: #e5f4ed; color: #75887b; font-size: 24rpx; }
.result-status text { color: #c28b47; font-weight: 700; } .result-status text { color: #c28b47; font-weight: 700; }
.safe-note { margin-top: 28rpx; color: #9aa9a0; font-size: 21rpx; line-height: 1.5; text-align: center; } .safe-note { margin-top: 28rpx; color: #9aa9a0; font-size: 21rpx; line-height: 1.5; text-align: center; }
@@ -33,7 +33,7 @@
border: 1rpx solid #e3ddd4; border: 1rpx solid #e3ddd4;
border-radius: 999rpx; border-radius: 999rpx;
background: #fbf7f0; background: #fbf7f0;
color: #5f5951; color: #71807a;
font-size: 24rpx; font-size: 24rpx;
font-weight: 700; font-weight: 700;
transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
@@ -41,20 +41,20 @@
.preset-chip.active, .preset-chip.active,
.weekday-chip.active { .weekday-chip.active {
border-color: #6f8f83; border-color: #247b63;
background: #e5eee9; background: #e5f4ed;
color: #55786d; color: #247b63;
transform: translateY(-2rpx); transform: translateY(-2rpx);
} }
.field-block { .field-block {
padding: 26rpx 0 12rpx; padding: 26rpx 0 12rpx;
border-bottom: 1rpx solid #eee8df; border-bottom: 1rpx solid #e7ece9;
} }
.field-title { .field-title {
margin-bottom: 16rpx; margin-bottom: 16rpx;
color: #625c55; color: #71807a;
font-size: 26rpx; font-size: 26rpx;
font-weight: 700; font-weight: 700;
} }
@@ -68,8 +68,8 @@
min-height: 58rpx; min-height: 58rpx;
padding: 14rpx 20rpx; padding: 14rpx 20rpx;
border-radius: 999rpx; border-radius: 999rpx;
background: #f4f0ea; background: #f3f7f4;
color: #4d473f; color: #17211f;
font-size: 26rpx; font-size: 26rpx;
font-weight: 700; font-weight: 700;
} }
@@ -90,7 +90,7 @@
flex-direction: column; flex-direction: column;
gap: 8rpx; gap: 8rpx;
padding: 20rpx 24rpx; padding: 20rpx 24rpx;
color: #4c4740; color: #17211f;
font-size: 24rpx; font-size: 24rpx;
font-weight: 700; font-weight: 700;
transition: transform 180ms ease, box-shadow 180ms ease; transition: transform 180ms ease, box-shadow 180ms ease;
@@ -17,8 +17,8 @@
height: 28rpx; height: 28rpx;
margin-left: 8rpx; margin-left: 8rpx;
border-radius: 50%; border-radius: 50%;
background: #e5eee9; background: #e5f4ed;
color: #4e7165; color: #247b63;
font-size: 20rpx; font-size: 20rpx;
font-weight: 800; font-weight: 800;
line-height: 28rpx; line-height: 28rpx;
@@ -0,0 +1,27 @@
# Salon 全端薄荷绿主题设计
## 范围
覆盖 Salon 小程序及 Salon Web 前端(含后台管理)。ArtList 明确不在本次范围内。仅统一 Salon 页面视觉主题,不改变布局、交互、路由、接口或业务流程。
## 视觉令牌
- 页面底色:`#f3f7f4`
- 主薄荷绿:`#247b63`
- 浅薄荷:`#e5f4ed`
- 柔和薄荷:`#b8e4d4`
- 深色文字:`#17211f`
- 次级文字:`#71807a`
- 边框:`#e7ece9`
- 卡片:`#ffffff`
## 实现方式
先更新各端公共主题令牌和 Web 端默认门店主题,再对页面局部硬编码的品牌色、选中色、链接色和装饰色做定向统一。错误、警告、删除、订单状态等语义色保留;已有门店自定义主题和用户可选背景不被强制覆盖。
## 验证
- 检查 Salon 两个客户端主题入口和页面局部旧品牌色。
- 运行 Web 前端测试与构建、小程序测试。
- 执行 `git diff --check` 和 GitNexus 变更检查。
- 不覆盖现有预约页工作区改动及其他用户未提交内容,不修改任何 ArtList 文件。