feat:增加vant组件库

This commit is contained in:
2026-02-12 17:27:14 +08:00
parent 1b8bd5a7e2
commit 8940b3972a
29 changed files with 241 additions and 269 deletions

View File

@@ -1,12 +1,14 @@
<template>
<section class="layout-mobile-home"
:class="{ 'hide-tab-bar': appStore.isShowMobileBack }">
<title-bar />
<van-config-provider :theme="appStore.isDark ? 'dark' : 'light'">
<section class="layout-mobile-home"
:class="{ 'hide-tab-bar': appStore.isShowMobileBack }">
<title-bar />
<router-view />
<router-view />
<tab-bar v-if="!appStore.isShowMobileBack"/>
</section>
<tab-bar v-if="!appStore.isShowMobileBack"/>
</section>
</van-config-provider>
</template>
<script lang="ts" setup>