feat: 更新组件样式和功能,优化路由链接和用户体验
refactor: 重构组件模板,统一使用相对路径和内部路由 style: 调整CSS样式,修复布局和间距问题 fix: 修复投票和offer组件链接错误问题 chore: 添加新图片资源并更新相关引用路径 perf: 移除调试日志,优化页面加载性能 docs: 更新组件注释和文档说明 test: 更新测试用例以适配新功能 ci: 调整构建配置以支持新资源文件 build: 更新依赖项以兼容新功能
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: unset;
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -72,6 +73,11 @@ body {
|
||||
.item-head {
|
||||
margin-bottom: 14px;
|
||||
position: relative;
|
||||
|
||||
.user-box {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
@@ -220,6 +226,7 @@ body {
|
||||
color: #555555;
|
||||
white-space: pre-wrap;
|
||||
margin-bottom: 15px;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -278,6 +285,7 @@ body {
|
||||
.message {
|
||||
color: #555555;
|
||||
margin-bottom: 15px;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -296,6 +304,7 @@ body {
|
||||
font-size: 14px;
|
||||
color: #555555;
|
||||
margin-bottom: 20px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.total {
|
||||
@@ -401,6 +410,7 @@ body {
|
||||
font-size: 14px;
|
||||
color: #555555;
|
||||
margin-bottom: 15px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.info {
|
||||
@@ -434,6 +444,7 @@ body {
|
||||
margin: 4px 20px 20px;
|
||||
overflow: hidden;
|
||||
max-height: 138px;
|
||||
display: block;
|
||||
|
||||
&.voted {
|
||||
max-height: 178px;
|
||||
@@ -545,6 +556,7 @@ body {
|
||||
margin-top: 13px;
|
||||
font-size: 14px;
|
||||
color: #555555;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1529,7 +1541,7 @@ body {
|
||||
|
||||
&.box-essence {
|
||||
.slideshow-content {
|
||||
margin-left: -263px;
|
||||
margin-left: -266px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1620,6 +1632,7 @@ body {
|
||||
}
|
||||
|
||||
.head-top {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 30px;
|
||||
|
||||
.logo {
|
||||
|
||||
Reference in New Issue
Block a user