logo和配置修改

This commit is contained in:
谢宇宁
2026-09-23 16:50:34 +07:00
parent bef9f8b4ed
commit 0db8087765
163 changed files with 393 additions and 20366 deletions
+4 -63
View File
@@ -20,7 +20,7 @@
<script type="application/ld+json">{{.jsonLD}}</script>
{{end}}
<link rel="stylesheet" href="/static/css/index.css?v=27">
<link rel="stylesheet" href="/static/css/detail.css?v=29">
<link rel="stylesheet" href="/static/css/detail.css?v=30">
</head>
@@ -37,10 +37,6 @@
<img src="/static/images/back.svg" alt="返回" />
</a>
<div class="detail-h5-top-actions">
<button class="detail-h5-top-btn detail-h5-top-btn--like{{if eq .IsLike 1}} detail-h5-top-btn--active{{end}}" type="button" data-detail-like data-playlet-id="{{.ID}}" data-liked="{{.IsLike}}" data-count-like="{{.CountLike}}" aria-label="点赞">
<img src="/static/images/{{if eq .IsLike 1}}h5_liked.svg{{else}}like.svg{{end}}" alt="点赞" data-h5-like-icon />
<span class="detail-h5-top-like-count" data-detail-like-label>{{.CountLike}}</span>
</button>
<button class="detail-h5-top-btn" type="button" data-detail-share data-playlet-id="{{.ID}}" aria-label="分享">
<img src="/static/images/h5_share.svg" alt="分享" />
</button>
@@ -95,20 +91,6 @@
<div class="detail-actions">
<a class="detail-play-btn" href="{{playURL .Slug .ID}}"><img src="/static/images/player.svg" alt="" />立即播放</a>
<div class="detail-action-group">
<button class="detail-action{{if eq .IsLike 1}} detail-action--active{{end}}" type="button" data-detail-like data-playlet-id="{{.ID}}" data-liked="{{.IsLike}}" data-count-like="{{.CountLike}}" data-like-label-mode="state">
<span class="detail-action-icon">
<img src="/static/images/like.svg" alt="点赞" />
</span>
<span data-detail-like-label>{{if eq .IsLike 1}}已点赞{{else}}点赞{{end}}</span>
</button>
<span class="detail-action-sep"></span>
<button class="detail-action{{if eq .IsCollect 1}} detail-action--active{{end}}" type="button" data-detail-collect data-playlet-id="{{.ID}}" data-collected="{{.IsCollect}}" data-count-collect="{{.CountCollect}}">
<span class="detail-action-icon">
<img src="/static/images/collect.svg" alt="收藏" />
</span>
<span data-detail-collect-label>{{if eq .IsCollect 1}}已收藏{{else}}收藏{{end}}</span>
</button>
<span class="detail-action-sep"></span>
<button class="detail-action" type="button" data-detail-share data-playlet-id="{{.ID}}">
<span class="detail-action-icon">
<img src="/static/images/share.svg" alt="分享" />
@@ -152,20 +134,10 @@
<a class="detail-episode" href="{{chapterPlayURL $playletSlug $playletID .ID}}" data-ep="{{.CurrentEpisode}}">
<span class="detail-episode-pc">第{{.CurrentEpisode}}集</span>
</a>
{{else if .NeedCoinGate}}
<a class="detail-episode" href="javascript:;" data-coin-dialog-open data-ep="{{.CurrentEpisode}}" data-playlet-id="{{$playletID}}" data-playlet-slug="{{$playletSlug}}" data-chapter-id="{{.ID}}" data-single-coins="{{.UnlockCost}}" aria-label="第{{.CurrentEpisode}}集,金币解锁">
<span class="detail-episode-pc">第{{.CurrentEpisode}}集</span>
<span class="detail-episode-coin" aria-hidden="true">
<img src="/static/images/coin.png?v=2" alt="" />
</span>
</a>
{{else if .NeedVipGate}}
<a class="detail-episode" href="javascript:;" data-vip-dialog-open data-ep="{{.CurrentEpisode}}" data-chapter-id="{{.ID}}" aria-label="第{{.CurrentEpisode}}集,VIP专享">
<span class="detail-episode-pc">第{{.CurrentEpisode}}集</span>
</a>
{{else}}
<a class="detail-episode" href="{{chapterPlayURL $playletSlug $playletID .ID}}" data-ep="{{.CurrentEpisode}}">
<a class="detail-episode detail-episode--locked" href="javascript:;" data-episode-locked data-ep="{{.CurrentEpisode}}" aria-label="第{{.CurrentEpisode}}集,下载APP观看">
<span class="detail-episode-pc">第{{.CurrentEpisode}}集</span>
<span class="detail-episode-lock" aria-hidden="true">APP</span>
</a>
{{end}}
{{else}}
@@ -188,31 +160,6 @@
<button class="detail-sort-btn" type="button" data-comment-sort="2">最新</button>
</div>
</div>
{{if $.isLoggedIn}}
<div class="detail-comment-composer">
{{if $.avatar}}
<img class="detail-comment-composer-avatar lazy" src="/static/images/placeholder.png?v=2" data-src="{{$.avatar}}" alt="我的头像" />
{{else}}
<img class="detail-comment-composer-avatar" src="/static/images/avatar.png" alt="默认用户头像" />
{{end}}
<div class="detail-comment-composer-main">
<textarea class="detail-comment-composer-input" maxlength="200" placeholder="说说你对这部剧的看法…" rows="2"></textarea>
<div class="detail-comment-composer-footer">
<div class="detail-comment-composer-status">
<span class="detail-comment-composer-logged">已登录</span>
{{if $.userName}}<span class="detail-comment-composer-user">{{$.userName}}</span>{{end}}
<span class="detail-comment-composer-count">0 / 200</span>
</div>
<button class="detail-comment-composer-submit" type="button" data-comment-send>发表评论</button>
</div>
</div>
</div>
{{else}}
<div class="detail-comments-login">
<a class="detail-comments-login-link" href="#login" data-login-dialog-open>登录</a>
<span class="detail-comments-login-hint"> 后参与讨论</span>
</div>
{{end}}
<div class="detail-comment-list" data-comment-list>
<div class="section-empty" data-comment-loading>评论加载中…</div>
</div>
@@ -226,10 +173,6 @@
</div>
</main>
<div class="detail-h5-bar">
<button class="detail-h5-like{{if eq .IsLike 1}} detail-h5-like--active{{end}}" type="button" data-detail-like data-playlet-id="{{.ID}}" data-liked="{{.IsLike}}" data-count-like="{{.CountLike}}" data-like-label-mode="state" aria-label="点赞" aria-pressed="{{if eq .IsLike 1}}true{{else}}false{{end}}">
<img src="/static/images/{{if eq .IsLike 1}}h5_liked.svg{{else}}like.svg{{end}}" alt="" data-h5-like-icon />
<span data-detail-like-label>{{if eq .IsLike 1}}已点赞{{else}}点赞{{end}}</span>
</button>
<a class="detail-h5-play" href="{{playURL .Slug .ID}}">开始播放</a>
</div>
{{end}}
@@ -240,8 +183,6 @@
</main>
{{end}}
{{template "footer" .}}
{{template "vipDialog" .}}
{{template "coinDialog" .}}
<script src="/static/js/pages/detail.js?v=14"></script>
<script src="/static/js/pages/detail.js?v=15"></script>
</body>
</html>