diff --git a/auto-imports.d.ts b/auto-imports.d.ts index d0c217f..03983a3 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -71,6 +71,6 @@ declare global { // for type re-export declare global { // @ts-ignore - export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue' + export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue' import('vue') } diff --git a/index.html b/index.html index 8822013..5628e17 100644 --- a/index.html +++ b/index.html @@ -11,32 +11,32 @@ - 黄果短剧|成人短剧APP|每日更新|海量高清 - - + 51短剧|成人短剧APP|每日更新|海量高清 + + - - + + - + - - + + - + - + diff --git a/public/b-land/assets/logo-icon-activity.png b/public/b-land/assets/logo-icon-activity.png index 04959fd..9284baa 100644 Binary files a/public/b-land/assets/logo-icon-activity.png and b/public/b-land/assets/logo-icon-activity.png differ diff --git a/public/b-land/assets/wordmark-white-1line.png b/public/b-land/assets/wordmark-white-1line.png index 2dbd57c..f4b3626 100644 Binary files a/public/b-land/assets/wordmark-white-1line.png and b/public/b-land/assets/wordmark-white-1line.png differ diff --git a/public/b-land/assets/wordmark-white-2line.png b/public/b-land/assets/wordmark-white-2line.png index b90e3a8..829146f 100644 Binary files a/public/b-land/assets/wordmark-white-2line.png and b/public/b-land/assets/wordmark-white-2line.png differ diff --git a/public/favicon.ico b/public/favicon.ico index 373f2c1..0c2463b 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/logo.png b/public/logo.png index 0a8bf69..737202a 100644 Binary files a/public/logo.png and b/public/logo.png differ diff --git a/src/api/btn.ts b/src/api/btn.ts index a632d5a..5cbc57c 100644 --- a/src/api/btn.ts +++ b/src/api/btn.ts @@ -1,4 +1,5 @@ import { useHttp } from '../utils/userFetchReq' +import { APP_ID } from '~/config/app' import type { donwloadParam, ButtonListParam, H5param } from './interface' // 下载相关接口对齐 bili-landpage-client,域名写死(接口已开 CORS: *) @@ -14,15 +15,12 @@ export const bottonclick = (param: donwloadParam) => { return useHttp.post(`${STAT_API}/bottonclick`, param, {}) } -// iOS H5 描述文件的 appId 写死 -const H5_CONFIG_APP_ID = 2 - // iOS H5 描述文件:返回 .mobileconfig 原文(非 JSON),不走 useHttp export const downloadH5 = async (data: H5param): Promise => { const res = await fetch(`${STAT_API}/h5/config`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, - body: JSON.stringify({ ...data, appId: H5_CONFIG_APP_ID }), + body: JSON.stringify({ ...data, appId: APP_ID }), }) if (!res.ok) throw new Error('获取描述文件失败 ' + res.status) return res.text() diff --git a/src/api/interface/index.ts b/src/api/interface/index.ts index 147e6df..a70b637 100644 --- a/src/api/interface/index.ts +++ b/src/api/interface/index.ts @@ -25,7 +25,7 @@ export type donwloadParam = { packageType?: number // 1 企业签 / 2 商店包 / 3 TF } export type H5param = { - appId?: number // 请求时固定为 2,见 api/btn.ts downloadH5 + appId?: number // 请求时取 config/app.ts 的 APP_ID,见 api/btn.ts downloadH5 dc?: string pc?: string [key: string]: number | string | undefined diff --git a/src/assets/image/hg/common/logo-h.png b/src/assets/image/hg/common/logo-h.png index da19aaf..2710624 100644 Binary files a/src/assets/image/hg/common/logo-h.png and b/src/assets/image/hg/common/logo-h.png differ diff --git a/src/assets/image/hg/common/logo-h.webp b/src/assets/image/hg/common/logo-h.webp index ac890d5..91ed911 100644 Binary files a/src/assets/image/hg/common/logo-h.webp and b/src/assets/image/hg/common/logo-h.webp differ diff --git a/src/assets/logo.png b/src/assets/logo.png index 2678ae1..1bdbc01 100644 Binary files a/src/assets/logo.png and b/src/assets/logo.png differ diff --git a/src/assets/logo.webp b/src/assets/logo.webp index 6d5953e..b2a74e6 100644 Binary files a/src/assets/logo.webp and b/src/assets/logo.webp differ diff --git a/src/components/landing-b/LandingBMobile.vue b/src/components/landing-b/LandingBMobile.vue index 5ffaa38..7afba5a 100644 --- a/src/components/landing-b/LandingBMobile.vue +++ b/src/components/landing-b/LandingBMobile.vue @@ -1,5 +1,6 @@ diff --git a/src/components/mobile/IosSafariOpenGuide.vue b/src/components/mobile/IosSafariOpenGuide.vue index 3e66c5e..b6dacff 100644 --- a/src/components/mobile/IosSafariOpenGuide.vue +++ b/src/components/mobile/IosSafariOpenGuide.vue @@ -9,9 +9,9 @@
- hgaidj.app + {{ siteHost }}
@@ -46,7 +46,7 @@ -

官方备用地址  hgaidj.app

+

官方备用地址  {{ siteHost }}

@@ -60,6 +60,9 @@ import safariIcon from '~/assets/image/hg/mobile/guide/safari-icon.svg' import copyIcon from '~/assets/image/hg/mobile/guide/icon-copy.svg' import iconBack from '~/assets/image/hg/mobile/guide/icon-back.svg' +// 当前落地页域名,随部署域名变化 +const siteHost = window.location.host + const props = defineProps<{ show: boolean /** iOS 描述文件下载地址(含渠道参数);为空时暂不展示链接 */ diff --git a/src/config/app.ts b/src/config/app.ts index 9e74f66..b45b6e0 100644 --- a/src/config/app.ts +++ b/src/config/app.ts @@ -1,2 +1,6 @@ -// 黄果 App 在下载接口(blsp01.com /api/stat/version)的 appId -export const APP_ID = 2 +// 51短剧 App 在下载接口(blsp01.com /api/stat/version)的 appId +export const APP_ID = 6 + +// 品牌信息:落地页、安装引导统一从这里取 +export const APP_NAME = '51短剧' +export const APP_DOMAIN = '51djlandpage.mfcg.me' diff --git a/src/utils/useAppDownload.ts b/src/utils/useAppDownload.ts index 81a3e4f..631414f 100644 --- a/src/utils/useAppDownload.ts +++ b/src/utils/useAppDownload.ts @@ -158,7 +158,7 @@ export function useAppDownload() { */ async function download(index = 0, terminal: Terminal = isIos ? 'ios' : 'android') { const trace_id = renewSessionTraceId() - // 写剪贴板供 App 首次启动读取做安装归因:整包 URL 参数 + tid(黄果 App 按 tid 读) + // 写剪贴板供 App 首次启动读取做安装归因:整包 URL 参数 + tid(51短剧 App 按 tid 读) copyToClipboard(JSON.stringify({ ...route.query, tid: trace_id })) if (terminal === 'ios' && index !== 1) {