refactor(页面布局): 重构页面布局和样式

- 移除未使用的HTML文件和冗余代码
- 调整侧边栏位置和样式
- 优化标签云组件交互和性能
- 更新播放器控件样式和功能
- 改进预览弹窗的背景透明度
- 添加favicon图标
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-09-22 17:49:06 +08:00
parent 0e0d977c3b
commit 4087c429fa
14 changed files with 1302 additions and 1127 deletions

View File

@@ -44,60 +44,6 @@
background: linear-gradient(180deg, #1e135e 0%, #5241b0 100%);
z-index: -1;
}
.content .introduce .sidebar {
position: absolute;
top: 175px;
right: 100px;
z-index: 10;
flex-direction: column;
align-items: center;
}
.content .introduce .sidebar .pointer {
margin-bottom: 192px;
}
.content .introduce .sidebar .pointer .item {
width: 4px;
height: 50px;
margin-bottom: 2px;
background-color: #ffffff;
cursor: pointer;
position: relative;
}
.content .introduce .sidebar .pointer .item.active {
background-color: #f3974b;
}
.content .introduce .sidebar .pointer .item.active::after {
content: attr(data-index);
position: absolute;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
color: #f3974b;
font-size: 14px;
top: 0;
left: -21px;
}
.content .introduce .sidebar .arrow {
width: 12px;
display: flex;
flex-direction: column;
}
.content .introduce .sidebar .arrow .item {
width: 12px;
height: 7px;
}
.content .introduce .sidebar .arrow .item.orange {
cursor: pointer;
}
.content .introduce .sidebar .arrow .item.top.orange {
transform: rotate(180deg);
}
.content .introduce .sidebar .arrow .item:not(:last-of-type) {
margin-bottom: 34px;
}
.content .introduce .sidebar .arrow .item.bottom.white {
transform: rotate(180deg);
}
.content .introduce .head {
height: 116px;
border-bottom: 1px solid rgba(255, 255, 255, 0.101961);
@@ -109,12 +55,13 @@
.content .introduce .box {
justify-content: space-between;
height: 685px;
position: relative;
}
.content .introduce .box .info {
padding-top: 60px;
}
.content .introduce .box .info .brand {
margin-bottom: 175px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.content .introduce .box .info .brand .fill {
width: 16px;
@@ -132,6 +79,7 @@
}
.content .introduce .box .info .award {
flex-direction: column;
margin-bottom: 177px;
}
.content .introduce .box .info .award .title {
width: 101px;
@@ -221,6 +169,60 @@
z-index: 1;
cursor: pointer;
}
.content .introduce .box .sidebar {
position: absolute;
top: 60px;
right: -4px;
z-index: 10;
flex-direction: column;
align-items: center;
}
.content .introduce .box .sidebar .pointer {
margin-bottom: 192px;
}
.content .introduce .box .sidebar .pointer .item {
width: 4px;
height: 50px;
margin-bottom: 2px;
background-color: #ffffff;
cursor: pointer;
position: relative;
}
.content .introduce .box .sidebar .pointer .item.active {
background-color: #f3974b;
}
.content .introduce .box .sidebar .pointer .item.active::after {
content: attr(data-index);
position: absolute;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
color: #f3974b;
font-size: 14px;
top: 0;
left: -21px;
}
.content .introduce .box .sidebar .arrow {
width: 12px;
display: flex;
flex-direction: column;
}
.content .introduce .box .sidebar .arrow .item {
width: 12px;
height: 7px;
}
.content .introduce .box .sidebar .arrow .item.orange {
cursor: pointer;
}
.content .introduce .box .sidebar .arrow .item.top.orange {
transform: rotate(180deg);
}
.content .introduce .box .sidebar .arrow .item:not(:last-of-type) {
margin-bottom: 34px;
}
.content .introduce .box .sidebar .arrow .item.bottom.white {
transform: rotate(180deg);
}
.content .introduce .trait {
background-color: #ffffff;
height: 420px;
@@ -326,6 +328,7 @@
grid-template-columns: repeat(3, 1fr);
background-color: #ffffff;
border-radius: 20px;
position: relative;
}
.content .works .mv-box .item {
height: 500px;
@@ -859,7 +862,7 @@
left: 0;
width: 100%;
height: 100%;
background-color: #4c4c4c;
background-color: rgba(0, 0, 0, 0.6);
z-index: 1001;
}
.content .preview .close {

View File

@@ -48,68 +48,6 @@
z-index: -1;
}
.sidebar {
position: absolute;
top: 175px;
right: 100px;
z-index: 10;
flex-direction: column;
align-items: center;
.pointer {
margin-bottom: 192px;
.item {
width: 4px;
height: 50px;
margin-bottom: 2px;
background-color: rgba(255, 255, 255, 1);
cursor: pointer;
position: relative;
&.active {
background-color: rgba(243, 151, 75, 1);
&::after {
content: attr(data-index);
position: absolute;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
color: #f3974b;
font-size: 14px;
top: 0;
left: -21px;
}
}
}
}
.arrow {
width: 12px;
display: flex;
flex-direction: column;
.item {
width: 12px;
height: 7px;
&.orange {
cursor: pointer;
}
&.top.orange {
transform: rotate(180deg);
}
&:not(:last-of-type) {
margin-bottom: 34px;
}
&.bottom.white {
transform: rotate(180deg);
}
}
}
}
.head {
height: 116px;
border-bottom: 1px solid rgba(255, 255, 255, 0.101961);
@@ -123,10 +61,15 @@
.box {
justify-content: space-between;
height: 685px;
position: relative;
.info {
padding-top: 60px;
display: flex;
flex-direction: column;
justify-content: space-between;
.brand {
margin-bottom: 175px;
// margin-bottom: 175px;
.fill {
width: 16px;
@@ -147,6 +90,7 @@
.award {
flex-direction: column;
margin-bottom: 177px;
.title {
width: 101px;
height: 24px;
@@ -250,6 +194,68 @@
}
}
}
.sidebar {
position: absolute;
top: 60px;
right: -4px;
z-index: 10;
flex-direction: column;
align-items: center;
.pointer {
margin-bottom: 192px;
.item {
width: 4px;
height: 50px;
margin-bottom: 2px;
background-color: rgba(255, 255, 255, 1);
cursor: pointer;
position: relative;
&.active {
background-color: rgba(243, 151, 75, 1);
&::after {
content: attr(data-index);
position: absolute;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
color: #f3974b;
font-size: 14px;
top: 0;
left: -21px;
}
}
}
}
.arrow {
width: 12px;
display: flex;
flex-direction: column;
.item {
width: 12px;
height: 7px;
&.orange {
cursor: pointer;
}
&.top.orange {
transform: rotate(180deg);
}
&:not(:last-of-type) {
margin-bottom: 34px;
}
&.bottom.white {
transform: rotate(180deg);
}
}
}
}
}
.trait {
@@ -372,6 +378,7 @@
grid-template-columns: repeat(3, 1fr);
background-color: #ffffff;
border-radius: 20px;
position: relative;
.item {
height: 500px;
@@ -998,7 +1005,7 @@
left: 0;
width: 100%;
height: 100%;
background-color: #4c4c4c;
background-color: rgba(0, 0, 0, 0.6);
z-index: 1001;
.close {

View File

@@ -354,6 +354,7 @@
font-weight: 650;
color: #583a05 !important;
background-color: #f19a04 !important;
z-index: 100 !important;
}
.tag-item.item2 {
height: 50px;
@@ -386,3 +387,173 @@
color: #62263c !important;
background: linear-gradient(180deg, #ff8eba 0%, #f4458c 100%);
}
.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-play .bottom-left {
padding-left: 12px;
}
.bottom-play .bottom-left .img {
width: 56px;
height: 56px;
margin-right: 12px;
}
.bottom-play .bottom-left .name {
color: #fff;
font-size: 14px;
font-weight: 600;
margin-bottom: 6px;
max-width: 240px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.bottom-play .bottom-middle {
flex-direction: column;
}
.bottom-play .bottom-middle .operate {
margin-bottom: 10px;
}
.bottom-play .bottom-middle .operate .cut {
width: 14px;
height: 12px;
cursor: pointer;
}
.bottom-play .bottom-middle .operate .speed {
width: 16px;
height: 12px;
margin: 0 40px;
cursor: pointer;
}
.bottom-play .bottom-middle .operate .play {
width: 24px;
height: 24px;
cursor: pointer;
}
.bottom-play .bottom-middle .time-display {
color: #fff;
font-size: 12px;
line-height: 10px;
}
.bottom-play .bottom-middle .progress-bar {
height: 10px;
width: 500px;
margin: 0 10px;
}
.bottom-play .bottom-middle .progress-bar .bar {
height: 4px;
background-color: #ffffff;
border-radius: 10px;
position: relative;
cursor: pointer;
}
.bottom-play .bottom-middle .progress-bar .bar.white {
width: 0;
border-radius: 10px 0 0 10px;
background-color: #5241b0;
}
.bottom-play .bottom-middle .progress-bar .bar.white::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;
}
.bottom-play .bottom-middle .progress-bar .bar.black {
background-color: #f2f2f2;
border-radius: 0 10px 10px 0;
}
.bottom-play .bottom-right {
justify-content: flex-end;
padding-right: 12px;
}
.bottom-play .bottom-right .item {
position: relative;
margin-right: 18px;
}
.bottom-play .bottom-right .item .svg {
display: block;
cursor: pointer;
}
.bottom-play .bottom-right .item .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;
}
.bottom-play .bottom-right .item .sound-control::after {
content: "";
width: 100%;
height: 7px;
position: absolute;
bottom: -7px;
}
.bottom-play .bottom-right .item .sound-control .value {
color: #fff;
font-size: 14px;
user-select: none;
}
.bottom-play .bottom-right .item .sound-control .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;
}
.bottom-play .bottom-right .item .sound-control .progress .bar {
width: 100%;
height: 50px;
background-color: #fff;
border-radius: 4px;
position: relative;
}
.bottom-play .bottom-right .item .sound-control .progress .bar::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;
}

View File

@@ -426,6 +426,7 @@
font-weight: 650;
color: rgb(88, 58, 5) !important;
background-color: rgba(241, 154, 4, 1) !important;
z-index: 100 !important;
}
&.item2 {
@@ -463,3 +464,200 @@
background: linear-gradient(180deg, #ff8eba 0%, #f4458c 100%);
}
}
.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;
}
}
}
}
}
}
}