签入版本

This commit is contained in:
2026-09-11 11:39:07 +08:00
commit c381201858
928 changed files with 116443 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
export const animates = [
{ value: 'zoom-fade', label: '渐变' },
{ value: 'zoom-out', label: '闪现' },
{ value: 'fade-slide', label: '滑动' },
{ value: 'fade', label: '消退' },
{ value: 'fade-bottom', label: '底部消退' },
{ value: 'fade-scale', label: '缩放消退' },
];
+33
View File
@@ -0,0 +1,33 @@
export default {
table: {
apiSetting: {
// 当前页的字段名
pageField: 'pageNo',
// 每页数量字段名
sizeField: 'pageSize',
// 接口返回的数据字段名
listField: 'records',
// 接口返回总页数字段名
totalField: 'pages',
//总数字段名
countField: 'total',
},
//默认分页数量
defaultPageSize: 20,
//可切换每页数量集合
pageSizes: [10, 20, 50, 100, 200],
},
upload: {
//考虑接口规范不同
apiSetting: {
// 集合字段名
infoField: 'data',
// 图片地址字段名
imgField: 'path',
},
//最大上传图片大小
maxSize: 2,
//图片上传类型
fileType: ['image/png', 'image/jpg', 'image/jpeg', 'image/gif', 'image/svg+xml'],
},
};
+34
View File
@@ -0,0 +1,34 @@
// app theme preset color
export const appThemeList: string[] = [
'#165DFF',
'#0960bd',
'#0084f4',
'#009688',
'#536dfe',
'#ff5c93',
'#ee4f12',
'#0096c7',
'#9c27b0',
'#ff9800',
'#FF3D68',
'#00C1D4',
'#71EFA3',
'#1768AC',
'#FB9300',
'#FC5404',
'#FF4848',
'#2C2E43',
'#0A1D37',
'#FF8474',
];
const setting = {
//深色主题
darkTheme: false,
//系统主题色
appTheme: '#165DFF',
//系统内置主题色列表
appThemeList,
};
export default setting;
+64
View File
@@ -0,0 +1,64 @@
const setting = {
//导航模式 vertical 左侧菜单模式 horizontal 顶部菜单模式
navMode: 'vertical',
//导航风格 dark 暗色侧边栏 light 白色侧边栏 header-dark 暗色顶栏
navTheme: 'dark',
//顶部
headerSetting: {
//背景色
bgColor: '#fff',
//固定顶部
fixed: true,
//显示重载按钮
isReload: true,
},
//主体 废弃
bodySetting: {
//固定顶部
fixed: true,
},
//页脚
showFooter: true,
//多标签
multiTabsSetting: {
//背景色
bgColor: '#fff',
//是否显示
show: true,
//固定多标签
fixed: true,
},
//菜单
menuSetting: {
//最小宽度
minMenuWidth: 64,
//菜单宽度
menuWidth: 200,
//固定菜单
fixed: true,
//分割菜单
mixMenu: false,
//折叠
collapsed: false,
//手风琴
uniqueOpened: true,
},
//面包屑
crumbsSetting: {
//是否显示
show: true,
//显示图标
showIcon: false,
},
//菜单权限模式 FIXED 前端固定路由 BACK 动态获取
permissionMode: 'BACK',
//是否开启路由动画
isPageAnimate: true,
//路由动画类型 默认消退
pageAnimateType: 'fade',
//显示项目配置
isProjectSetting: true,
//显示水印
isWaterMark: false,
};
export default setting;