fix: remove navy from the customer app chrome and keep person forms fresh
اپ۲: رنگ سرمهای از پسزمینهی بالای برنامه و رنگ نوار مرورگر حذف شد؛ همهجا از رنگ صفحهی اصلی استفاده میشود. پنل: فرم افزودن شخص با هر بار جابهجایی نوع شخص خالی باز میشود و اطلاعات نیمهکارهٔ قبلی دیگر نمایش داده نمیشود. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Haiku 5.5
parent
890f5a9725
commit
1c4571a68d
@@ -46,9 +46,9 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<KeepAlive>
|
||||
<component :is="FORMS[activeTab]" v-if="kinds.some((k) => k.key === activeTab)" :key="activeTab" />
|
||||
</KeepAlive>
|
||||
<!-- No KeepAlive here: it kept each kind's half-filled form alive, so a new
|
||||
person opened on the page showed the previous one's data. -->
|
||||
<component :is="FORMS[activeTab]" v-if="kinds.some((k) => k.key === activeTab)" :key="activeTab" />
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<meta name="theme-color" content="#1C2D56" data-light="#1C2D56" />
|
||||
<meta name="theme-color" content="#FFFFFF" data-light="#FFFFFF" />
|
||||
<meta name="background-color" content="#1C2D56" />
|
||||
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
|
||||
<!--
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</transition>
|
||||
</router-view>
|
||||
<Navigation />
|
||||
<div class="bg-primary top-[-2rem] fixed h-[2rem] w-full z-10" />
|
||||
<div class="top-[-2rem] fixed h-[2rem] w-full z-10" style="background: var(--c-page, #fff)" />
|
||||
</section>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -38,8 +38,8 @@ export default defineConfig({
|
||||
name: brand.appTitle,
|
||||
short_name: brand.nameEn,
|
||||
description: brand.appTitle,
|
||||
theme_color: lightHex.primary,
|
||||
background_color: lightHex.primary,
|
||||
theme_color: lightHex.canvas,
|
||||
background_color: lightHex.canvas,
|
||||
start_url: '/',
|
||||
display: 'standalone',
|
||||
icons: [
|
||||
|
||||
Reference in New Issue
Block a user