refactor: 优化阴影效果

This commit is contained in:
wushuo
2026-02-28 05:27:56 +08:00
parent 2e1fc831c7
commit e5ee7b423c
4 changed files with 3 additions and 11 deletions

View File

@@ -79,21 +79,11 @@ import {ref} from "vue";
import {ElMessage} from "element-plus";
import {config} from "@/js/http.js";
const excludeValue = ref('')
const handleClose = (tag) => {
props.exclude.splice(props.exclude.indexOf(tag), 1)
}
const add = ref(false)
const InputRef = ref()
const handleInputConfirm = () => {
if (excludeValue.value) {
props.exclude.push(excludeValue.value)
}
excludeValue.value = ''
}
let importExcludeLoading = ref(false)
let disabledImportExclude = ref(false)

View File

@@ -105,6 +105,7 @@ let props = defineProps(['config'])
.notification-container {
margin-top: 8px;
padding: 0 4px;
}
.notification-card {

View File

@@ -97,6 +97,7 @@ defineExpose({
grid-gap: 5px;
width: 100%;
grid-template-columns: repeat(2, 1fr);
padding: 0 4px;
}
.grid-item {

View File

@@ -37,7 +37,7 @@ html.dark {
/* 优化卡片样式:去除厚重边框,增加柔和阴影 */
.el-card {
border: 1px solid var(--el-border-color-extra-light);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
transition: all 0.3s ease;
}