From a403393c1190994b473e679e1751794d9a1b9502 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期二, 01 七月 2025 10:36:07 +0800
Subject: [PATCH] add: 分享+景点管理

---
 pages/home/home.vue |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/pages/home/home.vue b/pages/home/home.vue
index bc09653..7095440 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -35,7 +35,7 @@
       <SectionTitle title="全球影视地标" optitle="查看全部" goUrl="/pages/home/home-more" />
       <GlobalGeo />
 
-      <SectionTitle title="场景博物馆" optitle="查看全部" goUrl="/pages/home/home-more" />
+      <SectionTitle title="场景博物馆" optitle="查看全部" goUrl="/sub-pages/hot-spot/index" />
       <SceneMuseumCard v-for="(item, index) in cardList" :key="index" :image="item.image" :title="item.title"
         :subtitle="item.subtitle" :readTime="item.readTime" />
 
@@ -62,7 +62,6 @@
 import Community from './community.vue'
 import { SwiperChangeEvent } from '@dcloudio/uni-app'
 import { useGlobal } from '@/composables/useGlobal'
-import { number } from 'uview-plus/libs/function/test'
 const { $http, $message, $store } = useGlobal()
 import { FilmWorks } from '@/types/index'
 import { formatRelativeTime } from '@/utils/time'
@@ -80,7 +79,7 @@
 
 
 // 旅行卡片数据
-const detailUrl = '/api/filmworks/list'
+const detailUrl = '/sub-pages/film-list/film-detail'
 const tripCardList = ref<FilmWorks[]>([])
 
 // 分页后的数组,每页3条
@@ -164,8 +163,6 @@
 const communityPage = ref(1)
 const communitySize = 10
 const communityStatus = ref('loading')
-
-
 const getCommunitys = async () => {
   if (communityStatus.value === 'nomore') return
 
@@ -190,9 +187,6 @@
     communityStatus.value = 'noMore'
   }
 }
-const getCommunitys_bak = async () => {
-  communitys.value = await getFilmWorks(FilmWorksCategory.COMMUNITY, 10, 1);
-}
 // 内容精选
 const getFilmWorks = async (type: String, pageSize: Number, currentPage: Number) => {
   const {
@@ -210,7 +204,6 @@
     $message.showToast('系统异常,无法获取数据')
     return null;
   }
-
 }
 
 // 下一页

--
Gitblit v1.9.3