diff --git a/src/router/index.ts b/src/router/index.ts index 1faf49c..8168376 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -850,7 +850,7 @@ const routes: RouteRecordRaw[] = [ path: '/main', name: 'main', component: () => import('@/views/MainView.vue'), - redirect: '/shortVideo', + redirect: '/home', meta: { pageKey: 'main', pageName: '主页', diff --git a/src/utils/launchAdPopup.ts b/src/utils/launchAdPopup.ts index cdb56fe..99d23b6 100644 --- a/src/utils/launchAdPopup.ts +++ b/src/utils/launchAdPopup.ts @@ -5,7 +5,7 @@ export type LaunchAdPopupKey = 'nineGrid' | 'homeAdv' | 'announcement'; /** * 当前正在展示的启动广告弹窗,'' 表示整条链已走完。 - * 弹窗挂在 MainView,跟着启动落地页弹(不固定在首页,默认落在短视频 tab 也会弹); + * 弹窗挂在 MainView,跟着启动落地页弹(不依赖首页,落在任何 tab 都会弹); * 首页 HomeAdv 的弹窗队列须等这条链走完再开始,避免叠在一起。 */ export const launchAdPopupKey = ref(''); diff --git a/src/views/Splash.vue b/src/views/Splash.vue index 9e08690..577455a 100644 --- a/src/views/Splash.vue +++ b/src/views/Splash.vue @@ -141,8 +141,8 @@ function adControl() { const goApp = () => { // 仅启动后首次进首页允许弹老用户吸底;首页消费该标记 markHomeOldUserGuidePendingFromSplash(); - // 同安卓:启动固定落在短剧(默认 AI短剧) - router.replace('/shortVideo'); + // 同安卓:启动固定落在主页(默认选中「热门短剧」) + router.replace('/home'); let createAt = new Date(userStore.userInfo.createdAt).getTime(); let now = Date.now(); if (now - createAt > configStore.appConfig?.newbieSaleTime * 60 * 60 * 1000 && now - createAt > 3600000 * 24) {