fix: 修复管理端前端 lint 与构建问题
- 收敛 easyflow-ui-admin 的 lint、格式和类型问题 - 修正 demo 页面与管理端前端构建失败点 - 验证 pnpm lint 与 pnpm build 均已通过
This commit is contained in:
@@ -171,9 +171,9 @@ const handleDropdownClick = (button) => {
|
||||
<style scoped>
|
||||
.custom-header {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@@ -192,8 +192,8 @@ const handleDropdownClick = (button) => {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.search-middle {
|
||||
@@ -208,20 +208,20 @@ const handleDropdownClick = (button) => {
|
||||
|
||||
.search-input :deep(.el-input__wrapper) {
|
||||
min-height: 40px;
|
||||
background: hsl(var(--surface-contrast-soft) / 0.92);
|
||||
background: hsl(var(--surface-contrast-soft) / 92%);
|
||||
border-radius: 14px;
|
||||
box-shadow:
|
||||
inset 0 1px 0 hsl(var(--glass-border) / 0.44),
|
||||
0 10px 24px -24px hsl(var(--foreground) / 0.24);
|
||||
inset 0 1px 0 hsl(var(--glass-border) / 44%),
|
||||
0 10px 24px -24px hsl(var(--foreground) / 24%);
|
||||
}
|
||||
|
||||
.search-input :deep(.el-input__wrapper:hover),
|
||||
.search-input :deep(.el-input__wrapper.is-focus) {
|
||||
background: hsl(var(--surface-subtle) / 0.98);
|
||||
background: hsl(var(--surface-subtle) / 98%);
|
||||
box-shadow:
|
||||
inset 0 1px 0 hsl(var(--glass-border) / 0.56),
|
||||
0 0 0 3px hsl(var(--primary) / 0.08),
|
||||
0 12px 24px -24px hsl(var(--foreground) / 0.24);
|
||||
inset 0 1px 0 hsl(var(--glass-border) / 56%),
|
||||
0 0 0 3px hsl(var(--primary) / 8%),
|
||||
0 12px 24px -24px hsl(var(--foreground) / 24%);
|
||||
}
|
||||
|
||||
.search-prefix {
|
||||
@@ -231,8 +231,8 @@ const handleDropdownClick = (button) => {
|
||||
.header-right {
|
||||
flex-shrink: 0;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
gap: 12px;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.header-right :deep(.el-button),
|
||||
@@ -241,24 +241,24 @@ const handleDropdownClick = (button) => {
|
||||
height: 32px;
|
||||
min-height: 32px;
|
||||
padding-inline: 18px;
|
||||
border-radius: 10px;
|
||||
border-color: transparent;
|
||||
border-radius: 10px;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.header-right :deep(.el-button:not(.el-button--primary)),
|
||||
.search-group :deep(.el-button:not(.el-button--primary)) {
|
||||
color: hsl(var(--text-strong));
|
||||
background: hsl(var(--surface-contrast-soft) / 0.86);
|
||||
background: hsl(var(--surface-contrast-soft) / 86%);
|
||||
border-color: transparent;
|
||||
box-shadow:
|
||||
inset 0 1px 0 hsl(var(--glass-border) / 0.34),
|
||||
0 10px 24px -24px hsl(var(--foreground) / 0.2);
|
||||
inset 0 1px 0 hsl(var(--glass-border) / 34%),
|
||||
0 10px 24px -24px hsl(var(--foreground) / 20%);
|
||||
}
|
||||
|
||||
.header-right :deep(.el-button--primary),
|
||||
.search-group :deep(.el-button--primary) {
|
||||
box-shadow: 0 16px 28px -22px hsl(var(--primary) / 0.48);
|
||||
box-shadow: 0 16px 28px -22px hsl(var(--primary) / 48%);
|
||||
}
|
||||
|
||||
.dropdown-label {
|
||||
@@ -268,8 +268,8 @@ const handleDropdownClick = (button) => {
|
||||
@media (max-width: 768px) {
|
||||
.custom-header {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 12px;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.header-right {
|
||||
|
||||
Reference in New Issue
Block a user