优化视频复刻和商品内容大小

This commit is contained in:
Azmat@qq.com
2026-08-28 18:42:28 +08:00
parent a618f02315
commit 6b6146e595
20 changed files with 1557 additions and 382 deletions
+38 -42
View File
@@ -11,7 +11,7 @@
max-width: none;
box-sizing: border-box;
margin: -24px -28px -60px;
padding: 52px clamp(40px, 3.2vw, 68px) 48px;
padding: 28px clamp(24px, 2.2vw, 40px) 36px;
}
@media (max-width: 1100px) {
@@ -24,22 +24,21 @@
}
.models-page .ml-head {
min-height: 76px;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 30px;
margin-bottom: 34px;
gap: 20px;
margin-bottom: 18px;
}
.models-page .ml-head h1 {
margin: 0 0 10px;
font-size: 32px;
line-height: 1.2;
margin: 0 0 4px;
font-size: 22px;
line-height: 1.25;
font-weight: 600;
letter-spacing: -.02em;
color: var(--accent-black);
}
.models-page .ml-head p { margin: 0; color: var(--ml-muted); font-size: 15px; }
.models-page .ml-head p { margin: 0; color: var(--ml-muted); font-size: 13px; }
.models-page .ml-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.models-page .ml-ghost,
.models-page .ml-primary {
@@ -52,73 +51,73 @@
cursor: pointer;
}
.models-page .ml-ghost {
min-width: 132px;
height: 46px;
padding: 0 18px;
min-width: 108px;
height: 36px;
padding: 0 14px;
border: 1px solid rgba(28, 34, 43, 0.12);
border-radius: 11px;
border-radius: 8px;
color: var(--accent-black);
background: rgba(34, 42, 54, 0.05);
}
.models-page .ml-ghost:hover { background: rgba(34, 42, 54, 0.10); }
.models-page .ml-ghost.is-on { color: #fff; border-color: var(--ml-black); background: var(--ml-black); }
.models-page .ml-primary {
min-width: 158px;
height: 50px;
padding: 0 22px;
border-radius: 11px;
min-width: 124px;
height: 36px;
padding: 0 16px;
border-radius: 8px;
color: #fff;
background: var(--klein);
box-shadow: 0 9px 18px rgba(0, 47, 167, 0.18);
box-shadow: 0 6px 14px rgba(0, 47, 167, 0.18);
}
.models-page .ml-primary:hover { transform: translateY(-2px); background: var(--klein-hover); }
.models-page .ml-primary:disabled { opacity: 0.38; transform: none; box-shadow: none; cursor: not-allowed; }
.models-page .ml-ghost svg,
.models-page .ml-primary svg { width: 19px; height: 19px; }
.models-page .ml-primary svg { width: 16px; height: 16px; }
.models-page .ml-toolbar {
min-height: 66px;
min-height: 48px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
padding: 10px 14px;
gap: 12px;
padding: 8px 10px;
border: 1px solid rgba(34, 42, 54, 0.09);
border-radius: 13px;
border-radius: 10px;
background: var(--ml-wash);
box-shadow: 0 7px 17px rgba(20, 27, 38, 0.07);
}
.models-page .ml-seg { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.models-page .ml-seg-btn {
height: 38px;
padding: 0 16px;
height: 32px;
padding: 0 12px;
border: 0;
border-radius: 9px;
border-radius: 8px;
color: #50555d;
background: transparent;
font: inherit;
font-size: 14px;
font-size: 13px;
cursor: pointer;
}
.models-page .ml-seg-btn:hover { color: var(--accent-black); }
.models-page .ml-seg-btn.active { color: #fff; background: var(--ml-black); }
.models-page .ml-note { color: var(--ml-muted); font-size: 12px; }
.models-page .ml-section { margin: 32px 0 17px; }
.models-page .ml-section h2 { margin: 0; font-size: 21px; font-weight: 600; color: var(--accent-black); }
.models-page .ml-section { margin: 22px 0 12px; }
.models-page .ml-section h2 { margin: 0; font-size: 16px; font-weight: 600; color: var(--accent-black); }
.models-page .ml-section p { margin: 5px 0 0; color: var(--ml-muted); font-size: 13px; }
.models-page .ml-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 18px;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 12px;
}
.models-page .ml-card {
position: relative;
min-width: 0;
overflow: hidden;
border: 1px solid var(--ml-line);
border-radius: 13px;
border-radius: 10px;
background: rgba(34, 42, 54, 0.05);
box-shadow: var(--ml-shadow);
cursor: pointer;
@@ -147,10 +146,10 @@
border: 0;
border-radius: 0;
}
.models-page .ml-meta { padding: 12px 13px 14px; }
.models-page .ml-meta { padding: 8px 10px 10px; }
.models-page .ml-meta h3 {
margin: 0 0 6px;
font-size: 15px;
margin: 0 0 3px;
font-size: 13px;
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
@@ -162,14 +161,14 @@
align-items: center;
flex-wrap: wrap;
gap: 6px;
margin-top: 13px;
margin-top: 8px;
}
.models-page .ml-tag {
display: inline-flex;
align-items: center;
height: 25px;
padding: 0 9px;
border-radius: 7px;
height: 20px;
padding: 0 6px;
border-radius: 6px;
color: #4c5360;
background: rgba(34, 42, 54, 0.08);
font-size: 11px;
@@ -274,14 +273,11 @@
.models-page .ml-sel-confirm { color: #fff; background: #002fa7; }
.models-page .ml-sel-confirm:disabled { opacity: 0.4; cursor: not-allowed; }
@media (max-width: 1500px) {
.models-page .ml-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
.models-page .ml-sel-bar { left: 50%; }
}
@media (max-width: 860px) {
.models-page .ml-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.models-page .ml-grid { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); }
}
/* 模特详情弹窗:参考视频项目角色详情结构 */