- init unibest v4.4.0 base template - tabbar: 4 tabs (打卡/进度/测算/持仓) with carbon icons - pages/checkin: daily checklist, streak counter, monthly rate - pages/progress: asset snapshot, progress bar to 71万 target - pages/calculator, holdings: placeholder pages (stage 2) - store/checkin.ts + store/progress.ts with pinia persist - vite: host 0.0.0.0 for WSL2→Windows browser access Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
23 lines
678 B
TypeScript
23 lines
678 B
TypeScript
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
|
|
import { tabBar } from './src/tabbar/config'
|
|
|
|
export default defineUniPages({
|
|
globalStyle: {
|
|
navigationStyle: 'default',
|
|
navigationBarTitleText: 'unibest',
|
|
navigationBarBackgroundColor: '#f8f8f8',
|
|
navigationBarTextStyle: 'black',
|
|
backgroundColor: '#FFFFFF',
|
|
},
|
|
easycom: {
|
|
autoscan: true,
|
|
custom: {
|
|
'^fg-(.*)': '@/components/fg-$1/fg-$1.vue',
|
|
'^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)':
|
|
'z-paging/components/z-paging$1/z-paging$1.vue',
|
|
},
|
|
},
|
|
// tabbar 的配置统一在 “./src/tabbar/config.ts” 文件中
|
|
tabBar: tabBar as any,
|
|
})
|