|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<view class="home-container page-home d-flex flex-col bg-base">
|
|
|
<Image
|
|
|
- innerClass="position-absolute"
|
|
|
+ innerClass="main-banner position-absolute"
|
|
|
width="100%"
|
|
|
src="https://mncdn.wenlvti.net/app_static/minnan/images/home/BackgroundBanner5.jpg"
|
|
|
mode="widthFix"
|
|
|
@@ -9,41 +9,72 @@
|
|
|
<view class="content d-flex flex-col wing-l">
|
|
|
|
|
|
<!-- 分栏 -->
|
|
|
- <view class="shadow-l radius-l bg-base p-3">
|
|
|
+ <view class="shadow-base radius-l bg-base p-3">
|
|
|
+ <!--
|
|
|
+ 点击介绍
|
|
|
+ @click="navTo('introduction')"
|
|
|
+ -->
|
|
|
<view
|
|
|
- class="main-banner-box"
|
|
|
- @click="navTo('home/introduction')"
|
|
|
+ class="main-banner-box mb-25"
|
|
|
>
|
|
|
- <text class="title">闽南文化生态保护区(厦门市)</text>
|
|
|
- <text>世界闽南文化交流中心</text>
|
|
|
- <view class="more">
|
|
|
- <text>查看详情</text>
|
|
|
- </view>
|
|
|
+ <text class="title">世界闽南文化交流中心</text>
|
|
|
+ <text>闽南文化生态保护区(厦门市)</text>
|
|
|
<Image
|
|
|
innerClass="footer"
|
|
|
src="https://mncdn.wenlvti.net/app_static/minnan/images/home/MainBanner2.png"
|
|
|
+ :width="280"
|
|
|
mode="widthFix"
|
|
|
/>
|
|
|
</view>
|
|
|
- <view class="position-relative d-flex flex-row flex-wrap justify-between mt-3">
|
|
|
-
|
|
|
- <view
|
|
|
- v-for="(tab, k) in subTabs"
|
|
|
- :key="k"
|
|
|
- class="d-flex flex-column justify-center align-center width-1-4 mt-2 mb-2"
|
|
|
- @click="tab.onClick"
|
|
|
- >
|
|
|
- <Image width="65%" :src="tab.icon" mode="widthFix" :innerStyle="{ maxHeight: '100rpx' }" />
|
|
|
- <text class="color-second-text mt-2 size-base text-align-center">{{ tab.name }}</text>
|
|
|
- </view>
|
|
|
+
|
|
|
+ <view class="position-relative d-flex flex-row flex-wrap justify-between mt-25 row-gap-sss">
|
|
|
+ <HomeButton
|
|
|
+ title="常识一点通"
|
|
|
+ icon="https://mncdn.wenlvti.net/app_static/minnan/images/home/IconMap.png"
|
|
|
+ :size="50"
|
|
|
+ @click="navTo('/pages/introduction/explore')"
|
|
|
+ />
|
|
|
+ <HomeButton
|
|
|
+ title="闽南新鲜事"
|
|
|
+ icon="https://mncdn.wenlvti.net/app_static/minnan/images/home/IconDoc.png"
|
|
|
+ :size="50"
|
|
|
+ @click="navTo('/pages/introduction/news')"
|
|
|
+ />
|
|
|
+ <HomeButton
|
|
|
+ title="遗产报你知"
|
|
|
+ icon="https://mncdn.wenlvti.net/app_static/minnan/images/home/IconIch.png"
|
|
|
+ :size="50"
|
|
|
+ @click="navTo('/pages/introduction/inhert')"
|
|
|
+ />
|
|
|
+ <HomeButton
|
|
|
+ title="文化新视角"
|
|
|
+ icon="https://mncdn.wenlvti.net/app_static/minnan/images/home/IconReserch.png"
|
|
|
+ :size="50"
|
|
|
+ @click="navTo('/pages/research/index')"
|
|
|
+ />
|
|
|
+ <HomeButton
|
|
|
+ title="世界走透透"
|
|
|
+ icon="https://mncdn.wenlvti.net/app_static/minnan/images/home/IconArtifact.png"
|
|
|
+ :size="50"
|
|
|
+ @click="navTo('/pages/introduction/communicate')"
|
|
|
+ />
|
|
|
+ <HomeButton
|
|
|
+ title="来厦门䢐迌"
|
|
|
+ icon="https://mncdn.wenlvti.net/app_static/minnan/images/home/IconDiscover.png"
|
|
|
+ :size="50"
|
|
|
+ @click="navTo('/pages/introduction/travel')"
|
|
|
+ />
|
|
|
+ </view>
|
|
|
|
|
|
+ <view class="position-relative d-flex flex-row flex-wrap justify-between mt-3">
|
|
|
<Box1AudioPlay
|
|
|
- class="w-100 mt-3"
|
|
|
+ class="w-100"
|
|
|
:title="indexAudioPlayer.currentTitle.value"
|
|
|
:image="indexAudioPlayer.currentItem?.value?.image"
|
|
|
:playState="indexAudioPlayer.isPlaying.value"
|
|
|
:playTime="indexAudioPlayer.timeString.value"
|
|
|
@playPauseClick="indexAudioPlayer.playpause"
|
|
|
+ @arrowClick="handleGoAudioList"
|
|
|
@nextClick="indexAudioPlayer.next"
|
|
|
@prevClick="indexAudioPlayer.prev"
|
|
|
@click="handleGoAudioList"
|
|
|
@@ -53,35 +84,46 @@
|
|
|
|
|
|
<!-- 数据统计 -->
|
|
|
<SimplePageContentLoader :loader="statsLoader">
|
|
|
- <view v-if="statsLoader.content.value" class="d-flex flex-col justify-center mt-3 pt-3 b-3">
|
|
|
- <view class="d-flex flex-row align-center">
|
|
|
- <view class="d-flex flex-col w-50">
|
|
|
- <StatsText
|
|
|
- :title="statsLoader.content.value[0].title"
|
|
|
- :data="statsLoader.content.value[0].datas"
|
|
|
- :type="statsLoader.content.value[0].type"
|
|
|
- />
|
|
|
- <view class="p-2">
|
|
|
- <HorizontalScrollText :text="statsText1" :fontSize="26" color="text.second" :outerStyle="{ height: '40rpx' }" />
|
|
|
- </view>
|
|
|
+ <view v-if="statsLoader.content.value" class="d-flex flex-col justify-center mt-3 pt-3 pb-3 bg-light-page radius-base">
|
|
|
+ <view class="d-flex flex-col">
|
|
|
+ <StatsText
|
|
|
+ :title="statsLoader.content.value[0].title"
|
|
|
+ :data="statsLoader.content.value[0].datas"
|
|
|
+ :type="statsLoader.content.value[0].type"
|
|
|
+ />
|
|
|
+ <view class="p-2">
|
|
|
+ <HorizontalScrollText :text="statsText1" :fontSize="26" color="text.second" :outerStyle="{ height: '40rpx' }" />
|
|
|
</view>
|
|
|
- <view class="d-flex flex-col w-50">
|
|
|
- <StatsText
|
|
|
- classNames="border-left-forth"
|
|
|
- :title="statsLoader.content.value[1].title"
|
|
|
- :data="statsLoader.content.value[1].datas"
|
|
|
- :type="statsLoader.content.value[1].type"
|
|
|
- />
|
|
|
- <view class="p-2">
|
|
|
- <HorizontalScrollText :text="statsText2" :fontSize="26" color="text.second" :outerStyle="{ height: '40rpx' }" />
|
|
|
- </view>
|
|
|
+ </view>
|
|
|
+ <view class="border-top-light-primary pt-2 mt-3"></view>
|
|
|
+ <view class="d-flex flex-col">
|
|
|
+ <StatsText
|
|
|
+ :title="statsLoader.content.value[1].title"
|
|
|
+ :data="statsLoader.content.value[1].datas"
|
|
|
+ :type="statsLoader.content.value[1].type"
|
|
|
+ />
|
|
|
+ <view class="p-2">
|
|
|
+ <HorizontalScrollText :text="statsText2" :fontSize="26" color="text.second" :outerStyle="{ height: '40rpx' }" />
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="border-top-forth pt-2 mt-3"></view>
|
|
|
+ <view class="border-top-light-primary pt-2 mt-3"></view>
|
|
|
<StatsText
|
|
|
+ :title="statsLoader.content.value[2].title"
|
|
|
:data="statsLoader.content.value[2].datas"
|
|
|
:type="statsLoader.content.value[2].type"
|
|
|
/>
|
|
|
+ <view class="border-top-light-primary pt-2 mt-3"></view>
|
|
|
+ <StatsText
|
|
|
+ :title="statsLoader.content.value[3].title"
|
|
|
+ :data="statsLoader.content.value[3].datas"
|
|
|
+ :type="statsLoader.content.value[3].type"
|
|
|
+ />
|
|
|
+ <view class="border-top-light-primary pt-2 mt-3"></view>
|
|
|
+ <StatsText
|
|
|
+ :title="statsLoader.content.value[4].title"
|
|
|
+ :data="statsLoader.content.value[4].datas"
|
|
|
+ :type="statsLoader.content.value[4].type"
|
|
|
+ />
|
|
|
</view>
|
|
|
</SimplePageContentLoader>
|
|
|
|
|
|
@@ -95,7 +137,7 @@
|
|
|
:enable-zoom="false"
|
|
|
:enable-scroll="false"
|
|
|
:scale="15"
|
|
|
- @click="navTo('inhert/map/index', { tab: mapTab })"
|
|
|
+ @click="navTo('/pages/inhert/map/index', { tab: mapTab })"
|
|
|
/>
|
|
|
<scroll-view class="map-tags position-absolute" :scroll-x="true">
|
|
|
<view class="tag-bar d-flex flex-row flex-nowrap">
|
|
|
@@ -150,114 +192,32 @@
|
|
|
</SimplePageContentLoader>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <tabbar :current="0"></tabbar>
|
|
|
+ <Tabbar :current="0" />
|
|
|
</template>
|
|
|
|
|
|
<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';
|
|
|
-const ImageTest = 'https://mncdn.wenlvti.net/app_static/minnan/images/home/ImageTest.jpg';
|
|
|
-
|
|
|
import { ref, watch } from 'vue';
|
|
|
import { onShareTimeline, onShareAppMessage } from '@dcloudio/uni-app';
|
|
|
import { navTo } from '@/components/utils/PageAction';
|
|
|
import { useSimpleDataLoader } from '@/common/composeabe/SimpleDataLoader';
|
|
|
import { useSimpleListAudioPlayer } from '@/common/composeabe/SimpleAudioPlayer';
|
|
|
+import { navCommonList } from '@/pages/article/common/CommonContent';
|
|
|
import CommonContent, { GetContentListParams } from '@/api/CommonContent';
|
|
|
import UnmoveableContent from '@/api/inheritor/UnmoveableContent';
|
|
|
import SeminarContent from '@/api/inheritor/SeminarContent';
|
|
|
import ProjectsContent from '@/api/inheritor/ProjectsContent';
|
|
|
-import ProductsContent from '@/api/inheritor/ProductsContent';
|
|
|
import AppCofig from '@/common/config/AppCofig';
|
|
|
import VillageApi from '@/api/inhert/VillageApi';
|
|
|
import ScenicSpotContent from '@/api/fusion/ScenicSpotContent';
|
|
|
import IndexContent from '@/api/introduction/IndexContent';
|
|
|
-import StatsText, { type StatsTextItem } from './parts/StatsText.vue';
|
|
|
+import StatsText, { type StatsTextItem } from '../parts/StatsText.vue';
|
|
|
import HomeTitle from '@/pages/parts/HomeTitle.vue';
|
|
|
-import Tabbar from '@/common/components/tabs/tabbar.vue';
|
|
|
+import Tabbar from '@/common/components/tabs/Tabbar.vue';
|
|
|
import Box1AudioPlay from '@/pages/parts/Box1AudioPlay.vue';
|
|
|
import SimplePageContentLoader from "@/common/components/SimplePageContentLoader.vue";
|
|
|
import HorizontalScrollText from '@/components/typography/HorizontalScrollText.vue';
|
|
|
-import { navHomePageMiniCommonListGo } from './article/common/CommonContent';
|
|
|
import Image from '@/components/basic/Image.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')
|
|
|
- }, */
|
|
|
-];
|
|
|
+import HomeButton from '../parts/HomeButton.vue';
|
|
|
|
|
|
const mapCtx = uni.createMapContext('map');
|
|
|
const mapTab = ref(1);
|
|
|
@@ -313,8 +273,8 @@ watch(mapTab, () => mapLoader.loadData(undefined, true));
|
|
|
const indexAudioPlayer = useSimpleListAudioPlayer(async () => {
|
|
|
return (await CommonContent.getContentList(new GetContentListParams()
|
|
|
.setModelId(5)
|
|
|
- .setMainBodyColumnId(313)
|
|
|
- , 1, 6)).list.sort(() => Math.random()>0.5?-1:1).map((p) => {
|
|
|
+ .setMainBodyColumnId(321)
|
|
|
+ , 1, 10)).list.sort((a, b) => -1).map((p) => {
|
|
|
return {
|
|
|
id: p.id,
|
|
|
title: p.title,
|
|
|
@@ -339,10 +299,6 @@ const recommendLoader = useSimpleDataLoader(async () => {
|
|
|
p.itemType = p.type == GetContentListParams.TYPE_VIDEO ? 'video' : 'artifact';
|
|
|
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;
|
|
|
});
|
|
|
const statsText1 = ref('');
|
|
|
@@ -350,9 +306,6 @@ const statsText2 = ref('');
|
|
|
const statsLoader = useSimpleDataLoader(async () => {
|
|
|
const data = (await IndexContent.getStats());
|
|
|
|
|
|
- const semiCount = (await SeminarContent.getContentList(new GetContentListParams(), 1, 6)).total;
|
|
|
- const unmoveableCount = (await UnmoveableContent.getContentList(new GetContentListParams(), 1, 6)).total;
|
|
|
-
|
|
|
let sumInheritor = 0;
|
|
|
let sumProject = 0;
|
|
|
const topLevelProject = data.ichData.find((p: any) => p.level_text == '人类非遗')?.total || 0;
|
|
|
@@ -360,9 +313,9 @@ const statsLoader = useSimpleDataLoader(async () => {
|
|
|
const thirdLevelProject = data.ichData.find((p: any) => p.level_text == '省级')?.total || 0;
|
|
|
const forthLevelProject = data.ichData.find((p: any) => p.level_text == '市级')?.total || 0;
|
|
|
|
|
|
- const topLevelInheritor = data.ichData.find((p: any) => p.level_text == '国家级')?.total || 0;
|
|
|
- const secondLevelInheritor = data.ichData.find((p: any) => p.level_text == '省级')?.total || 0;
|
|
|
- const thirdLevelInheritor = data.ichData.find((p: any) => p.level_text == '市级')?.total || 0;
|
|
|
+ const topLevelInheritor = data.inheritorData.find((p: any) => p.level_text == '国家级')?.total || 0;
|
|
|
+ const secondLevelInheritor = data.inheritorData.find((p: any) => p.level_text == '省级')?.total || 0;
|
|
|
+ const thirdLevelInheritor = data.inheritorData.find((p: any) => p.level_text == '市级')?.total || 0;
|
|
|
|
|
|
const projects = (data.ichData as any[]).filter((p: any) => [ '人类非遗', '国家级', '省级', '市级' ].includes(p.level_text)).map((item: any) => {
|
|
|
if (item.level_text != '人类非遗')
|
|
|
@@ -370,6 +323,8 @@ const statsLoader = useSimpleDataLoader(async () => {
|
|
|
return {
|
|
|
title: item.level_text,
|
|
|
value: item.total,
|
|
|
+ titleSuffix: '项',
|
|
|
+ type: 'forth',
|
|
|
onClick: () => navTo('/pages/inhert/intangible/list', { tab: 0, level: item.level }),
|
|
|
} as StatsTextItem
|
|
|
});
|
|
|
@@ -378,92 +333,80 @@ const statsLoader = useSimpleDataLoader(async () => {
|
|
|
return {
|
|
|
title: item.title,
|
|
|
value: item.total,
|
|
|
+ titleSuffix: '人',
|
|
|
+ type: 'normal',
|
|
|
onClick: () => navTo('/pages/inhert/inheritor/list', { level: item.level }),
|
|
|
}
|
|
|
- }).concat([
|
|
|
- {
|
|
|
- title: '',
|
|
|
- value: '',
|
|
|
- }
|
|
|
- ]);
|
|
|
+ });
|
|
|
|
|
|
statsText1.value = `目前厦门市非遗项目市级以上共有 ${sumProject} 项,其中:国家级 ${secondLevelProject} 项(含 ${topLevelProject} 项为人类非遗)、省级 ${thirdLevelProject} 项、市级 ${forthLevelProject} 项。`;
|
|
|
statsText2.value = `目前厦门市非遗传承人市级以上共有 ${sumInheritor} 人,其中:国家级 ${topLevelInheritor} 人、省级 ${secondLevelInheritor} 人、市级 ${thirdLevelInheritor} 人。`;
|
|
|
-
|
|
|
- /* projects.splice(1, 0, {
|
|
|
- title: `(其中${topLevelProject}项为人类非遗)`,
|
|
|
- value: ' ',
|
|
|
- longTitle: true,
|
|
|
- onClick: () => navTo('/pages/inhert/intangible/list', { tab: 0, level: 0 }),
|
|
|
- }) */
|
|
|
|
|
|
return [
|
|
|
{
|
|
|
- title: '非遗项目',
|
|
|
+ title: '非物质文化遗产代表性项目',
|
|
|
datas: projects
|
|
|
},
|
|
|
{
|
|
|
- title: '非遗传承人',
|
|
|
+ title: '非物质文化遗产代表性传承人',
|
|
|
datas: inheritors
|
|
|
},
|
|
|
{
|
|
|
- datas: [
|
|
|
- {
|
|
|
- title: '非遗传习所',
|
|
|
- value: semiCount,
|
|
|
- onClick: () => navTo('/pages/inhert/map/index', { tab: 2 }),
|
|
|
- },
|
|
|
- {
|
|
|
- title: '传统村落',
|
|
|
- value: data.villageData[0].total,
|
|
|
- onClick: () => navTo('/pages/inhert/village/list'),
|
|
|
- },
|
|
|
- {
|
|
|
- title: '文物古迹',
|
|
|
- value: unmoveableCount,
|
|
|
- onClick: () => navTo('/pages/inhert/artifact/list'),
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- title: '不可移动文物',
|
|
|
- type: 'none',
|
|
|
- datas: data.crData.map((item: any) => {
|
|
|
- return {
|
|
|
- title: item.title,
|
|
|
- value: item.total
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
- {
|
|
|
- title: '闽南文化重要相关文物古迹',
|
|
|
- type: 'none',
|
|
|
- datas: data.minnanCr.map((item: any) => {
|
|
|
+ title: '非物质文化遗产传习中心',
|
|
|
+ datas: data.ichCenter.map((item: any) => {
|
|
|
return {
|
|
|
title: item.title,
|
|
|
- value: item.total
|
|
|
+ value: item.total,
|
|
|
+ titleSuffix: '处',
|
|
|
+ type: 'normal',
|
|
|
+ onClick: () => navTo('/pages/inhert/seminar/list', { region: item.id }),
|
|
|
}
|
|
|
- })
|
|
|
+ }),
|
|
|
},
|
|
|
{
|
|
|
title: '重要相关历史风貌区',
|
|
|
- type: 'none',
|
|
|
datas: data.historyData.map((item: any) => {
|
|
|
return {
|
|
|
title: item.title,
|
|
|
- value: item.total
|
|
|
+ value: item.total,
|
|
|
+ titleSuffix: '处',
|
|
|
+ onClick: () => {
|
|
|
+ switch (item.title) {
|
|
|
+ case '世界文化遗产':
|
|
|
+ navCommonList({
|
|
|
+ title: '世界文化遗产',
|
|
|
+ modelId: 17,
|
|
|
+ mainBodyColumnId: 310
|
|
|
+ });
|
|
|
+ break;
|
|
|
+ case '传统村落':
|
|
|
+ navTo('/pages/inhert/village/list');
|
|
|
+ break;
|
|
|
+ case '重点区域':
|
|
|
+ navCommonList({
|
|
|
+ title: '重点区域',
|
|
|
+ modelId: 17,
|
|
|
+ mainBodyColumnId: 283
|
|
|
+ });
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ },
|
|
|
}
|
|
|
- })
|
|
|
+ }),
|
|
|
},
|
|
|
{
|
|
|
- title: '传习中心',
|
|
|
+ title: '闽南文化重要相关文物古迹',
|
|
|
type: 'none',
|
|
|
- datas: data.ichCenter.map((item: any) => {
|
|
|
+ datas: data.minnanCr.map((item: any) => {
|
|
|
return {
|
|
|
title: item.title,
|
|
|
- value: item.total
|
|
|
+ value: item.total,
|
|
|
+ titleSuffix: '处',
|
|
|
+ onClick: () => navTo('/pages/inhert/artifact/list', {
|
|
|
+ level: item.level
|
|
|
+ }),
|
|
|
}
|
|
|
- })
|
|
|
+ }),
|
|
|
},
|
|
|
]
|
|
|
|
|
|
@@ -496,8 +439,12 @@ onShareAppMessage(() => {
|
|
|
|
|
|
<style lang="scss">
|
|
|
.page-home {
|
|
|
+
|
|
|
+ .main-banner {
|
|
|
+ top: 0rpx;
|
|
|
+ }
|
|
|
.content {
|
|
|
- margin-top: 470rpx;
|
|
|
+ margin-top: 400rpx;
|
|
|
}
|
|
|
|
|
|
.map-tags {
|
|
|
@@ -546,7 +493,7 @@ onShareAppMessage(() => {
|
|
|
overflow: hidden;
|
|
|
border-radius: 15rpx;
|
|
|
background: linear-gradient(180deg, #E5CDAB 0%, #F0E3D6 100%), #F7F3E8;
|
|
|
- padding: 20rpx;
|
|
|
+ padding: 30rpx 20rpx;
|
|
|
font-family: "SongtiSCBlack";
|
|
|
color: #432A04;
|
|
|
|
|
|
@@ -559,11 +506,14 @@ onShareAppMessage(() => {
|
|
|
}
|
|
|
.more {
|
|
|
margin-top: 30rpx;
|
|
|
- padding: 10rpx 20rpx;
|
|
|
- width: 150rpx;
|
|
|
- background-image: url('https://mncdn.wenlvti.net/app_static/minnan/images/home/MainBanner.png');
|
|
|
- background-size: 100% auto;
|
|
|
- background-repeat: no-repeat;
|
|
|
+ padding: 10rpx 18rpx;
|
|
|
+ width: 180rpx;
|
|
|
+
|
|
|
+ &.badge {
|
|
|
+ background-image: url('https://mncdn.wenlvti.net/app_static/minnan/images/home/MainBanner.png');
|
|
|
+ background-size: 100% auto;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ }
|
|
|
|
|
|
text {
|
|
|
font-family: initial;
|
|
|
@@ -572,9 +522,9 @@ onShareAppMessage(() => {
|
|
|
}
|
|
|
.footer {
|
|
|
position: absolute;
|
|
|
- right: 0;
|
|
|
- bottom: 0;
|
|
|
- width: 370rpx;
|
|
|
+ right: -80rpx;
|
|
|
+ bottom: -10rpx;
|
|
|
+ width: 180rpx;
|
|
|
z-index: 2;
|
|
|
height: auto;
|
|
|
}
|