feat: 更新音乐播放器界面和功能
- 调整播放器底部样式,优化进度条和操作按钮布局 - 修复音量控制拖动功能 - 更新音乐数据源,增加更多歌曲分类和曲目 - 优化图片资源路径和命名规范 - 添加新的SVG图标和背景元素 - 修复播放进度条选择器错误 - 调整标签样式和交互效果
This commit is contained in:
@@ -256,7 +256,7 @@
|
||||
.container .container-box .list-box .list-fill .fill-item {
|
||||
width: 33px;
|
||||
height: 23px;
|
||||
border-radius: 100px;
|
||||
border-radius: 12px;
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
box-shadow: 0px 0 0 3px rgba(255, 255, 255, 0.223529);
|
||||
@@ -300,7 +300,7 @@
|
||||
.tag-item {
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
border-radius: 30px;
|
||||
border-radius: 12px;
|
||||
background: #d5e7f7;
|
||||
position: absolute;
|
||||
font-size: 20px !important;
|
||||
@@ -310,17 +310,17 @@
|
||||
cursor: pointer;
|
||||
box-shadow: 0px 0 0 3px rgba(255, 255, 255, 0.223529);
|
||||
opacity: 1 !important;
|
||||
transition: background 0.3s, color 0.3s, z-index 0.3s, font-weight 0.3s;
|
||||
}
|
||||
.tag-item:hover {
|
||||
font-weight: 650;
|
||||
color: #583a05 !important;
|
||||
background-color: #f19a04 !important;
|
||||
background: #f19a04 !important;
|
||||
z-index: 100 !important;
|
||||
}
|
||||
.tag-item.item2 {
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
border-radius: 25px;
|
||||
color: #1c3e5e;
|
||||
padding: 0 20px;
|
||||
font-size: 18px !important;
|
||||
@@ -329,7 +329,6 @@
|
||||
.tag-item.item3 {
|
||||
height: 47px;
|
||||
line-height: 47px;
|
||||
border-radius: 25px;
|
||||
color: #1c3e5e;
|
||||
padding: 0 16px;
|
||||
font-size: 16px !important;
|
||||
@@ -338,7 +337,6 @@
|
||||
.tag-item.item4 {
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
border-radius: 30px;
|
||||
color: #1c3e5e;
|
||||
padding: 0 10px;
|
||||
font-size: 14px !important;
|
||||
@@ -350,26 +348,31 @@
|
||||
}
|
||||
.bottom-play {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
bottom: 10px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
border-radius: 12px;
|
||||
width: 100%;
|
||||
height: 76px;
|
||||
background-color: #353535;
|
||||
padding: 12px 0;
|
||||
background-color: #000;
|
||||
z-index: 1000;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
animation: fadeInUp 0.3s ease forwards;
|
||||
min-width: 1200px;
|
||||
width: 800px;
|
||||
}
|
||||
@keyframes fadeInUp {
|
||||
0% {
|
||||
bottom: -76px;
|
||||
}
|
||||
100% {
|
||||
bottom: 0;
|
||||
bottom: 10px;
|
||||
}
|
||||
}
|
||||
.bottom-play .bottom-left {
|
||||
padding-left: 12px;
|
||||
height: 24px;
|
||||
position: relative;
|
||||
}
|
||||
.bottom-play .bottom-left .img {
|
||||
width: 56px;
|
||||
@@ -379,18 +382,19 @@
|
||||
.bottom-play .bottom-left .name {
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 6px;
|
||||
max-width: 240px;
|
||||
max-width: 300px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
bottom: 0;
|
||||
}
|
||||
.bottom-play .bottom-middle {
|
||||
flex-direction: column;
|
||||
}
|
||||
.bottom-play .bottom-middle .operate {
|
||||
margin-bottom: 10px;
|
||||
height: 24px;
|
||||
}
|
||||
.bottom-play .bottom-middle .operate .cut {
|
||||
width: 14px;
|
||||
@@ -451,6 +455,7 @@
|
||||
.bottom-play .bottom-right {
|
||||
justify-content: flex-end;
|
||||
padding-right: 12px;
|
||||
height: 24px;
|
||||
}
|
||||
.bottom-play .bottom-right .item {
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user