重构 tabbar 组件结构,将其从 components 目录迁移至 layouts 目录以更符合项目结构规范 移除未使用的 midButton 配置
@@ -1,5 +1,5 @@
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
-import { tabBar } from './src/components/fg-tabbar/tabbarList'
+import { tabBar } from './src/layouts/fg-tabbar/tabbarList'
export default defineUniPages({
globalStyle: {
@@ -8,6 +8,7 @@
</template>
<script lang="ts" setup>
+import FgTabbar from './fg-tabbar.vue'
import type { ConfigProviderThemeVars } from 'wot-design-uni'
const themeVars: ConfigProviderThemeVars = {
@@ -40,11 +40,7 @@
"icon": "i-carbon-code",
"iconType": "unocss"
}
- ],
- "midButton": {
- "iconPath": "/static/logo.svg",
- "text": "发布"
- }
+ ]
},
"pages": [
{