feat: 更新组件样式和功能,优化路由链接和用户体验
refactor: 重构组件模板,统一使用相对路径和内部路由 style: 调整CSS样式,修复布局和间距问题 fix: 修复投票和offer组件链接错误问题 chore: 添加新图片资源并更新相关引用路径 perf: 移除调试日志,优化页面加载性能 docs: 更新组件注释和文档说明 test: 更新测试用例以适配新功能 ci: 调整构建配置以支持新资源文件 build: 更新依赖项以兼容新功能
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: unset;
|
||||
}
|
||||
body {
|
||||
background-color: #eef2f5;
|
||||
@@ -62,6 +63,9 @@ body {
|
||||
margin-bottom: 14px;
|
||||
position: relative;
|
||||
}
|
||||
.item-box .item-head .user-box {
|
||||
cursor: pointer;
|
||||
}
|
||||
.item-box .item-head .avatar {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
@@ -187,6 +191,7 @@ body {
|
||||
color: #555555;
|
||||
white-space: pre-wrap;
|
||||
margin-bottom: 15px;
|
||||
display: block;
|
||||
}
|
||||
.item-box.item-offer {
|
||||
font-size: 14px;
|
||||
@@ -238,6 +243,7 @@ body {
|
||||
.item-box.item-offer .message {
|
||||
color: #555555;
|
||||
margin-bottom: 15px;
|
||||
display: block;
|
||||
}
|
||||
.item-box.item-summary .title {
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
@@ -252,6 +258,7 @@ body {
|
||||
font-size: 14px;
|
||||
color: #555555;
|
||||
margin-bottom: 20px;
|
||||
display: block;
|
||||
}
|
||||
.item-box.item-summary .total {
|
||||
font-size: 14px;
|
||||
@@ -336,6 +343,7 @@ body {
|
||||
font-size: 14px;
|
||||
color: #555555;
|
||||
margin-bottom: 15px;
|
||||
display: block;
|
||||
}
|
||||
.item-box.item-vote .info {
|
||||
font-size: 14px;
|
||||
@@ -364,6 +372,7 @@ body {
|
||||
margin: 4px 20px 20px;
|
||||
overflow: hidden;
|
||||
max-height: 138px;
|
||||
display: block;
|
||||
}
|
||||
.item-box.item-vote .list.voted {
|
||||
max-height: 178px;
|
||||
@@ -457,6 +466,7 @@ body {
|
||||
margin-top: 13px;
|
||||
font-size: 14px;
|
||||
color: #555555;
|
||||
display: block;
|
||||
}
|
||||
.item-box.item-tenement .title {
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
@@ -1282,7 +1292,7 @@ body {
|
||||
transition: all 0.3s;
|
||||
}
|
||||
.posts-box.box-essence .slideshow-content {
|
||||
margin-left: -263px;
|
||||
margin-left: -266px;
|
||||
}
|
||||
.box-newest .slideshow-box .tab-list .tab-item.pitch::before {
|
||||
background: linear-gradient(to right, #6ac83e, #6ad2cb);
|
||||
@@ -1355,6 +1365,7 @@ body {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.head-top {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.head-top .logo {
|
||||
|
||||
Reference in New Issue
Block a user