feat(header): 新增头部组件功能与样式优化

- 添加默认头像图片资源
- 扩展监听文件同步配置
- 重构头像展示样式,增加背景和尺寸控制
- 完善签到功能逻辑和样式交互
- 新增头部组件HTML模板和JS实现
- 调整搜索框和历史记录显示逻辑
- 优化页面布局和响应式设计
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-12-01 19:58:21 +08:00
parent f92d4da2e4
commit c63bf6c611
14 changed files with 671 additions and 84 deletions

View File

@@ -198,7 +198,6 @@
* {
color: #04b0d5 !important;
}
}
@@ -221,15 +220,14 @@
display: block;
}
h1 {
h1,
section {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
color: #000000 !important;
font-size: 18px;
line-height: 30px;
}
}
.last-time {
@@ -467,6 +465,23 @@
width: 120px;
height: 120px;
margin-bottom: 18px;
img {
width: 100%;
height: 100%;
}
}
.QRcode {
width: 100px;
height: 100px;
margin-bottom: 4px;
.load {
width: 50px;
height: 50px;
animation: loadingRotate 1s linear infinite;
}
}
.hint {
@@ -904,7 +919,8 @@
cursor: pointer;
}
.answer-discuss .input-box .bottom .operate .item {}
.answer-discuss .input-box .bottom .operate .item {
}
.answer-discuss .input-box .bottom .operate .item .emoji-box {
width: 582px;
@@ -1647,7 +1663,6 @@
.comments-box {
.comments-item {
.comments-header {
.comment-icon,
.like-box {
margin-left: 15px;
@@ -1657,4 +1672,4 @@
}
}
}
}
}