diff --git a/wuye-manager-uniapp/.gitignore b/wuye-manager-uniapp/.gitignore index 1e5219d..9c97877 100644 --- a/wuye-manager-uniapp/.gitignore +++ b/wuye-manager-uniapp/.gitignore @@ -1,5 +1,68 @@ -node_modules/ -unpackage/ -.hbuilderx/ +# 系统缓存文件 .DS_Store +Thumbs.db +*.swp +*.swo + +# 编辑器配置 +.idea/ +.vscode/ +*.iml +*.suo +*.sln .history/ + +# HBuilderX 本地配置 +.hbuilderx/ +.uni-*/ + +# 项目依赖 +node_modules/ +package-lock.json +yarn.lock +pnpm-lock.yaml + +# 证书/密钥(上架用的jks证书千万不能传) +*.jks +*.keystore +*.p12 +*.key +*.pem + +# 编译打包产物 +unpackage/ +dist/ +build/ +output/ + +# 安卓相关 +androidPrivacy.json +*.jks +*.keystore +*.p12 +local.properties + +# iOS相关 +*.mobileprovision +*.pem +*.cer +ios/Pods/ +ios/build/ +ios/DerivedData/ + +# 日志临时文件 +*.log +temp/ +tmp/ +*.tmp + +# 环境配置 +.env.local +.env.development.local +.env.test.local +.env.production.local + +# 其他冗余文件 +npm-debug.log* +yarn-debug.log* +yarn-error.log* diff --git a/wuye-manager-uniapp/components/tabs/tabs.vue b/wuye-manager-uniapp/components/tabs/tabs.vue index 8212097..ba31f93 100644 --- a/wuye-manager-uniapp/components/tabs/tabs.vue +++ b/wuye-manager-uniapp/components/tabs/tabs.vue @@ -1,16 +1,24 @@ @@ -27,6 +35,7 @@ interface TabItem { // Props 类型定义 interface Props { tabslist?: any[] + height?: number showBottomLine?: boolean // 配置:传入字段名 options?: { @@ -39,6 +48,7 @@ interface Props { // 定义 Props const props = withDefaults(defineProps(), { tabslist: () => [], + height: 60, showBottomLine: true, options: () => ({ label: 'name', value: 'value' }), activeValue: null @@ -75,9 +85,12 @@ const handleTabs = (item: TabItem) => {