refactor(组件): 重构链接处理并优化样式结构

- 将硬编码的详情页链接改为通过item.url统一管理
- 将评论区域的div改为可点击的a标签
- 调整图标容器的样式结构,增加定位和尺寸控制
- 修复标签过滤逻辑,避免空值导致的错误
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-11-06 19:19:59 +08:00
parent 3365e5ee0a
commit 5c199bb8fe
7 changed files with 33 additions and 14 deletions

View File

@@ -281,10 +281,17 @@
#appIndex .header-content-box .header-content-right .post-entrance .entrance-bottom .item:hover {
background-color: #e7e7e7;
}
#appIndex .header-content-box .header-content-right .post-entrance .entrance-bottom .item .icon {
#appIndex .header-content-box .header-content-right .post-entrance .entrance-bottom .item .icon-box {
position: relative;
width: 16px;
height: 16px;
margin-right: 6px;
margin-right: 8px;
}
#appIndex .header-content-box .header-content-right .post-entrance .entrance-bottom .item .icon-box .icon {
position: absolute;
width: 38px;
top: -8px;
left: -6px;
}
#appIndex .header-content-box .header-content-right .adv {
width: 240px;

View File

@@ -334,10 +334,18 @@
background-color: #e7e7e7;
}
.icon {
.icon-box {
position: relative;
width: 16px;
height: 16px;
margin-right: 6px;
margin-right: 8px;
.icon {
position: absolute;
width: 38px;
top: -8px;
left: -6px;
}
}
}
}