新版前端UI,预发布2.6.4版本。 (#1735)

* fix: 修改 layout 中相关 emit 和 重复声明的 theme ,采用最新的vue api

* fix:修改 eslintrc 的配置文件,删除大多数无用配置

* fix: 修复 layout 切换手机样式模糊层的 bug

* feature: 重构 layout , 添加暗黑模式 , 删除侧边栏颜色

* fix:细节调整,activeColor摘除。

* feature:右侧滚动模式调整

* feature:无用代码剔除

* fix: 修复暗黑模式相关细节

* fix: custome config layout

* feature:样式细节调整

* fix: 增加前端样式配置文件

* feature:调整基础配置,增加表格边框

* feature:buttomInfo取消底色,a标签更改为活跃色

* feature:调整阴影颜色和配置同步

* feature:版本调整2.6.3==>2.6.4

---------

Co-authored-by: bypanghu <bypanghu@163.com>
This commit is contained in:
PiexlMax(奇淼
2024-05-09 21:35:39 +08:00
committed by GitHub
parent 9d58390e11
commit df1d68a724
60 changed files with 2414 additions and 2344 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div id="app">
<div id="app" class="bg-gray-50 text-slate-700 dark:text-slate-500 dark:bg-slate-800">
<el-config-provider :locale="zhCn">
<router-view />
</el-config-provider>
@@ -10,19 +10,17 @@
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
// element 2.3.8之前使用下面的语句
// import zhCn from 'element-plus/lib/locale/lang/zh-cn'
import {useAppStore} from "@/pinia";
useAppStore()
defineOptions({
name: 'App'
})
</script>
<style lang="scss">
@tailwind base;
@tailwind components;
@tailwind utilities;
// 引入初始化样式
#app {
background: #eee;
height: 100vh;
overflow: hidden;
font-weight: 400 !important;
@@ -30,4 +28,16 @@ defineOptions({
.el-button{
font-weight: 400 !important;
}
.gva-body-h{
min-height: calc(100% - 3rem);
}
.gva-container{
height: calc(100% - 2.5rem);
}
.gva-container2{
height: calc(100% - 4.5rem);
}
</style>