|
@@ -187,15 +187,6 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
|
-const MainBoxIcon1 = 'https://mncdn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon10.png';
|
|
|
|
|
-const MainBoxIcon2 = 'https://mncdn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon2.png';
|
|
|
|
|
-const MainBoxIcon3 = 'https://mncdn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon3.png';
|
|
|
|
|
-const MainBoxIcon4 = 'https://mncdn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon4.png';
|
|
|
|
|
-const MainBoxIcon5 = 'https://mncdn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon5.png';
|
|
|
|
|
-const MainBoxIcon6 = 'https://mncdn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon6.png';
|
|
|
|
|
-const MainBoxIcon7 = 'https://mncdn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon9.png';
|
|
|
|
|
-const MainBoxIcon8 = 'https://mncdn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon8.png';
|
|
|
|
|
-
|
|
|
|
|
import { ref, watch } from 'vue';
|
|
import { ref, watch } from 'vue';
|
|
|
import { onShareTimeline, onShareAppMessage } from '@dcloudio/uni-app';
|
|
import { onShareTimeline, onShareAppMessage } from '@dcloudio/uni-app';
|
|
|
import { navTo } from '@/components/utils/PageAction';
|
|
import { navTo } from '@/components/utils/PageAction';
|
|
@@ -205,7 +196,6 @@ import CommonContent, { GetContentListParams } from '@/api/CommonContent';
|
|
|
import UnmoveableContent from '@/api/inheritor/UnmoveableContent';
|
|
import UnmoveableContent from '@/api/inheritor/UnmoveableContent';
|
|
|
import SeminarContent from '@/api/inheritor/SeminarContent';
|
|
import SeminarContent from '@/api/inheritor/SeminarContent';
|
|
|
import ProjectsContent from '@/api/inheritor/ProjectsContent';
|
|
import ProjectsContent from '@/api/inheritor/ProjectsContent';
|
|
|
-import ProductsContent from '@/api/inheritor/ProductsContent';
|
|
|
|
|
import AppCofig from '@/common/config/AppCofig';
|
|
import AppCofig from '@/common/config/AppCofig';
|
|
|
import VillageApi from '@/api/inhert/VillageApi';
|
|
import VillageApi from '@/api/inhert/VillageApi';
|
|
|
import ScenicSpotContent from '@/api/fusion/ScenicSpotContent';
|
|
import ScenicSpotContent from '@/api/fusion/ScenicSpotContent';
|
|
@@ -216,82 +206,9 @@ import Tabbar from '@/common/components/tabs/Tabbar.vue';
|
|
|
import Box1AudioPlay from '@/pages/parts/Box1AudioPlay.vue';
|
|
import Box1AudioPlay from '@/pages/parts/Box1AudioPlay.vue';
|
|
|
import SimplePageContentLoader from "@/common/components/SimplePageContentLoader.vue";
|
|
import SimplePageContentLoader from "@/common/components/SimplePageContentLoader.vue";
|
|
|
import HorizontalScrollText from '@/components/typography/HorizontalScrollText.vue';
|
|
import HorizontalScrollText from '@/components/typography/HorizontalScrollText.vue';
|
|
|
-import { navHomePageMiniCommonListGo } from './article/common/CommonContent';
|
|
|
|
|
import Image from '@/components/basic/Image.vue';
|
|
import Image from '@/components/basic/Image.vue';
|
|
|
import HomeButton from './parts/HomeButton.vue';
|
|
import HomeButton from './parts/HomeButton.vue';
|
|
|
|
|
|
|
|
-const subTabs = [
|
|
|
|
|
- {
|
|
|
|
|
- name: '非遗名录',
|
|
|
|
|
- icon: MainBoxIcon6 ,
|
|
|
|
|
- onClick: () => navTo('/pages/inhert/intangible/list')
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- name: '文物古迹',
|
|
|
|
|
- icon: MainBoxIcon5 ,
|
|
|
|
|
- onClick: () => navTo('/pages/inhert/artifact/list')
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- name: '语言文化',
|
|
|
|
|
- icon: MainBoxIcon1,
|
|
|
|
|
- onClick: () => navHomePageMiniCommonListGo({
|
|
|
|
|
- title: '语言文化',
|
|
|
|
|
- mainBodyColumnId: 235,
|
|
|
|
|
- modelId: 5,
|
|
|
|
|
- itemType: 'article-common',
|
|
|
|
|
- detailsPage: '/pages/article/details',
|
|
|
|
|
- })
|
|
|
|
|
- }, {
|
|
|
|
|
- name: '建筑文化',
|
|
|
|
|
- icon: MainBoxIcon8 ,
|
|
|
|
|
- onClick: () => navHomePageMiniCommonListGo({
|
|
|
|
|
- title: '建筑文化',
|
|
|
|
|
- mainBodyColumnId: 252,
|
|
|
|
|
- modelId: 3,
|
|
|
|
|
- itemType: 'article-common',
|
|
|
|
|
- detailsPage: '/pages/article/details',
|
|
|
|
|
- })
|
|
|
|
|
- },
|
|
|
|
|
- { name: '历史人物', icon: MainBoxIcon3, onClick: () => navTo('/pages/introduction/character/list') },
|
|
|
|
|
- {
|
|
|
|
|
- name: '民间习俗',
|
|
|
|
|
- icon: MainBoxIcon4,
|
|
|
|
|
- onClick: () => navHomePageMiniCommonListGo({
|
|
|
|
|
- title: '民间习俗',
|
|
|
|
|
- modelId: 4,
|
|
|
|
|
- itemType: 'article-common',
|
|
|
|
|
- detailsPage: '/pages/article/details',
|
|
|
|
|
- })
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- name: '饮食文化',
|
|
|
|
|
- icon: MainBoxIcon2,
|
|
|
|
|
- onClick: () => navHomePageMiniCommonListGo({
|
|
|
|
|
- title: '饮食文化',
|
|
|
|
|
- mainBodyColumnId: 253,
|
|
|
|
|
- modelId: 3,
|
|
|
|
|
- itemType: 'article-common',
|
|
|
|
|
- detailsPage: '/pages/article/details',
|
|
|
|
|
- })
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- name: '海洋文化',
|
|
|
|
|
- icon: 'https://mncdn.wenlvti.net/app_static/minnan/images/home/MainBoxIcon11.png',
|
|
|
|
|
- onClick: () => navHomePageMiniCommonListGo({
|
|
|
|
|
- title: '海洋文化',
|
|
|
|
|
- mainBodyColumnId: 254,
|
|
|
|
|
- modelId: 3,
|
|
|
|
|
- itemType: 'article-common',
|
|
|
|
|
- detailsPage: '/pages/article/details',
|
|
|
|
|
- })
|
|
|
|
|
- },
|
|
|
|
|
- /* {
|
|
|
|
|
- name: '老字号',
|
|
|
|
|
- icon: MainBoxIcon7 ,
|
|
|
|
|
- onClick: () => navTo('/pages/inhert/old/list')
|
|
|
|
|
- }, */
|
|
|
|
|
-];
|
|
|
|
|
-
|
|
|
|
|
const mapCtx = uni.createMapContext('map');
|
|
const mapCtx = uni.createMapContext('map');
|
|
|
const mapTab = ref(1);
|
|
const mapTab = ref(1);
|
|
|
const mapLoader = useSimpleDataLoader(async () => {
|
|
const mapLoader = useSimpleDataLoader(async () => {
|
|
@@ -372,10 +289,6 @@ const recommendLoader = useSimpleDataLoader(async () => {
|
|
|
p.itemType = p.type == GetContentListParams.TYPE_VIDEO ? 'video' : 'artifact';
|
|
p.itemType = p.type == GetContentListParams.TYPE_VIDEO ? 'video' : 'artifact';
|
|
|
return p;
|
|
return p;
|
|
|
}));
|
|
}));
|
|
|
- /* list.push(...(await ProductsContent.getContentList(new GetContentListParams(), 1, 6)).list.map((p) => {
|
|
|
|
|
- p.itemType = p.type == GetContentListParams.TYPE_VIDEO ? 'video' : 'intangible';
|
|
|
|
|
- return p;
|
|
|
|
|
- })); */
|
|
|
|
|
return list;
|
|
return list;
|
|
|
});
|
|
});
|
|
|
const statsText1 = ref('');
|
|
const statsText1 = ref('');
|
|
@@ -497,11 +410,6 @@ function handleGoDetails(item: any) {
|
|
|
break;
|
|
break;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-function handleGoTab(url: string) {
|
|
|
|
|
- uni.switchTab({
|
|
|
|
|
- url: url,
|
|
|
|
|
- })
|
|
|
|
|
-}
|
|
|
|
|
|
|
|
|
|
onShareTimeline(() => {
|
|
onShareTimeline(() => {
|
|
|
return {};
|
|
return {};
|