Files
web_hgtv_h5/app/templates/page/richtext.html
T
谢宇宁andClaude Opus 5.5 3639d2184a Initial commit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 14:47:17 +07:00

133 lines
6.3 KiB
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{template "seoCommon" .}}
<title>
{{if .title}}{{.title}} - 黄果短剧{{else}}内容详情 - 黄果短剧{{end}}
</title>
<meta
name="description"
content="{{if .richtext}}{{if .richtext.Subtitle}}{{.richtext.Subtitle}}{{else}}{{.title}} - 黄果短剧官方说明与帮助内容。{{end}}{{else}}黄果短剧内容详情页。{{end}} - 黄果短剧"
/>
<meta
name="keywords"
content="{{if .title}}{{.title}},黄果短剧,帮助中心,协议说明{{else}}内容详情,黄果短剧{{end}}"
/>
<meta property="og:type" content="article" />
<meta
property="og:title"
content="{{if .title}}{{.title}} - 黄果短剧{{else}}内容详情 - 黄果短剧{{end}}"
/>
<meta
property="og:description"
content="{{if .richtext}}{{if .richtext.Subtitle}}{{.richtext.Subtitle}}{{else}}{{.title}} - 黄果短剧官方说明与帮助内容。{{end}}{{else}}黄果短剧内容详情页。{{end}}"
/>
{{if .jsonLD}}
<script type="application/ld+json">
{{.jsonLD}}
</script>
{{end}}
<link rel="stylesheet" href="/static/css/contentPage.css?v=11" />
</head>
<body class="site-shell content-layout is-richtext-page{{if eq .richtextKey "关于我们"}} is-richtext-about{{end}}">
{{template "header" .}}
<main class="content-page richtext-page">
<div class="content-pc">
<nav class="content-breadcrumb" aria-label="面包屑">
<a class="content-breadcrumb-link" href="/">首页</a>
<span class="content-breadcrumb-sep">/</span>
<span class="content-breadcrumb-current"
>{{if
.richtext.Title}}{{.richtext.Title}}{{else}}内容详情{{end}}</span
>
</nav>
<div class="content-head">
<h1 class="content-title">
{{if .richtext.Title}}{{.richtext.Title}}{{else}}内容详情{{end}}
</h1>
{{if .richtext.Subtitle}}
<p class="content-subtitle">{{.richtext.Subtitle}}</p>
{{end}}
</div>
</div>
<header class="content-nav">
<a
class="content-nav-back"
href="javascript:history.back()"
aria-label="返回"
>
<img src="/static/images/back.svg" alt="返回" />
</a>
<div class="content-nav-title">
{{if .richtext.Title}}{{.richtext.Title}}{{else}}内容详情{{end}}
</div>
<span class="content-nav-spacer" aria-hidden="true"></span>
</header>
<div class="content-main">
{{if .richtext.Found}}
<article class="content-card legal-article richtext-article">
<div class="richtext-body">{{.richtext.ContentHTML}}</div>
</article>
{{if eq .richtextKey "关于我们"}}
<section class="about-contact-card" aria-label="联系我们">
{{if .appConfig.Telegram}}
<a class="about-contact-item" href="{{.appConfig.Telegram}}"{{if hasPrefix .appConfig.Telegram "http"}} target="_blank" rel="sponsored nofollow noopener noreferrer"{{end}}>
<img class="about-contact-icon" src="/static/images/au_swhz.svg" alt="" />
<span class="about-contact-label">商务合作</span>
</a>
{{else}}
<span class="about-contact-item"><img class="about-contact-icon" src="/static/images/au_swhz.svg" alt="" /><span class="about-contact-label">商务合作</span></span>
{{end}}
{{if .appConfig.GmailAddr}}
<a class="about-contact-item" href="mailto:{{.appConfig.GmailAddr}}">
<img class="about-contact-icon" src="/static/images/au_yx.svg" alt="" />
<span class="about-contact-label">邮箱</span>
</a>
{{else}}
<span class="about-contact-item"><img class="about-contact-icon" src="/static/images/au_yx.svg" alt="" /><span class="about-contact-label">邮箱</span></span>
{{end}}
{{if .appConfig.TwitterAddr}}
<a class="about-contact-item" href="{{.appConfig.TwitterAddr}}" target="_blank" rel="sponsored nofollow noopener noreferrer">
<img class="about-contact-icon" src="/static/images/au_tt.svg" alt="" />
<span class="about-contact-label">推特</span>
</a>
{{else}}
<span class="about-contact-item"><img class="about-contact-icon" src="/static/images/au_tt.svg" alt="" /><span class="about-contact-label">推特</span></span>
{{end}}
{{if .appConfig.TGGroup}}
<a class="about-contact-item" href="{{.appConfig.TGGroup}}" target="_blank" rel="sponsored nofollow noopener noreferrer">
<img class="about-contact-icon" src="/static/images/au_tgq.svg" alt="" />
<span class="about-contact-label">TG群</span>
</a>
{{else}}
<span class="about-contact-item"><img class="about-contact-icon" src="/static/images/au_tgq.svg" alt="" /><span class="about-contact-label">TG群</span></span>
{{end}}
{{if .appConfig.AppAddr}}
<a class="about-contact-item" href="{{.appConfig.AppAddr}}" target="_blank" rel="sponsored nofollow noopener noreferrer">
<img class="about-contact-icon" src="/static/images/au_app.svg" alt="" />
<span class="about-contact-label">APP</span>
</a>
{{else}}
<span class="about-contact-item"><img class="about-contact-icon" src="/static/images/au_app.svg" alt="" /><span class="about-contact-label">APP</span></span>
{{end}}
{{if .appConfig.PotaoGroup}}
<a class="about-contact-item" href="{{.appConfig.PotaoGroup}}"{{if hasPrefix .appConfig.PotaoGroup "http"}} target="_blank" rel="sponsored nofollow noopener noreferrer"{{end}}>
<img class="about-contact-icon" src="/static/images/au_flyy.svg" alt="" />
<span class="about-contact-label">福利应用</span>
</a>
{{else}}
<span class="about-contact-item"><img class="about-contact-icon" src="/static/images/au_flyy.svg" alt="" /><span class="about-contact-label">福利应用</span></span>
{{end}}
</section>
{{end}}
{{else}} {{template "empty" .}} {{end}}
</div>
</main>
{{template "footer" .}}
</body>
</html>