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
+22 -22
View File
@@ -1,7 +1,7 @@
{{define "footer"}}
<link rel="stylesheet" href="/static/css/footer.css?v=12" />
<footer class="home-mobile-footer">
<img class="home-mobile-footer-logo" src="/static/images/logo.png" width="127" height="40" alt="黄果短剧" title="黄果短剧" />
<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>
@@ -21,12 +21,12 @@
<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" data-nav-key="social_telegram" data-nav-name="Telegram"><img src="/static/images/figma-home/mobile/footer-telegram.svg" width="38" height="38" alt="" /></a>
<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" data-nav-key="social_x" data-nav-name="X"><img src="/static/images/figma-home/mobile/footer-x.svg" width="38" height="38" alt="" /></a>
<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}}
@@ -43,8 +43,8 @@
{{if or .footer.Brand.Title .footer.Brand.Content}}
<div class="footer-brand">
{{if .footer.Brand.Title}}
<a class="footer-brand-lockup" href="/" data-nav-key="home" data-nav-name="首页">
<img class="footer-logo" src="/static/images/logo.png" alt="{{.footer.Brand.Title}}" title="{{.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}}
@@ -55,13 +55,13 @@
{{if or .appConfig.NewURLAddr .appConfig.NewURLAddr1 .appConfig.ForeverURLAddr}}
<div class="footer-contact" aria-label="访问地址">
{{if .appConfig.NewURLAddr}}
<a class="footer-contact-line" href="{{.appConfig.NewURLAddr}}" target="_blank" rel="sponsored nofollow noopener noreferrer" data-nav-key="latest_address" data-nav-name="最新地址">最新地址:{{.appConfig.NewURLAddr}}</a>
<a class="footer-contact-line" href="{{.appConfig.NewURLAddr}}" target="_blank" rel="sponsored nofollow noopener noreferrer">最新地址:{{.appConfig.NewURLAddr}}</a>
{{end}}
{{if .appConfig.NewURLAddr1}}
<a class="footer-contact-line" href="{{.appConfig.NewURLAddr1}}" target="_blank" rel="sponsored nofollow noopener noreferrer" data-nav-key="backup_address" data-nav-name="备用地址">备用地址:{{.appConfig.NewURLAddr1}}</a>
<a class="footer-contact-line" href="{{.appConfig.NewURLAddr1}}" target="_blank" rel="sponsored nofollow noopener noreferrer">备用地址:{{.appConfig.NewURLAddr1}}</a>
{{end}}
{{if .appConfig.ForeverURLAddr}}
<a class="footer-contact-line" href="{{.appConfig.ForeverURLAddr}}" target="_blank" rel="sponsored nofollow noopener noreferrer" data-nav-key="permanent_address" data-nav-name="海外永久地址">海外永久地址:{{.appConfig.ForeverURLAddr}}</a>
<a class="footer-contact-line" href="{{.appConfig.ForeverURLAddr}}" target="_blank" rel="sponsored nofollow noopener noreferrer">海外永久地址:{{.appConfig.ForeverURLAddr}}</a>
{{end}}
</div>
{{end}}
@@ -86,7 +86,7 @@
<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" data-nav-key="social_x" data-nav-name="X">
<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}}
@@ -94,7 +94,7 @@
<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" data-nav-key="social_telegram" data-nav-name="Telegram">
<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}}
@@ -103,17 +103,17 @@
{{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="商户合作" data-nav-key="business_contact" data-nav-name="商户合作"><img src="/static/images/figma-home/social-instagram.svg" alt="" /></a>
<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" data-nav-key="social_telegram" data-nav-name="Telegram"><img src="/static/images/figma-home/social-telegram.svg" alt="" /></a>
<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" data-nav-key="social_x" data-nav-name="X"><img src="/static/images/figma-home/social-x.svg" alt="" /></a>
<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}}
@@ -122,25 +122,25 @@
</div>
</footer>
<nav class="h5-tabbar" aria-label="底部导航">
<a class="h5-tabbar-item{{if eq .navActive "home"}} is-active{{end}}" href="/" data-nav-key="home" data-nav-name="主页">
<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/" data-nav-key="rank" data-nav-name="热榜">
<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/" data-nav-key="list" data-nav-name="片库">
<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/" data-nav-key="today_update" data-nav-name="最新">
<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 "userCenter"}} is-active{{end}}" href="/user-center/" data-nav-key="user_center" data-nav-name="我的">
<img class="h5-tabbar-icon" src="/static/images/tab_wd{{if eq .navActive "userCenter"}}_a{{end}}.svg" alt="我的" />
<span>我的</span>
<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>
@@ -158,9 +158,9 @@
{{$footerHref := footerLinkURL .Name .URLValue}}
{{if $footerHref}}
{{if footerLinkIsExternal $footerHref}}
<a href="{{$footerHref}}" target="_blank" rel="sponsored nofollow noopener noreferrer" data-nav-key="footer_link" data-nav-name="{{.Name}}">{{.Name}}</a>
<a href="{{$footerHref}}" target="_blank" rel="sponsored nofollow noopener noreferrer">{{.Name}}</a>
{{else}}
<a href="{{$footerHref}}" data-nav-key="footer_link" data-nav-name="{{.Name}}">{{.Name}}</a>
<a href="{{$footerHref}}">{{.Name}}</a>
{{end}}
{{end}}
{{end}}