feat: 更新图片资源并优化播放器样式和布局
- 替换多张图片资源为PNG格式 - 重构底部播放器样式,调整布局和动画效果 - 优化guess页面的UI元素和交互提示 - 修复CSS中的z-index和line-height问题 - 调整音频预加载策略为auto
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
}
|
||||
|
||||
.name {
|
||||
width: min-content;
|
||||
// width: min-content;
|
||||
height: 65px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
@@ -1022,17 +1022,218 @@
|
||||
}
|
||||
}
|
||||
|
||||
// .bottom-play {
|
||||
// position: fixed;
|
||||
// bottom: 0;
|
||||
// left: 0;
|
||||
// width: 100%;
|
||||
// height: 76px;
|
||||
// background-color: #353535;
|
||||
// z-index: 1000;
|
||||
// justify-content: space-between;
|
||||
// animation: fadeInUp 0.3s ease forwards;
|
||||
// min-width: 1200px;
|
||||
|
||||
// @keyframes fadeInUp {
|
||||
// 0% {
|
||||
// bottom: -76px;
|
||||
// }
|
||||
|
||||
// 100% {
|
||||
// bottom: 0;
|
||||
// }
|
||||
// }
|
||||
|
||||
// .bottom-left {
|
||||
// padding-left: 12px;
|
||||
|
||||
// .img {
|
||||
// width: 56px;
|
||||
// height: 56px;
|
||||
// margin-right: 12px;
|
||||
// }
|
||||
|
||||
// .name {
|
||||
// color: #fff;
|
||||
// font-size: 14px;
|
||||
// font-weight: 600;
|
||||
// margin-bottom: 6px;
|
||||
// max-width: 240px;
|
||||
// overflow: hidden;
|
||||
// text-overflow: ellipsis;
|
||||
// white-space: nowrap;
|
||||
// }
|
||||
// }
|
||||
|
||||
// .bottom-middle {
|
||||
// flex-direction: column;
|
||||
|
||||
// .operate {
|
||||
// margin-bottom: 10px;
|
||||
|
||||
// .cut {
|
||||
// width: 14px;
|
||||
// height: 12px;
|
||||
// cursor: pointer;
|
||||
// }
|
||||
|
||||
// .speed {
|
||||
// width: 16px;
|
||||
// height: 12px;
|
||||
// margin: 0 40px;
|
||||
// cursor: pointer;
|
||||
// }
|
||||
|
||||
// .play {
|
||||
// width: 24px;
|
||||
// height: 24px;
|
||||
// cursor: pointer;
|
||||
// }
|
||||
// }
|
||||
|
||||
// .time-display {
|
||||
// color: #fff;
|
||||
// font-size: 12px;
|
||||
// line-height: 10px;
|
||||
// }
|
||||
|
||||
// .progress-bar {
|
||||
// height: 10px;
|
||||
// width: 500px;
|
||||
// margin: 0 10px;
|
||||
// .bar {
|
||||
// height: 4px;
|
||||
// background-color: rgba(255, 255, 255, 1);
|
||||
// border-radius: 10px;
|
||||
// position: relative;
|
||||
// cursor: pointer;
|
||||
|
||||
// &.white {
|
||||
// width: 0;
|
||||
// border-radius: 10px 0 0 10px;
|
||||
// background-color: #5241b0;
|
||||
|
||||
// &::before {
|
||||
// content: "";
|
||||
// width: 10px;
|
||||
// height: 10px;
|
||||
// background-color: #f3974b;
|
||||
// border-radius: 50%;
|
||||
// position: absolute;
|
||||
// top: 50%;
|
||||
// transform: translateY(-50%);
|
||||
// right: -5px;
|
||||
// cursor: pointer;
|
||||
// z-index: 1;
|
||||
// display: block;
|
||||
// }
|
||||
// }
|
||||
|
||||
// &.black {
|
||||
// background-color: #f2f2f2;
|
||||
// border-radius: 0 10px 10px 0;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
// .bottom-right {
|
||||
// justify-content: flex-end;
|
||||
// padding-right: 12px;
|
||||
|
||||
// .item {
|
||||
// position: relative;
|
||||
// margin-right: 18px;
|
||||
// .svg {
|
||||
// display: block;
|
||||
// cursor: pointer;
|
||||
// }
|
||||
// // &:hover {
|
||||
// // .sound-control {
|
||||
// // display: flex;
|
||||
// // }
|
||||
// // }
|
||||
// .sound-control {
|
||||
// justify-content: center;
|
||||
// left: 50%;
|
||||
// transform: translateX(-50%);
|
||||
// height: 151px;
|
||||
// padding-bottom: 2px;
|
||||
// position: absolute;
|
||||
// top: -158px;
|
||||
// width: 42px;
|
||||
// align-items: center;
|
||||
// background: #1f1f1f;
|
||||
// border-radius: 8px;
|
||||
// flex-direction: column;
|
||||
// justify-content: space-between;
|
||||
// padding: 12px;
|
||||
// cursor: auto;
|
||||
|
||||
// &::after {
|
||||
// content: "";
|
||||
// width: 100%;
|
||||
// height: 7px;
|
||||
// position: absolute;
|
||||
// bottom: -7px;
|
||||
// }
|
||||
|
||||
// .value {
|
||||
// color: #fff;
|
||||
// font-size: 14px;
|
||||
// user-select: none;
|
||||
// }
|
||||
|
||||
// .progress {
|
||||
// width: 4px;
|
||||
// height: 100px;
|
||||
// border-radius: 4px;
|
||||
// background-color: rgba(255, 255, 255, 0.2);
|
||||
// flex-direction: column;
|
||||
// justify-content: flex-end;
|
||||
// cursor: pointer;
|
||||
|
||||
// .bar {
|
||||
// width: 100%;
|
||||
// height: 50px;
|
||||
// background-color: #fff;
|
||||
// border-radius: 4px;
|
||||
// position: relative;
|
||||
// &::before {
|
||||
// content: "";
|
||||
// width: 10px;
|
||||
// height: 10px;
|
||||
// background-color: #f3974b;
|
||||
// border-radius: 50%;
|
||||
// position: absolute;
|
||||
// top: 0;
|
||||
// transform: translate(-50%, -50%);
|
||||
// left: 50%;
|
||||
// z-index: 1;
|
||||
// display: block;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
.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;
|
||||
// min-width: 1200px;
|
||||
width: 800px;
|
||||
|
||||
@keyframes fadeInUp {
|
||||
0% {
|
||||
@@ -1040,12 +1241,15 @@
|
||||
}
|
||||
|
||||
100% {
|
||||
bottom: 0;
|
||||
bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.bottom-left {
|
||||
padding-left: 12px;
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
position: relative;
|
||||
|
||||
.img {
|
||||
width: 56px;
|
||||
@@ -1056,12 +1260,13 @@
|
||||
.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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1069,7 +1274,7 @@
|
||||
flex-direction: column;
|
||||
|
||||
.operate {
|
||||
margin-bottom: 10px;
|
||||
height: 24px;
|
||||
|
||||
.cut {
|
||||
width: 14px;
|
||||
@@ -1140,6 +1345,7 @@
|
||||
.bottom-right {
|
||||
justify-content: flex-end;
|
||||
padding-right: 12px;
|
||||
height: 24px;
|
||||
|
||||
.item {
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user