This commit is contained in:
谢宇宁
2026-09-24 12:42:30 +07:00
parent e14b3863fb
commit 613db5cb79
15 changed files with 758 additions and 660 deletions
+5 -577
View File
@@ -8,11 +8,6 @@
.detail-h5-bg,
.detail-h5-top,
.detail-h5-bar,
.detail-meta-h5,
.detail-intro-title,
.detail-episodes-status,
.detail-episode-ranges,
.detail-episode--preview,
.detail-related-title-h5,
.detail-related-refresh {
display: none;
@@ -50,169 +45,6 @@
line-height: 20px;
}
.detail-hero {
align-self: stretch;
width: 100%;
padding: 24px 48px 24px 24px;
background: rgba(255, 255, 255, 0.05);
overflow: hidden;
border-radius: 16px;
border: 1px solid rgba(255, 255, 255, 0.10);
justify-content: flex-start;
align-items: center;
gap: 24px;
display: flex;
box-sizing: border-box;
}
.detail-cover {
width: 300px;
height: 400px;
border-radius: 18px;
object-fit: cover;
flex-shrink: 0;
}
.detail-hero-main {
flex: 1 1 0;
min-width: 0;
min-height: 400px;
overflow: hidden;
flex-direction: column;
justify-content: center;
align-items: flex-start;
gap: 30px;
display: flex;
}
.detail-hero-info {
width: 100%;
overflow: hidden;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 30px;
display: flex;
}
.detail-tags {
align-self: stretch;
height: auto;
min-height: 26px;
overflow: visible;
justify-content: flex-start;
align-items: flex-start;
gap: 9px;
display: flex;
flex-wrap: wrap;
}
.detail-tag {
height: 26px;
max-width: 100%;
padding: 0 11px;
background: rgba(255, 255, 255, 0.10);
overflow: hidden;
border-radius: 13px;
justify-content: center;
align-items: center;
display: inline-flex;
color: #8A8A8A;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
box-sizing: border-box;
flex-shrink: 0;
white-space: nowrap;
text-overflow: ellipsis;
text-decoration: none;
}
.detail-tag--primary {
background: #ec237f;
color: #fff;
}
.detail-title {
margin: 0;
color: white;
font-size: 34px;
font-family: PingFang SC;
font-weight: 400;
line-height: 40px;
word-wrap: break-word;
}
.detail-meta {
color: #8A8A8A;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
word-wrap: break-word;
}
.detail-meta-pc {
display: flex;
align-items: center;
gap: 18px;
}
.detail-intro-block {
width: 100%;
}
.detail-intro {
margin: 0;
width: 100%;
color: #8A8A8A;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
word-wrap: break-word;
display: -webkit-box;
-webkit-line-clamp: 6;
-webkit-box-orient: vertical;
overflow: hidden;
}
.detail-intro-prefix-pc {
display: inline;
}
.detail-actions {
width: 100%;
height: 45px;
overflow: hidden;
justify-content: space-between;
align-items: center;
display: flex;
gap: 16px;
flex-wrap: wrap;
}
.detail-play-btn {
height: 45px;
padding: 0 12px;
background: #ec237f;
overflow: hidden;
border-radius: 23px;
justify-content: center;
align-items: center;
display: flex;
border: none;
cursor: pointer;
color: #181818;
font-size: 16px;
font-family: PingFang SC;
font-weight: 400;
line-height: 22px;
text-decoration: none;
box-sizing: border-box;
}
.detail-action-group {
justify-content: flex-start;
align-items: center;
@@ -274,78 +106,6 @@
background: rgba(255, 255, 255, 0.05);
}
.detail-episodes {
align-self: stretch;
width: 100%;
overflow: hidden;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 16px;
display: flex;
}
.detail-episodes-head {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.detail-section-label {
color: #F5F5F5;
font-size: 18px;
font-family: PingFang SC;
font-weight: 600;
line-height: 27px;
}
.detail-episode-list {
width: 100%;
justify-content: flex-start;
align-items: flex-start;
gap: 14px;
display: flex;
flex-wrap: wrap;
}
.detail-episode-lock {
position: absolute;
top: 0;
right: 0;
padding: 0 4px;
border-radius: 0 7px 0 7px;
background: #ec237f;
color: #fff;
font-size: 9px;
font-family: PingFang SC;
font-weight: 500;
line-height: 14px;
pointer-events: none;
}
.detail-episode {
flex: 0 0 calc((100% - 98px) / 8);
width: calc((100% - 98px) / 8);
height: 54px;
position: relative;
background: rgba(255, 255, 255, 0.10);
overflow: hidden;
border-radius: 7px;
justify-content: center;
align-items: center;
display: flex;
border: none;
cursor: pointer;
color: #808080;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
text-decoration: none;
box-sizing: border-box;
}
.detail-comments {
align-self: stretch;
width: 100%;
@@ -750,220 +510,19 @@
box-sizing: border-box;
}
.detail-meta-pc,
.detail-actions,
.detail-comments,
.detail-related-desc,
.detail-related-title-pc,
.detail-episode-pc,
.detail-episodes-status-icon,
.detail-breadcrumb {
.detail-related-desc,
.detail-related-title-pc,
.detail-breadcrumb {
display: none !important;
}
.detail-meta-h5,
.detail-intro-title,
.detail-episodes-status,
.detail-episode-ranges,
.detail-episode--preview,
.detail-related-title-h5,
.detail-related-refresh,
.detail-h5-bar {
.detail-related-refresh,
.detail-h5-bar {
display: flex;
}
.detail-hero {
width: 100%;
padding: 0;
background: transparent;
border-radius: 0;
border: none;
display: grid;
grid-template-columns: 76px 1fr;
gap: 18px 12px;
align-items: start;
}
.detail-hero-main {
display: contents;
}
.detail-cover {
width: 76px;
height: 106px;
border-radius: 6px;
grid-column: 1;
grid-row: 1;
background: #D4D4D4;
}
.detail-hero-info {
grid-column: 2;
grid-row: 1;
width: auto;
gap: 12px;
min-width: 0;
}
.detail-title {
order: 1;
width: 100%;
max-width: 220px;
font-size: 16px;
font-weight: 500;
line-height: 22px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.detail-meta {
order: 2;
}
.detail-meta-h5 {
align-items: flex-start;
gap: 6px;
color: white;
font-size: 12px;
line-height: 18px;
}
.detail-meta-dot {
flex-shrink: 0;
}
.detail-tags {
order: 3;
height: auto;
gap: 6px;
flex-wrap: wrap;
}
.detail-tag {
height: auto;
padding: 2px 6px;
background: rgba(255, 255, 255, 0.10);
border-radius: 3px;
color: white;
}
.detail-tag--primary {
background: rgba(255, 255, 255, 0.10);
color: white;
}
.detail-intro-block {
grid-column: 1 / -1;
max-width: none;
display: flex;
flex-direction: column;
gap: 12px;
}
.detail-intro-title {
color: white;
font-size: 16px;
font-weight: 500;
line-height: 22px;
}
.detail-intro {
color: white;
-webkit-line-clamp: 3;
}
.detail-intro-prefix-pc {
display: none;
}
.detail-episodes {
width: 100%;
gap: 12px;
}
.detail-episodes-head {
width: 100%;
}
.detail-section-label {
color: white;
font-size: 14px;
font-weight: 400;
line-height: 20px;
}
.detail-episodes-status {
align-items: center;
gap: 2px;
color: rgba(255, 255, 255, 0.35);
font-size: 12px;
line-height: 18px;
}
.detail-episode-ranges {
width: 100%;
align-items: center;
gap: 24px;
}
.detail-episode-range {
background: none;
border: none;
padding: 0;
cursor: pointer;
color: rgba(255, 255, 255, 0.55);
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
}
.detail-episode-range--active {
color: white;
}
.detail-episode-list {
width: 100%;
display: flex;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: center;
gap: 6px;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.detail-episode-list::-webkit-scrollbar {
display: none;
}
.detail-episode.is-range-hidden {
display: none !important;
}
.detail-episode {
flex: 0 0 58px;
width: 58px;
min-width: 58px;
height: 58px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.10);
color: white;
font-size: 18px;
font-weight: 400;
line-height: 24px;
}
.detail-episode::before {
content: attr(data-ep);
width: 24px;
text-align: center;
}
.detail-related {
width: 100%;
gap: 12px;
@@ -1265,90 +824,6 @@
flex-shrink: 0;
}
.detail-hero {
min-height: 0;
padding: calc(24px * var(--detail-s)) calc(48px * var(--detail-s)) calc(24px * var(--detail-s)) calc(24px * var(--detail-s));
background: rgba(255, 255, 255, 0.05);
border: 0;
outline: 1px solid rgba(255, 255, 255, 0.10);
outline-offset: -1px;
border-radius: calc(16px * var(--detail-s));
gap: calc(24px * var(--detail-s));
}
.detail-cover {
width: calc(300px * var(--detail-s));
height: calc(400px * var(--detail-s));
border-radius: calc(18px * var(--detail-s));
}
.detail-hero-main {
min-height: calc(400px * var(--detail-s));
gap: calc(30px * var(--detail-s));
}
.detail-hero-info { gap: calc(30px * var(--detail-s)); }
.detail-tags {
gap: calc(9px * var(--detail-s));
height: calc(26px * var(--detail-s));
overflow: hidden;
}
.detail-tag {
height: calc(26px * var(--detail-s));
padding: 0 calc(11px * var(--detail-s));
border-radius: calc(6px * var(--detail-s));
background: rgba(255, 255, 255, 0.10);
color: rgba(255, 255, 255, 0.55);
font-size: calc(12px * var(--detail-s));
line-height: calc(18px * var(--detail-s));
}
.detail-tag--primary { background: #ec237f; color: #fff; }
.detail-title {
font-size: calc(24px * var(--detail-s));
font-weight: 600;
line-height: calc(32px * var(--detail-s));
}
.detail-meta {
color: rgba(255, 255, 255, 0.55);
font-size: calc(16px * var(--detail-s));
line-height: calc(22px * var(--detail-s));
}
.detail-meta-pc { gap: calc(18px * var(--detail-s)); }
.detail-intro {
color: rgba(255, 255, 255, 0.55);
font-size: calc(14px * var(--detail-s));
line-height: calc(20px * var(--detail-s));
}
.detail-actions {
height: calc(45px * var(--detail-s));
justify-content: space-between;
}
.detail-play-btn {
height: calc(45px * var(--detail-s));
padding: 0 calc(12px * var(--detail-s));
gap: calc(4px * var(--detail-s));
border-radius: calc(23px * var(--detail-s));
background: #ec237f;
color: #fff;
font-size: calc(16px * var(--detail-s));
line-height: calc(22px * var(--detail-s));
}
.detail-play-btn img {
width: calc(16px * var(--detail-s));
height: calc(17px * var(--detail-s));
filter: brightness(0) invert(1);
}
.detail-action-group { gap: calc(16px * var(--detail-s)); }
.detail-action {
@@ -1379,52 +854,6 @@
background: rgba(255, 255, 255, 0.05);
}
.detail-episodes { gap: calc(14px * var(--detail-s)); }
.detail-section-label {
font-size: calc(24px * var(--detail-s));
font-weight: 500;
line-height: calc(32px * var(--detail-s));
}
.detail-episode-pc {
display: none !important;
}
.detail-episode-list {
display: grid;
grid-template-columns: repeat(auto-fill, calc(58px * var(--detail-s)));
justify-content: space-between;
align-items: center;
gap: calc(12px * var(--detail-s)) calc(7px * var(--detail-s));
overflow: hidden;
}
.detail-episode {
flex: none;
width: calc(58px * var(--detail-s));
min-width: calc(58px * var(--detail-s));
height: calc(58px * var(--detail-s));
border-radius: calc(10px * var(--detail-s));
background: rgba(255, 255, 255, 0.10);
color: #fff;
font-size: calc(18px * var(--detail-s));
font-weight: 400;
line-height: calc(24px * var(--detail-s));
}
.detail-episode.is-active,
.detail-episode.detail-episode--active {
background: rgba(255, 74, 74, 0.08);
color: #ec237f;
}
.detail-episode::before {
content: attr(data-ep);
width: calc(24px * var(--detail-s));
text-align: center;
}
.content-official-info {
padding: calc(24px * var(--detail-s)) calc(30px * var(--detail-s));
border-radius: calc(18px * var(--detail-s));
@@ -1579,7 +1008,6 @@
.detail-main,
.detail-sidebar { display: contents; }
.detail-episodes,
.detail-related {
padding-top: 18px;
border-top: 1px solid rgba(255, 255, 255, .1);