diff --git a/frontend/index.html b/frontend/index.html index 7bd1602..1e4ccfc 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -3,7 +3,7 @@ - 哈夫币租号平台 + 大锤商行 diff --git a/frontend/src/App.vue b/frontend/src/App.vue index e27b114..1df1c16 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -8,6 +8,9 @@ import InAppBrowserPrompt from './components/InAppBrowserPrompt.vue' import AdminLayout from './layouts/AdminLayout.vue' import AppLayout from './layouts/AppLayout.vue' +/** 移动端从详情返回时保留列表状态与滚动位置 */ +const mobileKeepAliveIncludes = ['MobileHomeView'] + const route = useRoute() const layout = computed(() => { if (route.path === '/m' || route.path.startsWith('/m/')) { @@ -23,7 +26,11 @@ const layout = computed(() => { - + + + + + diff --git a/frontend/src/features/listings/views/MobileHomeView.vue b/frontend/src/features/listings/views/MobileHomeView.vue index b0770b0..7fc04cd 100644 --- a/frontend/src/features/listings/views/MobileHomeView.vue +++ b/frontend/src/features/listings/views/MobileHomeView.vue @@ -1,9 +1,17 @@