Files
PC-Light-Forum/css/homepage-other.less
DESKTOP-RQ919RC\Pc 671732d277 feat: 更新组件样式和功能,优化路由链接和用户体验
refactor: 重构组件模板,统一使用相对路径和内部路由

style: 调整CSS样式,修复布局和间距问题

fix: 修复投票和offer组件链接错误问题

chore: 添加新图片资源并更新相关引用路径

perf: 移除调试日志,优化页面加载性能

docs: 更新组件注释和文档说明

test: 更新测试用例以适配新功能

ci: 调整构建配置以支持新资源文件

build: 更新依赖项以兼容新功能
2025-11-03 19:20:55 +08:00

322 lines
9.8 KiB
Plaintext

#homepage-other {
width: 1200px;
margin: 0 auto;
.head-navigation {
margin-bottom: 20px;
.icon {
width: 16px;
height: 16px;
}
.arrows {
width: 7px;
height: 12px;
margin: 0 5px;
}
.text {
padding: 0 5px;
font-size: 14px;
color: #000000;
cursor: pointer;
&:hover {
text-decoration: underline;
}
}
}
.matter {
align-items: flex-start;
.card-user {
width: 320px;
background: -webkit-linear-gradient(270.064445137829deg, rgba(255, 255, 255, 1) 0%, rgba(238, 248, 249, 1) 100%);
background: -moz-linear-gradient(179.935554862171deg, rgba(255, 255, 255, 1) 0%, rgba(238, 248, 249, 1) 100%);
background: linear-gradient(179.935554862171deg, rgba(255, 255, 255, 1) 0%, rgba(238, 248, 249, 1) 100%);
box-sizing: border-box;
border: 1px solid rgba(233, 238, 242, 1);
border-radius: 10px;
flex-direction: column;
padding-top: 39px;
padding-bottom: 40px;
margin-right: 20px;
.avatar {
width: 120px;
height: 120px;
border-radius: 8px;
margin-bottom: 20px;
}
.name-area {
margin-bottom: 40px;
display: flex;
flex-direction: column;
align-items: center;
.username {
font-size: 15px;
color: #333;
margin-bottom: 12px;
}
.uid {
color: #7f7f7f;
font-size: 13px;
.icon {
width: 14px;
height: 14px;
margin-left: 9px;
cursor: pointer;
}
}
}
.medal-area {
margin: 0 22px 36px 30px;
align-self: self-start;
.title {
font-size: 14px;
color: #7f7f7f;
margin-bottom: 13px;
}
.list {
flex-flow: wrap;
.item {
height: 30px;
max-width: 30px;
margin-right: 8px;
margin-bottom: 8px;
}
}
}
.btn-area {
.item {
width: 200px;
height: 40px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(235, 235, 235, 1);
border-radius: 8px;
font-size: 15px;
color: #555555;
cursor: pointer;
&:not(:last-of-type) {
margin-bottom: 15px;
}
&.msg {
background-color: rgba(80, 227, 194, 1);
border: 1px solid rgba(80, 227, 194, 1);
color: #000000;
}
}
}
}
.matter-content {
.message-box {
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(233, 238, 242, 1);
border-radius: 10px;
padding-left: 95px;
padding-right: 40px;
padding-bottom: 31px;
margin-bottom: 20px;
.header {
border-bottom: 1px dotted #d7d7d7;
padding-top: 46px;
padding-bottom: 19px;
position: relative;
.avatar {
width: 40px;
height: 40px;
border-radius: 50%;
position: absolute;
top: 40px;
left: -55px;
}
.username {
font-size: 14px;
color: #333333;
}
.icon {
height: 20px;
margin-left: 8px;
}
}
.info-list {
flex-flow: wrap;
padding-top: 20px;
border-bottom: 1px dotted #d7d7d7;
.item {
width: 50%;
margin-bottom: 15px;
.label {
font-size: 14px;
color: #7f7f7f;
width: 87px;
}
.value {
font-size: 14px;
color: #000000;
}
.status {
color: #555555;
font-size: 13px;
padding: 0 6px;
height: 20px;
line-height: 20px;
background-color: rgba(240, 241, 236, 1);
border-radius: 23px;
margin-left: 10px;
&.blue {
color: #ffffff;
background-color: rgba(4, 176, 213, 1);
}
}
}
}
.stats {
padding-top: 20px;
padding-bottom: 21px;
font-size: 14px;
.item {
.text {
color: #7f7f7f;
margin-right: 5px;
}
.num {
font-family: "Arial-BoldMT", "Arial Bold", "Arial", sans-serif;
font-weight: 700;
color: #50e3c2;
}
}
.line {
color: #d7d7d7;
margin: 0 14px;
}
}
.tags {
flex-wrap: wrap;
.item {
padding: 0 10px;
font-size: 14px;
color: #333333;
height: 24px;
background-color: rgba(246, 246, 246, 1);
border: 1px solid rgba(240, 241, 236, 1);
border-radius: 5px;
margin-right: 20px;
margin-bottom: 10px;
cursor: pointer;
.icon {
height: 13px;
margin-right: 7px;
}
}
}
}
.list-area {
width: 860px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(233, 238, 242, 1);
border-radius: 10px;
padding-left: 95px;
padding-right: 40px;
.classify {
padding-top: 39px;
padding-bottom: 23px;
.item {
width: 50px;
height: 32px;
line-height: 32px;
text-align: center;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(242, 242, 242, 1);
border-radius: 12px;
color: #333333;
cursor: pointer;
font-size: 15px;
&.pitch {
background-color: rgba(211, 81, 16, 1);
color: #ffffff;
}
&:not(:last-child) {
margin-right: 10px;
}
}
}
.issue-data {
color: #7f7f7f;
font-size: 14px;
margin-bottom: 20px;
.num {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
color: #000000;
margin: 0 5px;
}
}
.list-box {
.item-box {
margin-bottom: 20px;
}
}
.empty {
width: 725px;
height: 360px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(233, 238, 242, 1);
border-radius: 10px;
flex-direction: column;
margin-bottom: 50px;
.empty-icon {
width: 80px;
height: 94px;
}
.empty-text {
font-size: 14px;
color: #7f7f7f;
margin-top: 10px;
}
}
.load-more {
padding: 20px 0 40px;
color: #7f7f7f;
font-size: 14px;
}
}
}
}
}