refactor(tabbar): 将 tabbar 组件从 components 移动到 layouts 目录
重构 tabbar 组件结构,将其从 components 目录迁移至 layouts 目录以更符合项目结构规范 移除未使用的 midButton 配置
This commit is contained in:
parent
4b77ca6c13
commit
2a71d02ab8
@ -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": [
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user