refactor(build): 移除 setup-extend 插件并更新依赖项
- 移除 createSetupExtend 插件及其相关配置 - 更新 Vue 版本从 3.5.13 到 3.5.25 - 更新 Element Plus 版本从 2.12.0 到 2.14.1 - 添加 @vue/shared 依赖 - 移除 @vue/compiler-sfc 开发依赖 - 移除 unplugin-vue-setup-extend-plus 依赖 - 更新 @babel 相关依赖版本 - 移除 @esbuild 相关可选依赖 - 更新 chokidar 版本从 3.6.0 到 5.0.0 - 移除部分已废弃的依赖项
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
@use 'sass:color';
|
||||
@import './variables.module.scss';
|
||||
|
||||
// Element Plus风格的颜色按钮样式
|
||||
@@ -22,14 +23,14 @@
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: lighten($color, 10%);
|
||||
border-color: lighten($color, 10%);
|
||||
background-color: color.adjust($color, $lightness: 10%);
|
||||
border-color: color.adjust($color, $lightness: 10%);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: darken($color, 5%);
|
||||
border-color: darken($color, 5%);
|
||||
background-color: color.adjust($color, $lightness: -5%);
|
||||
border-color: color.adjust($color, $lightness: -5%);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
@@ -166,7 +166,7 @@ export default {
|
||||
height: 200px !important;
|
||||
width: 740px;
|
||||
|
||||
/deep/ .el-table .cell {
|
||||
:deep(.el-table .cell) {
|
||||
font-size: 10px !important;
|
||||
}
|
||||
.printView_header {
|
||||
|
||||
@@ -230,7 +230,7 @@ export default {
|
||||
height: 500px !important;
|
||||
width: 680px;
|
||||
|
||||
/deep/ .el-table .cell {
|
||||
:deep(.el-table .cell) {
|
||||
font-size: 10px !important;
|
||||
}
|
||||
.printView_header {
|
||||
|
||||
@@ -174,7 +174,7 @@ export default {
|
||||
height: 200px !important;
|
||||
width: 680px;
|
||||
|
||||
/deep/ .el-table .cell {
|
||||
:deep(.el-table .cell) {
|
||||
font-size: 10px !important;
|
||||
}
|
||||
.printView_header {
|
||||
|
||||
@@ -675,7 +675,7 @@ getList();
|
||||
}
|
||||
|
||||
/* 表格样式调整,移除默认的最大宽度限制 */
|
||||
.table-scroll-container >>> .el-table {
|
||||
.table-scroll-container { :deep(.el-table) {
|
||||
min-width: 100%;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
@@ -1762,12 +1762,12 @@ defineExpose({
|
||||
|
||||
/* 表格样式 */
|
||||
.el-table {
|
||||
::v-deep(.cancelled-row) {
|
||||
:deep(.cancelled-row) {
|
||||
background-color: #f5f5f5;
|
||||
color: #999;
|
||||
text-decoration: line-through;
|
||||
|
||||
::v-deep(.cell) {
|
||||
:deep(.cell) {
|
||||
opacity: 0.6;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1588,7 +1588,7 @@ function validate() {
|
||||
}
|
||||
|
||||
:deep(.el-table--border th),
|
||||
::v-deep .el-table--border th.gutter:last-of-type {
|
||||
:deep(.el-table--border th.gutter:last-of-type {
|
||||
border-color: #dddde0;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user