style: 优化2.1样式
This commit is contained in:
@@ -36,4 +36,8 @@ html.dark {
|
||||
--w-e-toolbar-bg-color: #0E131D !important;
|
||||
--w-e-toolbar-color: #fff !important;
|
||||
--w-e-textarea-bg-color: #0E131D !important;
|
||||
}
|
||||
|
||||
.el-main {
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -43,7 +43,7 @@ margin: 10px auto;">
|
||||
:isPublish="i.isDisableCreateDiscuss"/>
|
||||
</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">
|
||||
<img v-if="isIcp" src="@/assets/login.png" style="height: 150px;width: 100%" alt=""/>
|
||||
@@ -535,12 +535,6 @@ const onClickToWeChat = () => {
|
||||
.right-div .el-col {
|
||||
margin-bottom: 0.5rem;
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user