mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-21 04:46:26 +00:00
feat: 初始化前端项目基础结构
- 添加项目配置文件(tsconfig, eslint, prettier等) - 实现基础路由和页面布局 - 添加全局状态管理和API请求封装 - 集成UI组件库和主题系统 - 添加文档网站和示例页面 - 配置CI/CD和工作流
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* @Author: weisheng
|
||||
* @Date: 2025-06-23 22:23:05
|
||||
* @LastEditTime: 2025-06-27 13:04:54
|
||||
* @LastEditors: weisheng
|
||||
* @Description:
|
||||
* @FilePath: /wot-starter/pages.config.ts
|
||||
* 记得注释
|
||||
*/
|
||||
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
|
||||
|
||||
export default defineUniPages({
|
||||
pages: [],
|
||||
globalStyle: {
|
||||
// 导航栏配置
|
||||
navigationBarBackgroundColor: '@navBgColor',
|
||||
navigationBarTextStyle: '@navTxtStyle',
|
||||
navigationBarTitleText: 'Wot Starter',
|
||||
|
||||
// 页面背景配置
|
||||
backgroundColor: '@bgColor',
|
||||
backgroundTextStyle: '@bgTxtStyle',
|
||||
backgroundColorTop: '@bgColorTop',
|
||||
backgroundColorBottom: '@bgColorBottom',
|
||||
|
||||
// 下拉刷新配置
|
||||
enablePullDownRefresh: false,
|
||||
onReachBottomDistance: 50,
|
||||
|
||||
// 动画配置
|
||||
animationType: 'pop-in',
|
||||
animationDuration: 300,
|
||||
},
|
||||
tabBar: {
|
||||
custom: true,
|
||||
// #ifdef MP-ALIPAY
|
||||
customize: true,
|
||||
// 暂时不生效。4.71.2025061206-alpha已修复:https://uniapp.dcloud.net.cn/release-note-alpha.html#_4-71-2025061206-alpha,我们等正式版发布后更新。
|
||||
overlay: true,
|
||||
// #endif
|
||||
height: '0',
|
||||
color: '@tabColor',
|
||||
selectedColor: '@tabSelectedColor',
|
||||
backgroundColor: '@tabBgColor',
|
||||
borderStyle: '@tabBorderStyle',
|
||||
list: [{
|
||||
pagePath: 'pages/index/index',
|
||||
}, {
|
||||
pagePath: 'pages/work/index',
|
||||
}, {
|
||||
pagePath: 'pages/mine/index',
|
||||
}],
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user