Merge branch 'feature/voice_send'

This commit is contained in:
Cai
2025-10-19 20:30:51 +08:00
15 changed files with 674 additions and 219 deletions

View File

@@ -50,6 +50,7 @@ body {
.dashboard {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.dashboard-title {
@@ -63,9 +64,13 @@ body {
/* 课程卡片容器 */
.course-cards {
display: flex;
flex-wrap: wrap;
flex-wrap: nowrap;
gap: 20px;
justify-content: center;
justify-content: flex-start;
padding: 10px 0;
overflow: hidden;
position: relative;
}
/* 课程卡片 */

View File

@@ -0,0 +1,81 @@
/* 页眉导航栏 基础样式 */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #ffffff;
padding: 10px 20px;
border-bottom: 1px solid #eee;
margin: 0;
}
/* 导航栏 Logo 样式 */
.navbar .logo h1 {
font-size: 20px;
font-weight: bold;
color: #1f2937;
margin: 0;
}
/* 导航链接样式 */
.navbar-links a {
color: #4b5563;
text-decoration: none;
margin: 0 15px;
font-size: 18px;
transition: color 0.3s;
}
.navbar-links a:hover {
color: #2575fc;
}
/* 头像容器样式 */
.navbar .avatar {
margin-left: 0;
}
.navbar .avatar img {
width: 32px;
height: 32px;
border-radius: 50%;
cursor: pointer;
}
/* 下拉浮框 基础定位 */
.dropdown {
position: relative;
display: inline-block;
}
/* 下拉浮框 内容样式(默认隐藏) */
.dropdown-content {
display: none;
position: absolute;
right: 0;
background-color: white;
min-width: 160px;
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
border-radius: 6px;
z-index: 1;
padding: 8px 0;
font-size: 14px;
}
/* 下拉浮框 链接样式 */
.dropdown-content a {
color: #4b5563;
text-decoration: none;
padding: 8px 12px;
display: block;
transition: background-color 0.3s;
}
.dropdown-content a:hover {
background-color: #f3f4f6;
}
/* 下拉浮框 hover 显示 */
.dropdown:hover .dropdown-content {
display: block;
}