fix: 将box-shadow替换为filter: drop-shadow以统一阴影效果

修改多个CSS/LESS文件中的阴影效果,使用filter: drop-shadow替代box-shadow,保持样式一致性。同时修复item-head.js中的API端点路径错误。
This commit is contained in:
A1300399510
2025-11-14 01:12:50 +08:00
parent aea14650ff
commit ef98b2d1c4
5 changed files with 5 additions and 5 deletions

View File

@@ -138,7 +138,7 @@ export const itemHead = defineComponent({
const cutAnonymousState = (state) => { const cutAnonymousState = (state) => {
const target = item.value; const target = item.value;
ajax("/v2/api/forum/postTopicAnonymousStatus", { ajax("/v2/api/forum/setTopicAnonymousStatus", {
token: target.token, token: target.token,
anonymous: state, anonymous: state,
}) })

View File

@@ -221,7 +221,7 @@
height: 100px; height: 100px;
background-color: #ffffff; background-color: #ffffff;
border-radius: 6px; border-radius: 6px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.16862745); filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.16862745));
flex-direction: column; flex-direction: column;
display: none; display: none;
} }

View File

@@ -255,7 +255,7 @@
height: 100px; height: 100px;
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
border-radius: 6px; border-radius: 6px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.168627450980392); filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.16862745));
flex-direction: column; flex-direction: column;
display: none; display: none;

View File

@@ -654,7 +654,7 @@ body {
height: 100px; height: 100px;
background-color: #ffffff; background-color: #ffffff;
border-radius: 6px; border-radius: 6px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.16862745); filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.16862745));
flex-direction: column; flex-direction: column;
display: none; display: none;
} }

View File

@@ -787,7 +787,7 @@ body {
height: 100px; height: 100px;
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
border-radius: 6px; border-radius: 6px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.168627450980392); filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.16862745));
flex-direction: column; flex-direction: column;
display: none; display: none;