style: 优化2.1样式

This commit is contained in:
chenchun
2025-08-05 17:19:03 +08:00
parent 6f69f45ddc
commit f47d8c8ce3
2 changed files with 5 additions and 25 deletions

View File

@@ -36,4 +36,8 @@ html.dark {
--w-e-toolbar-bg-color: #0E131D !important; --w-e-toolbar-bg-color: #0E131D !important;
--w-e-toolbar-color: #fff !important; --w-e-toolbar-color: #fff !important;
--w-e-textarea-bg-color: #0E131D !important; --w-e-textarea-bg-color: #0E131D !important;
}
.el-main {
overflow: hidden;
} }

View File

@@ -43,7 +43,7 @@ margin: 10px auto;">
:isPublish="i.isDisableCreateDiscuss"/> :isPublish="i.isDisableCreateDiscuss"/>
</el-col> </el-col>
<div ref="scrollableDiv" class="scrollable-div" v-infinite-scroll="loadDiscuss" style="height: 2500px;width: 100%; overflow-y: auto;" infinite-scroll-distance="10"> <div ref="scrollableDiv" class="scrollable-div" v-infinite-scroll="loadDiscuss" style="height: 2500px;width: 100%;" infinite-scroll-distance="10">
<el-col v-if="isDiscussFinished" :span="24" v-for="i in discussList" :key="i.id"> <el-col v-if="isDiscussFinished" :span="24" v-for="i in discussList" :key="i.id">
<img v-if="isIcp" src="@/assets/login.png" style="height: 150px;width: 100%" alt=""/> <img v-if="isIcp" src="@/assets/login.png" style="height: 150px;width: 100%" alt=""/>
@@ -535,12 +535,6 @@ const onClickToWeChat = () => {
.right-div .el-col { .right-div .el-col {
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05); /* 添加微妙阴影 */ box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05); /* 添加微妙阴影 */
transition: all 0.3s ease; /* 过渡效果 */
&:hover {
// transform: translateY(-5px); /* 悬停时微抬升 */
// box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* 悬停时增强阴影 */
}
} }
/* 简介卡片样式特别处理 */ /* 简介卡片样式特别处理 */
@@ -732,24 +726,6 @@ const onClickToWeChat = () => {
} }
/* 美化滚动条样式 */
.scrollable-div::-webkit-scrollbar {
width: 6px; /* 稍微加宽 */
}
.scrollable-div::-webkit-scrollbar-track {
background: #f5f5f5;
}
.scrollable-div::-webkit-scrollbar-thumb {
background: linear-gradient(to bottom, #e0e0e0, #bdbdbd); /* 渐变色滚动条 */
border: 2px solid transparent;
background-clip: content-box;
}
.scrollable-div::-webkit-scrollbar-thumb:hover {
background: linear-gradient(to bottom, #bdbdbd, #9e9e9e); /* 悬停时颜色变深 */
}
/* 优化切换按钮 */ /* 优化切换按钮 */
.switch-span { .switch-span {