账号详情:视频列表tab去掉标题,账号设定内容去左右20px间隔
- data-pages.js:persona tab 删除 <h3>视频列表</h3> 标题 - style.css:.persona-wrap padding 0 20px → 0
This commit is contained in:
1 parent
dd15f12b58
commit
d43578e820
3 files changed
+7
-3
No files matched your search
@@ -55,3 +55,8 @@
|
||||
- **需求**:「账号信息 不显示 简介,账号定位 改为收起时 显示4行」
|
||||
- **修改**:① data-pages.js info tab 删除「简介」info-row;② style.css `.clamp-text` max-height 240px→96px(=4行×15px×1.6),展开按钮阈值 length>200→>120(与 4 行匹配)
|
||||
- 重开 `?v=20260902-b#/account/1629` 验证
|
||||
|
||||
## 视频列表标题/账号设定间距(10:55,用户要求)
|
||||
- **需求**:「视频列表 tab 下面的 视频列表标题可以去掉,账号设定 内容部分 左右减少20PX 间隔」
|
||||
- **修改**:① data-pages.js persona tab 删除 `<h3>视频列表</h3>` 标题(info tab 的「账号设定」小节标题保留);② style.css `.persona-wrap` padding 0 20px→0(账号设定内容左右间隔去除)
|
||||
- 重开 `?v=20260902-c#/account/1629` 验证
|
||||
@@ -445,8 +445,7 @@ async function renderAccountDetail(view, id) {
|
||||
<h3 class="video-list-title">账号设定</h3>
|
||||
${personaPanel()}`;
|
||||
} else if (tab === 'persona') {
|
||||
panel = `<h3 class="video-list-title">视频列表</h3>
|
||||
<div class="table-wrap"><table class="table"><thead><tr>${bstate.batch ? '<th class="cb-cell"><input type="checkbox" class="batch-cb-all"></th>' : ''}<th class="th-pub">发布时间</th><th class="th-title">视频标题</th><th class="num">点赞</th><th class="num">评论</th><th class="num">分享</th><th class="num">收藏</th><th class="num">时长</th><th class="th-act">操作</th></tr></thead><tbody>${rows || `<tr><td colspan="${bstate.batch ? 9 : 8}" class="empty">暂无视频数据</td></tr>`}</tbody></table></div>
|
||||
panel = `<div class="table-wrap"><table class="table"><thead><tr>${bstate.batch ? '<th class="cb-cell"><input type="checkbox" class="batch-cb-all"></th>' : ''}<th class="th-pub">发布时间</th><th class="th-title">视频标题</th><th class="num">点赞</th><th class="num">评论</th><th class="num">分享</th><th class="num">收藏</th><th class="num">时长</th><th class="th-act">操作</th></tr></thead><tbody>${rows || `<tr><td colspan="${bstate.batch ? 9 : 8}" class="empty">暂无视频数据</td></tr>`}</tbody></table></div>
|
||||
<div class="list-footer">
|
||||
${batchBarHtml(bstate, 0)}
|
||||
${pagerHtml(dv.total, dv.page, 20, (p) => { page = p; load(); })}
|
||||
|
||||
@@ -356,7 +356,7 @@ td.td-pub { font-variant-numeric: tabular-nums; }
|
||||
td.td-title { max-width: 240px; }
|
||||
|
||||
/* ================= 账号设定 卡片版/文字版 切换(右上角图标按钮组) ================= */
|
||||
.persona-wrap { position: relative; padding: 0 20px; } /* 账号设定内容左右各 20px 间隔 */
|
||||
.persona-wrap { position: relative; } /* 账号设定内容左右无间隔(09-02 用户要求去掉 20px) */
|
||||
.persona-vs-icons { position: absolute; top: 0; right: 0; z-index: 2; display: inline-flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--panel); }
|
||||
.vi-btn { border: none; background: none; padding: 5px 8px; cursor: pointer; color: var(--dim); display: flex; align-items: center; }
|
||||
.vi-btn + .vi-btn { border-left: 1px solid var(--border); }
|
||||
|
||||
Reference in new issue
Block a user