This commit is contained in:
谢宇宁
2026-09-15 18:00:56 +07:00
parent 2d63d37930
commit b9c8a59b6c
33 changed files with 232 additions and 2393 deletions
+17 -66
View File
@@ -2,7 +2,6 @@
import { useLandingB } from './useLandingB'
const {
SOCIAL_LINKS,
FEATURED,
GENRES,
FAQS,
@@ -104,21 +103,6 @@ const {
<symbol id="i-si-android" viewBox="0 0 24 24">
<path fill="currentColor" d="M18.4395 5.5586c-.675 1.1664-1.352 2.3318-2.0274 3.498-.0366-.0155-.0742-.0286-.1113-.043-1.8249-.6957-3.484-.8-4.42-.787-1.8551.0185-3.3544.4643-4.2597.8203-.084-.1494-1.7526-3.021-2.0215-3.4864a1.1451 1.1451 0 0 0-.1406-.1914c-.3312-.364-.9054-.4859-1.379-.203-.475.282-.7136.9361-.3886 1.5019 1.9466 3.3696-.0966-.2158 1.9473 3.3593.0172.031-.4946.2642-1.3926 1.0177C2.8987 12.176.452 14.772 0 18.9902h24c-.119-1.1108-.3686-2.099-.7461-3.0683-.7438-1.9118-1.8435-3.2928-2.7402-4.1836a12.1048 12.1048 0 0 0-2.1309-1.6875c.6594-1.122 1.312-2.2559 1.9649-3.3848.2077-.3615.1886-.7956-.0079-1.1191a1.1001 1.1001 0 0 0-.8515-.5332c-.5225-.0536-.9392.3128-1.0488.5449zm-.0391 8.461c.3944.5926.324 1.3306-.1563 1.6503-.4799.3197-1.188.0985-1.582-.4941-.3944-.5927-.324-1.3307.1563-1.6504.4727-.315 1.1812-.1086 1.582.4941zM7.207 13.5273c.4803.3197.5506 1.0577.1563 1.6504-.394.5926-1.1038.8138-1.584.4941-.48-.3197-.5503-1.0577-.1563-1.6504.4008-.6021 1.1087-.8106 1.584-.4941z" />
</symbol>
<symbol id="i-si-x" viewBox="0 0 24 24">
<path fill="currentColor" d="M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z" />
</symbol>
<symbol id="i-si-telegram" viewBox="0 0 24 24">
<path fill="currentColor" d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z" />
</symbol>
<symbol id="i-si-instagram" viewBox="0 0 24 24">
<path fill="currentColor" d="M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077" />
</symbol>
<symbol id="i-si-tiktok" viewBox="0 0 24 24">
<path fill="currentColor" d="M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z" />
</symbol>
<symbol id="i-si-youtube" viewBox="0 0 24 24">
<path fill="currentColor" d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z" />
</symbol>
</svg>
<!-- ============ NAV 导航栏 ============ -->
@@ -129,7 +113,7 @@ const {
<img class="wm" :src="assetUrl('wordmark-white-1line.png')" alt="黄果短剧" />
</a>
<div class="right">
<button class="btn glass xs" data-track="download" @click="handleDownload()">
<button class="btn glass xs" @click="handleDownload()">
<svg class="ic"><use href="#i-download" /></svg>
下载 APP
</button>
@@ -188,7 +172,7 @@ const {
<template v-if="hasIosShopPackage">
<button
class="btn primary has-rec"
data-track="download"
@click="handleIosStoreAction"
>
<svg class="ic brandico"><use href="#i-si-apple" /></svg>
@@ -197,7 +181,7 @@ const {
</button>
<button
class="btn outline"
data-track="download"
@click="handleDownload('ios-lite', currentHero)"
>
<svg class="ic brandico"><use href="#i-si-apple" /></svg>
@@ -207,7 +191,7 @@ const {
<button
v-else
class="btn primary"
data-track="download"
@click="handleDownload('ios-lite', currentHero)"
>
<svg class="ic brandico"><use href="#i-si-apple" /></svg>
@@ -223,7 +207,7 @@ const {
<template v-else>
<button
class="btn primary"
data-track="download"
@click="handleDownload('android', currentHero)"
>
<svg class="ic brandico"><use href="#i-si-android" /></svg>
@@ -280,16 +264,16 @@ const {
<!-- 题材筛选器:点击不切换筛选,统一触发下载 -->
<div class="filters" data-reveal>
<div class="seg lg">
<button class="on" data-track="download" @click="handleFilterClick">全部</button>
<button data-track="download" @click="handleFilterClick">短剧</button>
<button data-track="download" @click="handleFilterClick">影集</button>
<button class="on" @click="handleFilterClick">全部</button>
<button @click="handleFilterClick">短剧</button>
<button @click="handleFilterClick">影集</button>
</div>
<div class="gchips">
<button
v-for="g in GENRES"
:key="g"
class="chip"
data-track="download"
@click="handleFilterClick"
>
{{ g }}
@@ -308,7 +292,7 @@ const {
>
<div class="rc">
<span class="rank">{{ i + 1 }}</span>
<div class="poster" data-track="download" @click="handleDownload(undefined, d)">
<div class="poster" @click="handleDownload(undefined, d)">
<img :src="assetUrl(d.cover)" :alt="d.t" loading="lazy" />
<span class="badge" :class="{ dark: d.kind === '影集' }">
{{ d.kind === '影集' ? '影集' : '原创' }}
@@ -441,7 +425,7 @@ const {
<div class="btns">
<button
class="btn primary"
data-track="download"
@click="handleDownload('ios-lite')"
>
<svg class="ic brandico"><use href="#i-si-apple" /></svg>
@@ -450,7 +434,7 @@ const {
<button
v-if="hasIosShopPackage"
class="btn outline"
data-track="download"
@click="handleDownload('ios-store')"
>
<svg class="ic brandico"><use href="#i-si-apple" /></svg>
@@ -458,7 +442,7 @@ const {
</button>
<button
class="btn glass"
data-track="download"
@click="handleDownload('android')"
>
<svg class="ic brandico"><use href="#i-si-android" /></svg>
@@ -484,11 +468,6 @@ const {
<div class="left" data-reveal>
<span class="kicker">常见问题</span>
<h2 class="h2">关于黄果,<br />你想知道的</h2>
<p>还有其他问题?欢迎随时联络我们。</p>
<a class="link brand" :href="SOCIAL_LINKS.telegram" target="_blank" rel="noopener">
联络我们
<svg class="ic"><use href="#i-arrow-right" /></svg>
</a>
</div>
<div class="acc" data-reveal>
<div
@@ -583,29 +562,11 @@ const {
<img class="ico" :src="assetUrl('logo-icon-activity.png')" alt="黄果短剧" />
<img class="wm" :src="assetUrl('wordmark-white-2line.png')" alt="黄果短剧 huangguo.com" />
</div>
<div class="soc">
<a class="circ" :href="SOCIAL_LINKS.x" target="_blank" rel="noopener" aria-label="X">
<svg class="ic brandico"><use href="#i-si-x" /></svg>
</a>
<a class="circ" :href="SOCIAL_LINKS.telegram" target="_blank" rel="noopener" aria-label="Telegram">
<svg class="ic brandico"><use href="#i-si-telegram" /></svg>
</a>
<a class="circ" :href="SOCIAL_LINKS.instagram" target="_blank" rel="noopener" aria-label="Instagram">
<svg class="ic brandico"><use href="#i-si-instagram" /></svg>
</a>
<a class="circ" :href="SOCIAL_LINKS.tiktok" target="_blank" rel="noopener" aria-label="TikTok">
<svg class="ic brandico"><use href="#i-si-tiktok" /></svg>
</a>
<a class="circ" :href="SOCIAL_LINKS.youtube" target="_blank" rel="noopener" aria-label="YouTube">
<svg class="ic brandico"><use href="#i-si-youtube" /></svg>
</a>
</div>
<div class="fl">
<a href="#works" @click.prevent="switchView('landing', '#works')">作品精选</a>
<a href="#about" @click.prevent="switchView('landing', '#about')">关于黄果</a>
<a href="#faq" @click.prevent="switchView('landing', '#faq')">常见问题</a>
<a href="#" data-track="download" @click.prevent="handleDownload()">下载 APP</a>
<a :href="SOCIAL_LINKS.telegram" target="_blank" rel="noopener">联系我们</a>
<a href="#" @click.prevent="handleDownload()">下载 APP</a>
</div>
<div class="legal">
<b>18 U.S.C. 2257 记录保存要求合规声明</b>
@@ -624,7 +585,7 @@ const {
<b>黄果短剧 App</b>
<span>免费下载&nbsp;&nbsp;海量短剧每日更新</span>
</div>
<button class="btn primary" data-track="download" @click="handleDownload()">
<button class="btn primary" @click="handleDownload()">
<svg class="ic"><use href="#i-download" /></svg>
下载 APP
</button>
@@ -763,7 +724,7 @@ const {
<div class="bar2">
<button
class="btn primary md block"
data-track="download"
type="button"
@click="handleInstallGuidePrimary"
>
@@ -823,7 +784,7 @@ const {
<div class="bar2">
<button
class="btn primary md block"
data-track="download"
type="button"
@click="handleInstallGuidePrimary"
>
@@ -2316,16 +2277,6 @@ footer .lockup img.wm {
width: auto;
}
footer .soc {
display: flex;
gap: 14px;
}
footer .soc .circ {
width: 44px;
height: 44px;
}
footer .fl {
display: flex;
gap: 32px;