调整UI
This commit is contained in:
@@ -15,10 +15,9 @@
|
||||
<meta name="imagemode" content="force">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<script src="/static/js/common/compat.js?v=4"></script>
|
||||
<link rel="stylesheet" href="/static/css/base.css">
|
||||
<link rel="stylesheet" href="/static/css/recharge-modal.css?v=2">
|
||||
<link rel="stylesheet" href="/static/css/base.css?v=2">
|
||||
<link rel="stylesheet" href="/static/common/DPlayer.min.css">
|
||||
<link rel="stylesheet" href="/static/css/play.css?v=25">
|
||||
<link rel="stylesheet" href="/static/css/play.css?v=26">
|
||||
<script defer src="/static/common/hls.min.js"></script>
|
||||
<script defer src="/static/common/DPlayer.min.js?v=2"></script>
|
||||
</head>
|
||||
@@ -154,32 +153,6 @@
|
||||
<img decoding="async" loading="lazy" class="icon" src="/static/images/placeholder.png?v=2" data-src="/static/images/play_hollow.svg" alt="播放">
|
||||
<span>立即播放</span>
|
||||
</button>
|
||||
<button
|
||||
class="btn btn--ghost play-actions__btn play-actions__btn--icon{{if eq .video.IsLike 1}} is-active{{end}}"
|
||||
type="button"
|
||||
aria-label="{{if eq .video.IsLike 1}}取消点赞{{else}}点赞{{end}}"
|
||||
data-video-like
|
||||
data-video-id="{{.videoID}}"
|
||||
data-liked="{{if eq .video.IsLike 1}}1{{else}}2{{end}}"
|
||||
data-like-raw="{{.video.CountLike}}"
|
||||
{{if le .videoID 0}}disabled{{end}}
|
||||
>
|
||||
<img decoding="async" loading="lazy" class="icon" src="/static/images/placeholder.png?v=2" data-src="/static/images/heart.svg" alt="点赞">
|
||||
<span class="only-pc" data-video-like-label>{{if eq .video.IsLike 1}}已点赞{{else}}点赞{{end}}</span>
|
||||
</button>
|
||||
<button
|
||||
class="btn btn--ghost play-actions__btn play-actions__btn--icon{{if eq .video.IsCollect 1}} is-active{{end}}"
|
||||
type="button"
|
||||
aria-label="{{if eq .video.IsCollect 1}}取消收藏{{else}}收藏{{end}}"
|
||||
data-video-collect
|
||||
data-video-id="{{.videoID}}"
|
||||
data-collected="{{if eq .video.IsCollect 1}}1{{else}}2{{end}}"
|
||||
data-collect-raw="{{.video.CountCollect}}"
|
||||
{{if le .videoID 0}}disabled{{end}}
|
||||
>
|
||||
<img decoding="async" loading="lazy" class="icon" src="/static/images/placeholder.png?v=2" data-src="/static/images/bookmark.svg" alt="收藏">
|
||||
<span class="only-pc" data-video-collect-label>{{if eq .video.IsCollect 1}}已收藏{{else}}收藏{{end}}</span>
|
||||
</button>
|
||||
<button class="btn btn--ghost play-actions__btn play-actions__btn--icon" type="button" aria-label="分享" data-share-page>
|
||||
<img decoding="async" loading="lazy" class="icon" src="/static/images/placeholder.png?v=2" data-src="/static/images/share.svg" alt="分享">
|
||||
<span class="only-pc" data-share-page-label>分享</span>
|
||||
@@ -287,56 +260,6 @@
|
||||
|
||||
{{template "footer" .}}
|
||||
|
||||
<div
|
||||
class="play-coin play-coin--short"
|
||||
data-play-coin
|
||||
role="dialog"
|
||||
aria-modal="true"
|
||||
aria-labelledby="play-coin-title"
|
||||
>
|
||||
<div class="play-coin__mask" data-play-coin-close aria-hidden="true"></div>
|
||||
<div class="play-coin__panel">
|
||||
<div class="play-coin__handle" aria-hidden="true"></div>
|
||||
<div class="play-coin__head">
|
||||
<div class="play-coin__copy">
|
||||
<h2 class="play-coin__title" id="play-coin-title">金币不足</h2>
|
||||
<p class="play-coin__desc only-pc">本集需 38 金币,当前余额 12 金币,充值后即可播放。</p>
|
||||
<p class="play-coin__desc only-h5">本集需 38 金币,当前余额 12 金币</p>
|
||||
</div>
|
||||
<button class="play-coin__close" type="button" data-play-coin-close aria-label="关闭">
|
||||
<img decoding="async" loading="lazy" class="icon" src="/static/images/placeholder.png?v=2" data-src="/static/images/close.svg" alt="关闭">
|
||||
</button>
|
||||
</div>
|
||||
<div class="play-coin__sheet">
|
||||
<div class="play-coin__row">
|
||||
<span class="play-coin__label">当前余额</span>
|
||||
<span class="play-coin__value is-low">12 金币</span>
|
||||
</div>
|
||||
<div class="play-coin__divider" aria-hidden="true"></div>
|
||||
<div class="play-coin__row">
|
||||
<span class="play-coin__label">本次消耗</span>
|
||||
<span class="play-coin__cost">38 金币</span>
|
||||
</div>
|
||||
</div>
|
||||
<p class="play-coin__note">后续付费剧集仍需逐集确认</p>
|
||||
<button class="btn btn--primary play-coin__pay" type="button" data-recharge-open>
|
||||
<img decoding="async" loading="lazy" class="icon" src="/static/images/placeholder.png?v=2" data-src="/static/images/gift.svg" alt="礼物">
|
||||
去充值 首充加赠 10%
|
||||
</button>
|
||||
<div class="play-coin__foot">
|
||||
{{$appAddr := .appConfig.AppAddr}}
|
||||
<a class="play-coin__app" href="{{if $appAddr}}{{$appAddr}}{{else}}/download-app{{end}}"{{if $appAddr}} target="_blank" rel="sponsored nofollow noopener"{{end}}>
|
||||
<img decoding="async" loading="lazy" class="icon" src="/static/images/placeholder.png?v=2" data-src="/static/images/download.svg" alt="下载">
|
||||
下载 App 免费看
|
||||
</a>
|
||||
<button class="play-coin__skip" type="button" data-play-coin-close>暂不观看</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{template "rechargeModal" .}}
|
||||
|
||||
<script defer src="/static/js/pages/play.js?v=41"></script>
|
||||
<script defer src="/static/js/recharge-modal.js?v=5"></script>
|
||||
<script defer src="/static/js/pages/play.js?v=42"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user