fix: 将box-shadow替换为filter: drop-shadow以统一阴影效果
修改多个CSS/LESS文件中的阴影效果,使用filter: drop-shadow替代box-shadow,保持样式一致性。同时修复item-head.js中的API端点路径错误。
This commit is contained in:
@@ -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,
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user