mirror of
https://github.com/wushuo894/ani-rss.git
synced 2026-03-13 09:20:23 +00:00
refactor: 优化阴影效果
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -105,6 +105,7 @@ let props = defineProps(['config'])
|
||||
|
||||
.notification-container {
|
||||
margin-top: 8px;
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
.notification-card {
|
||||
|
||||
@@ -97,6 +97,7 @@ defineExpose({
|
||||
grid-gap: 5px;
|
||||
width: 100%;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
.grid-item {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user