Initial commit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
谢宇宁
2026-09-29 11:47:47 +07:00
co-authored by Claude Opus 5.5
commit 0fbdba5ccf
622 changed files with 72105 additions and 0 deletions
+82
View File
@@ -0,0 +1,82 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{.metaTitle}}</title>
{{template "seoCommon" .}}
<link rel="stylesheet" href="/static/css/base.css">
<link rel="stylesheet" href="/static/css/list.css?v=3">
<link rel="stylesheet" href="/static/css/topic.css?v=2">
</head>
<body class="page-list page-topic">
{{template "header" .}}
<header class="page-subheader only-h5" aria-label="专题页顶栏">
<a class="page-subheader__btn" href="javascript:history.back()" aria-label="返回">
<img decoding="async" loading="lazy" class="icon" src="/static/images/placeholder.png?v=2" data-src="/static/images/chevron-left.svg" alt="返回">
</a>
<div class="page-subheader__title">专题剧单</div>
<a class="page-subheader__btn" href="/search-mobile" aria-label="搜索">
<img decoding="async" loading="lazy" class="icon" src="/static/images/placeholder.png?v=2" data-src="/static/images/search_h5.svg" alt="搜索">
</a>
</header>
<div class="page list-page">
<main class="main">
<section class="list-hero" aria-label="专题频道">
<div class="list-hero__intro">
<p class="eyebrow list-hero__eyebrow">
<span class="eyebrow__bar" aria-hidden="true"></span>
专题
</p>
<h1 class="list-hero__title">专题剧单</h1>
<p class="list-hero__desc">{{if .seoInfo.Description}}{{.seoInfo.Description}}{{else}}按口味打包的剧单,编辑每周更新{{end}}</p>
</div>
</section>
<section class="list-filters only-pc" aria-label="筛选">
<div class="filter-row">
<span class="filter-row__label">排序</span>
<div class="filter-row__options">
<a class="filter-chip{{if eq .sortType 1}} is-active{{end}}" href="{{topicListURL 1 1}}">最新</a>
<a class="filter-chip{{if eq .sortType 2}} is-active{{end}}" href="{{topicListURL 2 1}}">最热</a>
</div>
</div>
</section>
<section class="list-body" aria-label="专题列表">
<h2 class="visually-hidden">专题列表</h2>
{{if .list}}
<div class="topic-grid--list">
{{range .list}}
<a class="topic-card" href="{{categoryURL .Slug .ID}}">
<div class="topic-card__info">
<p class="eyebrow">
<span class="eyebrow__bar" aria-hidden="true"></span>
专题
</p>
<h3 class="topic-card__title">{{.Name}}</h3>
{{if .Desc}}<p class="topic-card__desc">{{.Desc}}</p>{{end}}
<p class="topic-card__count">{{if .PlayletCount}}{{.PlayletCount}} 部 持续更新{{else}}持续更新{{end}}</p>
</div>
<div class="topic-card__stack" aria-hidden="true">
{{range topicCoverURLs .}}
<img decoding="async" loading="lazy" class="lazy" src="/static/images/placeholder.png?v=2" data-src="{{.}}" alt="专题封面">
{{end}}
</div>
</a>
{{end}}
</div>
{{else}}
<p class="list-count">暂无专题</p>
{{end}}
{{template "pagination" .}}
</section>
</main>
</div>
{{template "footer" .}}
</body>
</html>