Compare commits
5
Commits
69c1ff6f11
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e57ab992ab | ||
|
|
845e647a3d | ||
|
|
5f50a05022 | ||
|
|
da84d25eda | ||
|
|
cb6cdb6d40 |
@@ -6,6 +6,6 @@ if [ "$(node -p 'process.versions.node.split(".")[0]')" -ge 17 ]; then
|
||||
fi
|
||||
pnpm run build
|
||||
zip -q -r dist.zip dist
|
||||
#黄果落地页地址 :https://huangguo.com
|
||||
#黄果落地页地址 :https://hgmj.com
|
||||
scp dist.zip root@172.104.166.87:/tmp/dist.zip
|
||||
ssh root@172.104.166.87 "set -e && rm -rf /tmp/extract && unzip -q /tmp/dist.zip -d /tmp/extract && cd /server/huangguo/landpage/dist/ && rm -rf ./* && mv /tmp/extract/dist/* . && rm -rf /tmp/extract /tmp/dist.zip && echo DEPLOY_OK"
|
||||
ssh root@172.104.166.87 "set -e && rm -rf /tmp/extract && unzip -q /tmp/dist.zip -d /tmp/extract && cd /server/hgmj/landpage/dist/ && rm -rf ./* && mv /tmp/extract/dist/* . && rm -rf /tmp/extract /tmp/dist.zip && echo DEPLOY_OK"
|
||||
|
||||
+42
-15
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
@@ -10,22 +10,49 @@
|
||||
<meta name="screen-orientation" content="portrait" />
|
||||
<meta name="x5-orientation" content="portrait" />
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||
<title>黄果漫剧 APP下载 | AI漫剧原创平台 海量好剧免费看</title>
|
||||
<meta name="description" content="黄果漫剧,AI漫剧原创平台。AI漫剧、AI短剧、AI换脸、AI魔改,不同主题不同惊喜,热门好剧天天上新。" />
|
||||
<meta name="keywords" content="黄果漫剧 AI漫剧 成人漫剧 漫剧 动漫短剧 AI短剧 AI换脸 AI魔改 国漫 古风 穿越 逆袭" />
|
||||
<!-- <meta name="rating" content="RTA-5042-1996-1400-1577-RTA" />-->
|
||||
<!-- <meta name="rating" content="adult" />-->
|
||||
<!-- <meta name="robots" content="index, follow" />-->
|
||||
<!-- TDK 与站点验证,同 huanguoai.net -->
|
||||
<title>黄果短剧 - AI成人短剧与原创黄剧每日更新</title>
|
||||
<meta name="description" content="黄果短剧专注 AI 成人短剧与原创成人短剧内容,覆盖甜宠、逆袭、虐恋、悬疑、都市、穿越、古风等热门题材,提供高清流畅在线播放,每日更新,打造稳定的成人短剧观看平台。">
|
||||
<meta name="keywords" content="黄果原创短剧,AI魔改短剧,原创AI短剧,黄果最新短剧,黄果短剧,成人短剧在线看,黄果官方网站,黄果APP,AI成人短剧,成人短剧,AI短剧,成人影集,短剧在线观看,成人短剧平台,免费视频在线观看">
|
||||
<meta name="robots" content="index,follow,max-image-preview:large,max-snippet:-1,max-video-preview:-1">
|
||||
<meta name="googlebot" content="index,follow,max-image-preview:large,max-snippet:-1,max-video-preview:-1">
|
||||
|
||||
<meta property="og:title" content="黄果漫剧 APP下载 | AI漫剧原创平台 海量好剧免费看" />
|
||||
<meta property="og:site_name" content="黄果漫剧" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:description" content="黄果漫剧,AI漫剧原创平台。AI漫剧、AI短剧、AI换脸、AI魔改,不同主题不同惊喜,热门好剧天天上新。" />
|
||||
<meta name="google-site-verification" content="VEhl0na6ZwYZgkdcdz8BcCR4LpYGFm97zbp62YqJHX4">
|
||||
<meta name="yandex-verification" content="56acf08532be3060">
|
||||
<meta name="msvalidate.01" content="57A5999E9B5167EE9039265EBCA2AE3A">
|
||||
<link rel="canonical" href="https://huanguoai.net/">
|
||||
|
||||
<meta name="twitter:title" content="黄果漫剧 APP下载 | AI漫剧原创平台 海量好剧免费看" />
|
||||
<meta name="twitter:description" content="黄果漫剧,AI漫剧原创平台。AI漫剧、AI短剧、AI换脸、AI魔改,不同主题不同惊喜,热门好剧天天上新。" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="twitter:site" content="黄果漫剧" />
|
||||
<meta property="og:locale" content="zh_CN">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:site_name" content="黄果短剧">
|
||||
<meta property="og:title" content="黄果短剧 - AI成人短剧与原创黄剧每日更新">
|
||||
<meta property="og:description" content="黄果短剧专注 AI 成人短剧与原创成人短剧内容,覆盖甜宠、逆袭、虐恋、悬疑、都市、穿越、古风等热门题材,提供高清流畅在线播放,每日更新,打造稳定的成人短剧观看平台。">
|
||||
<meta property="og:url" content="https://huanguoai.net/">
|
||||
<meta property="og:image" content="https://huanguoai.net/static/og-default.png">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:title" content="黄果短剧 - AI成人短剧与原创黄剧每日更新">
|
||||
<meta name="twitter:description" content="黄果短剧专注 AI 成人短剧与原创成人短剧内容,覆盖甜宠、逆袭、虐恋、悬疑、都市、穿越、古风等热门题材,提供高清流畅在线播放,每日更新,打造稳定的成人短剧观看平台。">
|
||||
<meta name="twitter:image" content="https://huanguoai.net/static/og-default.png">
|
||||
|
||||
<!-- 统计:Google Analytics、Yandex Metrika(同 huanguoai.net) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Q04W0RSFPH"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-Q04W0RSFPH');
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
(function(m,e,t,r,i,k,a){
|
||||
m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
|
||||
m[i].l=1*new Date();
|
||||
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
|
||||
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)
|
||||
})(window, document,'script','https://mc.yandex.ru/metrika/tag.js?id=113159962', 'ym');
|
||||
|
||||
ym(113159962, 'init', {ssr:true, webvisor:true, clickmap:true, ecommerce:"dataLayer", referrer: document.referrer, url: location.href, accurateTrackBounce:true, trackLinks:true});
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 9.2 KiB |
@@ -21,7 +21,10 @@ const router = new VueRouter({
|
||||
routes
|
||||
});
|
||||
router.beforeEach((to, from, next) => {
|
||||
// 路由未配置标题时保留 index.html 里的标题,避免被清空后标签页只显示网址
|
||||
if (to.meta.title) {
|
||||
document.title = to.meta.title;
|
||||
}
|
||||
next();
|
||||
});
|
||||
|
||||
|
||||
@@ -3,6 +3,16 @@
|
||||
<header class="topBar">
|
||||
<img class="topLogo" :src="logo" alt="黄果漫剧" />
|
||||
<span class="topBrand goldText">黄果漫剧</span>
|
||||
<a
|
||||
class="topLink"
|
||||
:href="businessUrl"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
@click.stop
|
||||
>
|
||||
<img class="topLinkIcon" :src="businessIcon" alt="" />
|
||||
<span class="goldText">官方商务</span>
|
||||
</a>
|
||||
</header>
|
||||
|
||||
<div class="track">
|
||||
@@ -135,7 +145,9 @@ export default {
|
||||
logo: require("@/assets/images/common/hgmj_logo.png"),
|
||||
tutorialImg: landImg("tutorial"),
|
||||
fastIcon: require("@/assets/images/land/icon/fast.svg"),
|
||||
iosIcon: require("@/assets/images/land/icon/ios.svg")
|
||||
iosIcon: require("@/assets/images/land/icon/ios.svg"),
|
||||
businessIcon: require("@/assets/images/land/icon/business.svg"),
|
||||
businessUrl: "https://t.me/jbd125"
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@@ -267,6 +279,23 @@ $bg: #0b0b0b;
|
||||
padding-right: 0.15em;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.topLink {
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
|
||||
.topLinkIcon {
|
||||
width: 23px;
|
||||
height: 20px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: 12px;
|
||||
line-height: 17px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 分区切图 */
|
||||
|
||||
@@ -19,6 +19,15 @@
|
||||
<span class="pcm-nav-line"></span>
|
||||
</button>
|
||||
</nav>
|
||||
<a
|
||||
class="pcm-link"
|
||||
:href="businessUrl"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
<img class="pcm-link-icon" :src="businessIcon" alt="" />
|
||||
<span class="pcm-gold">官方商务</span>
|
||||
</a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@@ -118,6 +127,8 @@ export default {
|
||||
logo: require("@/assets/images/common/hgmj_logo.png"),
|
||||
fastIcon: require("@/assets/images/land/icon/fast.svg"),
|
||||
iosIcon: require("@/assets/images/land/icon/ios.svg"),
|
||||
businessIcon: require("@/assets/images/land/icon/business.svg"),
|
||||
businessUrl: "https://t.me/jbd125",
|
||||
img: {
|
||||
hero: landImg("hero"),
|
||||
strip: landImg("strip"),
|
||||
@@ -290,6 +301,30 @@ export default {
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
/* 官方商务(同原站导航右侧链接) */
|
||||
.pcm-link {
|
||||
margin-left: v(64);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: v(10);
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
filter: brightness(1.1);
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: v(14);
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.pcm-link-icon {
|
||||
width: v(28);
|
||||
height: v(28);
|
||||
}
|
||||
|
||||
.pcm-nav-item.active {
|
||||
.pcm-nav-text {
|
||||
color: #f8ca06;
|
||||
|
||||
@@ -79,6 +79,11 @@ import pc2 from "./components/pc2";
|
||||
import tips from "./components/tips";
|
||||
import selectLinePopup from "./components/selectLinePopup";
|
||||
import { getTraceId } from "@/utils/traceId";
|
||||
|
||||
// 渠道包自动下载:进页面多久后触发
|
||||
const AUTO_DOWNLOAD_DELAY = 3000;
|
||||
// 社媒内置浏览器(Twitter / TikTok / Instagram 等)会拦截 APK 跳转,不做自动下载
|
||||
const SOCIAL_IN_APP_RE = /Twitter|Instagram|BytedanceWebview|TikTok|musical_ly|musical\.ly|Aweme/i;
|
||||
export default {
|
||||
components: {
|
||||
mobile1,
|
||||
@@ -100,7 +105,9 @@ export default {
|
||||
apiUrls: JSON.parse(process.env.VUE_APP_BASE_HOSTS), // api数组
|
||||
showOverlay: false, // 显示选线弹窗
|
||||
version: "A",
|
||||
trace_id: getTraceId()
|
||||
trace_id: getTraceId(),
|
||||
initPromise: null, // init 只跑一次:自动下载和页面初始化共用这一份请求
|
||||
autoDownloadFired: false // 渠道包自动下载只触发一次
|
||||
};
|
||||
},
|
||||
|
||||
@@ -114,6 +121,8 @@ export default {
|
||||
this.getPcUrl();
|
||||
this.os = userAgent();
|
||||
this.init();
|
||||
// 渠道包:安卓端进页面 3 秒后自动下载 APK(bottonlist 没返回 channelApkAndDownUrl 时不触发)
|
||||
this.autoDownloadChannelApk();
|
||||
const referrer = document.referrer;
|
||||
if (referrer) {
|
||||
sessionStorage.setItem("referrer", referrer);
|
||||
@@ -129,9 +138,44 @@ export default {
|
||||
getPcUrl() {
|
||||
this.page_pc_url = window.location.href;
|
||||
},
|
||||
async init() {
|
||||
init() {
|
||||
if (!this.initPromise) {
|
||||
this.initPromise = (async () => {
|
||||
await this.getIp();
|
||||
await this.getButtonlist();
|
||||
})();
|
||||
}
|
||||
return this.initPromise;
|
||||
},
|
||||
/**
|
||||
* 渠道包自动下载:bottonlist 返回 channelApkAndDownUrl 有值时,
|
||||
* 安卓端进页面 delay 毫秒后自动拉起该 APK(整个页面生命周期只触发一次)。
|
||||
* iOS 装不了 APK、社媒内置浏览器会被拦截跳出,这两种情况都跳过,交给用户手动点。
|
||||
*/
|
||||
async autoDownloadChannelApk(delay = AUTO_DOWNLOAD_DELAY) {
|
||||
const ua = navigator.userAgent;
|
||||
const isIos = /iphone|ipad|ipod/i.test(ua);
|
||||
if (this.autoDownloadFired || isIos || SOCIAL_IN_APP_RE.test(ua)) return;
|
||||
this.autoDownloadFired = true;
|
||||
try {
|
||||
// 计时与拉接口并行:3 秒从进页面算起,接口慢就等接口回来再下
|
||||
await Promise.all([
|
||||
this.init(),
|
||||
new Promise(resolve => setTimeout(resolve, delay))
|
||||
]);
|
||||
const url = String(
|
||||
(this.switchData && this.switchData.channelApkAndDownUrl) || ""
|
||||
).trim();
|
||||
if (!url) return;
|
||||
await this.doCopy(); // 写归因剪贴板
|
||||
// 自动下载同样记一次点击,统计口径与手动点下载一致
|
||||
this.fetchLinks("android").catch(err =>
|
||||
console.log("自动下载埋点失败" + err)
|
||||
);
|
||||
this.jumpToLink(url);
|
||||
} catch (err) {
|
||||
console.log("渠道包自动下载失败" + err);
|
||||
}
|
||||
},
|
||||
// 去掉空值后序列化渠道参数
|
||||
filterChannel() {
|
||||
|
||||
Reference in New Issue
Block a user