feat(app): 更新应用名称和描述为豐和拍卖会
This commit is contained in:
parent
d5dac69760
commit
e2b4805b55
24
app/app.vue
24
app/app.vue
@ -1,10 +1,14 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { ConfigProviderTheme } from 'vant'
|
import type { ConfigProviderTheme } from 'vant'
|
||||||
import useKeepalive from '~/composables/keepalive'
|
import useKeepalive from '~/composables/keepalive'
|
||||||
import { appName } from '~/constants'
|
import { appName, appDescription } from '~/constants'
|
||||||
|
import { useI18n } from 'vue-i18n'
|
||||||
|
|
||||||
useHead({
|
useHead({
|
||||||
title: appName,
|
title: useI18n().t('appSetting.appName'),
|
||||||
|
meta: [
|
||||||
|
{ name: 'description', content: useI18n().t('appSetting.appDescription') },
|
||||||
|
],
|
||||||
})
|
})
|
||||||
|
|
||||||
const color = useColorMode()
|
const color = useColorMode()
|
||||||
@ -20,9 +24,23 @@ const keepAliveRouteNames = computed(() => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<VanConfigProvider :theme="mode">
|
<VanConfigProvider :theme="mode">
|
||||||
<NuxtLoadingIndicator color="repeating-linear-gradient(to right,var(--c-primary) 0%,var(--c-primary-active) 100%)" />
|
<NuxtLoadingIndicator
|
||||||
|
color="repeating-linear-gradient(to right,var(--c-primary) 0%,var(--c-primary-active) 100%)" />
|
||||||
<NuxtLayout>
|
<NuxtLayout>
|
||||||
<NuxtPage :keepalive="{ include: keepAliveRouteNames }" />
|
<NuxtPage :keepalive="{ include: keepAliveRouteNames }" />
|
||||||
</NuxtLayout>
|
</NuxtLayout>
|
||||||
</VanConfigProvider>
|
</VanConfigProvider>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.page-enter-active,
|
||||||
|
.page-leave-active {
|
||||||
|
transition: all 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-enter-from,
|
||||||
|
.page-leave-to {
|
||||||
|
opacity: 0;
|
||||||
|
filter: blur(1rem);
|
||||||
|
}
|
||||||
|
</style>
|
@ -1,2 +1,2 @@
|
|||||||
export const appName = 'nuxt-vant-mobile'
|
export const appName = '豐和'
|
||||||
export const appDescription = 'Nuxt H5 Starter Template'
|
export const appDescription = '泰丰国际京都拍卖会'
|
||||||
|
Loading…
Reference in New Issue
Block a user