feat:增加vant组件库
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user