186 lines
11 KiB
HTML
186 lines
11 KiB
HTML
{{define "footer"}}
|
|
<link rel="stylesheet" href="/static/css/footer.css?v=15" />
|
|
<footer class="home-mobile-footer">
|
|
<img class="home-mobile-footer-logo" src="/static/images/logo.png?v=3" width="127" height="40" alt="黄果短剧" title="黄果短剧" />
|
|
<div class="home-mobile-footer-legal">
|
|
<p>黄果短剧- 全网更新最快最全的短剧!一直致力于免费为广大色友提供最优质的短剧内容,欢迎分享给你的小伙伴们~</p>
|
|
<p>© 2005-2026 黄果短剧 品牌. All rights reserved.</p>
|
|
</div>
|
|
<nav class="home-mobile-footer-links" aria-label="页脚导航">
|
|
{{if .footer.NavList}}
|
|
{{with index .footer.NavList 0}}
|
|
{{if .TranslationList}}
|
|
{{template "footerNavItems" .TranslationList}}
|
|
{{end}}
|
|
{{end}}
|
|
{{end}}
|
|
</nav>
|
|
<div class="home-mobile-footer-divider" aria-hidden="true"></div>
|
|
<div class="home-mobile-footer-actions">
|
|
<div class="home-mobile-footer-social" aria-label="社交媒体">
|
|
<span aria-hidden="true"><img src="/static/images/figma-home/mobile/footer-youtube.svg" width="38" height="38" alt="" /></span>
|
|
<span aria-hidden="true"><img src="/static/images/figma-home/mobile/footer-instagram.svg" width="38" height="38" alt="" /></span>
|
|
{{if .appConfig.TGGroup}}
|
|
<a href="{{.appConfig.TGGroup}}" target="_blank" rel="sponsored nofollow noopener noreferrer" aria-label="Telegram"><img src="/static/images/figma-home/mobile/footer-telegram.svg" width="38" height="38" alt="" /></a>
|
|
{{else}}
|
|
<span aria-hidden="true"><img src="/static/images/figma-home/mobile/footer-telegram.svg" width="38" height="38" alt="" /></span>
|
|
{{end}}
|
|
{{if .appConfig.TwitterAddr}}
|
|
<a href="{{.appConfig.TwitterAddr}}" target="_blank" rel="sponsored nofollow noopener noreferrer" aria-label="X"><img src="/static/images/figma-home/mobile/footer-x.svg" width="38" height="38" alt="" /></a>
|
|
{{else}}
|
|
<span aria-hidden="true"><img src="/static/images/figma-home/mobile/footer-x.svg" width="38" height="38" alt="" /></span>
|
|
{{end}}
|
|
</div>
|
|
<button class="home-mobile-footer-top" type="button" aria-label="回到顶部">
|
|
<img src="/static/images/figma-home/mobile/footer-top.svg" width="36" height="36" alt="" />
|
|
</button>
|
|
</div>
|
|
{{if or .appConfig.NewURLAddr .appConfig.NewURLAddr1 .appConfig.ForeverURLAddr}}
|
|
<div class="home-mobile-footer-addrs" aria-label="访问地址">
|
|
{{if .appConfig.NewURLAddr}}
|
|
<a class="home-mobile-footer-addr" href="{{.appConfig.NewURLAddr}}" target="_blank" rel="sponsored nofollow noopener noreferrer"><span>最新地址</span><span class="home-mobile-footer-addr-url">{{.appConfig.NewURLAddr}}</span></a>
|
|
{{end}}
|
|
{{if .appConfig.NewURLAddr1}}
|
|
<a class="home-mobile-footer-addr" href="{{.appConfig.NewURLAddr1}}" target="_blank" rel="sponsored nofollow noopener noreferrer"><span>备用地址</span><span class="home-mobile-footer-addr-url">{{.appConfig.NewURLAddr1}}</span></a>
|
|
{{end}}
|
|
{{if .appConfig.ForeverURLAddr}}
|
|
<a class="home-mobile-footer-addr" href="{{.appConfig.ForeverURLAddr}}" target="_blank" rel="sponsored nofollow noopener noreferrer"><span>海外永久地址</span><span class="home-mobile-footer-addr-url">{{.appConfig.ForeverURLAddr}}</span></a>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|
|
</footer>
|
|
<footer class="footer-box">
|
|
<div class="footer-outer">
|
|
<div class="footer-main">
|
|
<div class="footer-product">
|
|
{{if or .footer.Brand.Title .footer.Brand.Content}}
|
|
<div class="footer-brand">
|
|
{{if .footer.Brand.Title}}
|
|
<a class="footer-brand-lockup" href="/">
|
|
<img class="footer-logo" src="/static/images/logo.png?v=3" alt="{{.footer.Brand.Title}}" title="{{.footer.Brand.Title}}" />
|
|
</a>
|
|
{{end}}
|
|
{{if .footer.Brand.Content}}
|
|
<div class="footer-muted-text">{{.footer.Brand.Content}}</div>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|
|
{{if or .appConfig.NewURLAddr .appConfig.NewURLAddr1 .appConfig.ForeverURLAddr}}
|
|
<div class="footer-contact" aria-label="访问地址">
|
|
<div class="footer-col-title">访问地址</div>
|
|
{{if .appConfig.NewURLAddr}}
|
|
<a class="footer-contact-line" href="{{.appConfig.NewURLAddr}}" target="_blank" rel="sponsored nofollow noopener noreferrer"><span class="footer-contact-label">最新地址</span><span class="footer-contact-url">{{.appConfig.NewURLAddr}}</span></a>
|
|
{{end}}
|
|
{{if .appConfig.NewURLAddr1}}
|
|
<a class="footer-contact-line" href="{{.appConfig.NewURLAddr1}}" target="_blank" rel="sponsored nofollow noopener noreferrer"><span class="footer-contact-label">备用地址</span><span class="footer-contact-url">{{.appConfig.NewURLAddr1}}</span></a>
|
|
{{end}}
|
|
{{if .appConfig.ForeverURLAddr}}
|
|
<a class="footer-contact-line" href="{{.appConfig.ForeverURLAddr}}" target="_blank" rel="sponsored nofollow noopener noreferrer"><span class="footer-contact-label">海外永久地址</span><span class="footer-contact-url">{{.appConfig.ForeverURLAddr}}</span></a>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
{{if .footer.NavList}}
|
|
{{with index .footer.NavList 0}}
|
|
{{if .TranslationList}}
|
|
<div class="footer-nav-col">
|
|
<div class="footer-col-title">帮助与支持</div>
|
|
<nav class="footer-links footer-muted-text" aria-label="页脚导航">
|
|
{{template "footerNavItems" .TranslationList}}
|
|
</nav>
|
|
</div>
|
|
{{end}}
|
|
{{end}}
|
|
{{end}}
|
|
</div>
|
|
<div class="footer-divider"></div>
|
|
<div class="footer-bottom">
|
|
{{if .footer.Brand.Title}}
|
|
<div class="footer-copy">© 2005-2026 {{.footer.Brand.Title}}. All rights reserved.</div>
|
|
{{end}}
|
|
{{if or .appConfig.TwitterAddr .appConfig.TGGroup}}
|
|
<div class="footer-social">
|
|
<div class="footer-social-label">联系我们</div>
|
|
<div class="footer-icons">
|
|
{{if .appConfig.TwitterAddr}}
|
|
<a class="footer-icon-link" href="{{.appConfig.TwitterAddr}}" target="_blank" rel="sponsored nofollow noopener noreferrer" aria-label="X">
|
|
<img class="footer-icon-outer" src="/static/images/x.svg" alt="X" />
|
|
</a>
|
|
{{end}}
|
|
{{if and .appConfig.TwitterAddr .appConfig.TGGroup}}
|
|
<div class="footer-icon-divider"></div>
|
|
{{end}}
|
|
{{if .appConfig.TGGroup}}
|
|
<a class="footer-icon-link" href="{{.appConfig.TGGroup}}" target="_blank" rel="sponsored nofollow noopener noreferrer" aria-label="Telegram">
|
|
<img class="footer-icon-outer" src="/static/images/tg.svg" alt="Telegram" />
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
<div class="footer-social-home" aria-label="合作与社交媒体">
|
|
{{if .appConfig.Telegram}}
|
|
<a class="footer-social-home-item" href="{{.appConfig.Telegram}}"{{if hasPrefix .appConfig.Telegram "http"}} target="_blank" rel="sponsored nofollow noopener noreferrer"{{end}} aria-label="商户合作"><img src="/static/images/figma-home/social-instagram.svg" alt="" /></a>
|
|
{{else}}
|
|
<span class="footer-social-home-item" aria-hidden="true"><img src="/static/images/figma-home/social-instagram.svg" alt="" /></span>
|
|
{{end}}
|
|
{{if .appConfig.TGGroup}}
|
|
<a class="footer-social-home-item" href="{{.appConfig.TGGroup}}" target="_blank" rel="sponsored nofollow noopener noreferrer" aria-label="Telegram"><img src="/static/images/figma-home/social-telegram.svg" alt="" /></a>
|
|
{{else}}
|
|
<span class="footer-social-home-item" aria-hidden="true"><img src="/static/images/figma-home/social-telegram.svg" alt="" /></span>
|
|
{{end}}
|
|
{{if .appConfig.TwitterAddr}}
|
|
<a class="footer-social-home-item" href="{{.appConfig.TwitterAddr}}" target="_blank" rel="sponsored nofollow noopener noreferrer" aria-label="X"><img src="/static/images/figma-home/social-x.svg" alt="" /></a>
|
|
{{else}}
|
|
<span class="footer-social-home-item" aria-hidden="true"><img src="/static/images/figma-home/social-x.svg" alt="" /></span>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
<nav class="h5-tabbar" aria-label="底部导航">
|
|
<a class="h5-tabbar-item{{if eq .navActive "home"}} is-active{{end}}" href="/">
|
|
<img class="h5-tabbar-icon" src="/static/images/tab_home{{if eq .navActive "home"}}_a{{end}}.svg" alt="主页" />
|
|
<span>主页</span>
|
|
</a>
|
|
<a class="h5-tabbar-item{{if eq .navActive "rank"}} is-active{{end}}" href="/rank/">
|
|
<img class="h5-tabbar-icon" src="/static/images/tab_rb{{if eq .navActive "rank"}}_a{{end}}.svg" alt="热榜" />
|
|
<span>热榜</span>
|
|
</a>
|
|
<a class="h5-tabbar-item{{if eq .navActive "list"}} is-active{{end}}" href="/list/ai-short-play/">
|
|
<img class="h5-tabbar-icon" src="/static/images/tab_pk{{if eq .navActive "list"}}_a{{end}}.svg" alt="片库" />
|
|
<span>片库</span>
|
|
</a>
|
|
<a class="h5-tabbar-item{{if eq .navActive "todayUpdate"}} is-active{{end}}" href="/today-update/">
|
|
<img class="h5-tabbar-icon" src="/static/images/tab_zx{{if eq .navActive "todayUpdate"}}_a{{end}}.svg" alt="最新" />
|
|
<span>最新</span>
|
|
</a>
|
|
<a class="h5-tabbar-item{{if eq .navActive "downloadApp"}} is-active{{end}}" href="{{if .appConfig.AppAddr}}{{.appConfig.AppAddr}}{{else}}/download-app/{{end}}"{{if .appConfig.AppAddr}} target="_blank" rel="sponsored nofollow noopener noreferrer"{{end}} data-download-app-open>
|
|
<img class="h5-tabbar-icon" src="/static/images/tab_app{{if eq .navActive "downloadApp"}}_a{{end}}.svg" alt="下载APP" />
|
|
<span>下载APP</span>
|
|
</a>
|
|
</nav>
|
|
<noscript>
|
|
<div><img src="https://mc.yandex.ru/watch/112967594" style="position:absolute; left:-9999px;" alt="" /></div>
|
|
</noscript>
|
|
{{template "scrollToTop" .}}
|
|
{{template "downloadAppFloat" .}}
|
|
<script defer src="/static/js/pages/footer.js?v=2"></script>
|
|
{{template "pageConsole" .}}
|
|
{{end}}
|
|
|
|
{{define "footerNavItems"}}
|
|
{{range .}}
|
|
{{if .Name}}
|
|
{{$footerHref := footerLinkURL .Name .URLValue}}
|
|
{{if $footerHref}}
|
|
{{if footerLinkIsExternal $footerHref}}
|
|
<a href="{{$footerHref}}" target="_blank" rel="sponsored nofollow noopener noreferrer">{{.Name}}</a>
|
|
{{else}}
|
|
<a href="{{$footerHref}}">{{.Name}}</a>
|
|
{{end}}
|
|
{{end}}
|
|
{{end}}
|
|
{{end}}
|
|
{{end}}
|