diff --git a/JY-Artist-Frontend/src/components/BottomNav.vue b/JY-Artist-Frontend/src/components/BottomNav.vue index 18d8bcce..53dc8450 100644 --- a/JY-Artist-Frontend/src/components/BottomNav.vue +++ b/JY-Artist-Frontend/src/components/BottomNav.vue @@ -270,8 +270,6 @@ const handleNavClick = (tab: string) => { left: 50%; width: var(--frontend-page-max-width); max-width: calc(100vw - 48px); - border-bottom-right-radius: 32px; - border-bottom-left-radius: 32px; transform: translateX(-50%) translateZ(0); } } diff --git a/JY-Artist-Frontend/src/style.css b/JY-Artist-Frontend/src/style.css index d0d5c8eb..de66b93b 100644 --- a/JY-Artist-Frontend/src/style.css +++ b/JY-Artist-Frontend/src/style.css @@ -24,7 +24,7 @@ --border-radius-base: 10px; --border-radius-large: 30px; --frontend-min-safe-width: 320px; - --frontend-page-max-width: 430px; + --frontend-page-max-width: 520px; --frontend-content-max-width: 1120px; --admin-content-max-width: 1440px; } @@ -292,6 +292,7 @@ body { .app-container--phone-shell { align-items: center; padding: 0; + width: 100vw; } .mobile-container { @@ -303,9 +304,7 @@ body { min-height: 100vh; margin: 0 auto; overflow: clip; - border: 1px solid rgba(212, 194, 195, 0.72); - border-radius: 32px; - box-shadow: 0 28px 80px rgba(74, 68, 63, 0.14); + box-shadow: 0 0 0 1px rgba(50, 43, 34, 0.04), 0 24px 80px rgba(58, 48, 34, 0.12); } .jayu-cloud-phone-frame > .bottom-nav, @@ -327,16 +326,7 @@ body { top: 0; } - .jayu-cloud-phone-frame > .page-content .header, - .jayu-cloud-phone-frame > .page-content .gallery-header, - .jayu-cloud-phone-frame > .page-content .order-header { - border-top-left-radius: 32px; - border-top-right-radius: 32px; - } - .jayu-cloud-phone-frame > .bottom-nav { bottom: 0; - border-bottom-right-radius: 32px; - border-bottom-left-radius: 32px; } } diff --git a/JY-Artist-Frontend/src/views/AuthView.vue b/JY-Artist-Frontend/src/views/AuthView.vue index 42d371c4..57716eac 100644 --- a/JY-Artist-Frontend/src/views/AuthView.vue +++ b/JY-Artist-Frontend/src/views/AuthView.vue @@ -1337,7 +1337,7 @@ onBeforeUnmount(() => { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; - width: min(100%, 430px); + width: min(100%, var(--frontend-page-max-width)); height: 44px; margin: -10px auto 8px; } @@ -1372,7 +1372,7 @@ onBeforeUnmount(() => { .auth-page { width: 100%; - max-width: 430px; + max-width: var(--frontend-page-max-width); min-height: calc(100svh - 104px); display: flex; flex-direction: column; diff --git a/JY-Artist-Frontend/src/views/ProductListView.vue b/JY-Artist-Frontend/src/views/ProductListView.vue index f8a5a635..e1304193 100644 --- a/JY-Artist-Frontend/src/views/ProductListView.vue +++ b/JY-Artist-Frontend/src/views/ProductListView.vue @@ -1045,8 +1045,6 @@ onUnmounted(() => { top: 0; left: 50%; width: min(100%, var(--frontend-page-max-width), calc(100vw - 48px)); - border-top-left-radius: 32px; - border-top-right-radius: 32px; transform: translateX(-50%); } } diff --git a/JY-Artist-Frontend/src/views/VipCenterView.vue b/JY-Artist-Frontend/src/views/VipCenterView.vue index 56c3fcd8..17ee26a4 100644 --- a/JY-Artist-Frontend/src/views/VipCenterView.vue +++ b/JY-Artist-Frontend/src/views/VipCenterView.vue @@ -945,11 +945,6 @@ onMounted(loadData) } @media (min-width: 768px) { - .vip-topbar { - border-top-left-radius: 32px; - border-top-right-radius: 32px; - } - .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } diff --git a/JY-Artist-Frontend/src/views/web-theme-governance.test.ts b/JY-Artist-Frontend/src/views/web-theme-governance.test.ts index 25f76de1..59e184a1 100644 --- a/JY-Artist-Frontend/src/views/web-theme-governance.test.ts +++ b/JY-Artist-Frontend/src/views/web-theme-governance.test.ts @@ -48,13 +48,13 @@ describe('web theme governance', () => { expect(systemMessages).not.toMatch(/--theme-gradient:\s*linear-gradient\([^;]*#[0-9a-fA-F]{3,8}/) }) - it('keeps the web customer surface in a centered phone shell on desktop', () => { + it('keeps the web customer surface in a centered desktop shell', () => { const app = readSource('App.vue') const globalStyle = readSource('style.css') expect(app).toContain('jayu-cloud-phone-frame') expect(app).toContain('jayu-cloud-phone-frame--hidden-nav') - expect(globalStyle).toMatch(/--frontend-page-max-width:\s*430px/) + expect(globalStyle).toMatch(/--frontend-page-max-width:\s*520px/) expect(globalStyle).toContain('--theme-neutral: #4A443F;') expect(globalStyle).toContain('--theme-tertiary: #FDFBF9;') expect(globalStyle).toContain('.jayu-cloud-phone-frame')