|
@@ -8,7 +8,7 @@
|
|
|
<view class="content d-flex flex-col ">
|
|
<view class="content d-flex flex-col ">
|
|
|
|
|
|
|
|
<!-- 非遗项目 -->
|
|
<!-- 非遗项目 -->
|
|
|
- <HomeTitle title="非遗项目" showMore inWing @clickMore="navTo('inhert/intangible/list')" />
|
|
|
|
|
|
|
+ <HomeTitle title="非遗名录" showMore inWing @clickMore="navTo('inhert/intangible/list')" />
|
|
|
<SimplePageContentLoader :loader="intangibleData" >
|
|
<SimplePageContentLoader :loader="intangibleData" >
|
|
|
<scroll-view scroll-x>
|
|
<scroll-view scroll-x>
|
|
|
<view class="padding-wing-l pb-3 pt-3 d-flex flex-row overflow-visible align-stretch">
|
|
<view class="padding-wing-l pb-3 pt-3 d-flex flex-row overflow-visible align-stretch">
|
|
@@ -93,7 +93,30 @@
|
|
|
</scroll-view>
|
|
</scroll-view>
|
|
|
</SimplePageContentLoader>
|
|
</SimplePageContentLoader>
|
|
|
|
|
|
|
|
- <!-- 闽南语在线课程 -->
|
|
|
|
|
|
|
+ <!-- 老字号 -->
|
|
|
|
|
+ <HomeTitle title="老字号" showMore inWing @clickMore="navTo('/pages/inhert/old/list')" />
|
|
|
|
|
+ <SimplePageContentLoader :loader="oldData">
|
|
|
|
|
+ <scroll-view scroll-x>
|
|
|
|
|
+ <view class="padding-wing-l pb-3 pt-3 d-flex flex-row overflow-visible align-stretch">
|
|
|
|
|
+ <Box2LineLargeImageUserShadow
|
|
|
|
|
+ v-for="(item, i) in oldData.content.value"
|
|
|
|
|
+ classNames="width-2-3 mr-2"
|
|
|
|
|
+ fixSize
|
|
|
|
|
+ titleColor="title-text"
|
|
|
|
|
+ :key="i"
|
|
|
|
|
+ :title="item.title"
|
|
|
|
|
+ :desc="item.desc"
|
|
|
|
|
+ :image="item.thumbnail"
|
|
|
|
|
+ :bottomLocate="(item.regionText as string)"
|
|
|
|
|
+ :bottomScore="''"
|
|
|
|
|
+ @click="navTo('/pages/inhert/intangible/details', { id: item.id })"
|
|
|
|
|
+ />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </scroll-view>
|
|
|
|
|
+ </SimplePageContentLoader>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 闽南语在线课程-->
|
|
|
<HomeTitle title="闽南语在线课程" :showMore="false" inWing @clickMore="goCourseList" />
|
|
<HomeTitle title="闽南语在线课程" :showMore="false" inWing @clickMore="goCourseList" />
|
|
|
<SimplePageContentLoader :loader="corseData" >
|
|
<SimplePageContentLoader :loader="corseData" >
|
|
|
<scroll-view scroll-x>
|
|
<scroll-view scroll-x>
|
|
@@ -125,9 +148,29 @@
|
|
|
/>
|
|
/>
|
|
|
</view>
|
|
</view>
|
|
|
</SimplePageContentLoader>
|
|
</SimplePageContentLoader>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 传统村落 -->
|
|
|
|
|
+ <HomeTitle title="传统村落" showMore inWing @clickMore="navTo('/pages/inhert/village/list')" />
|
|
|
|
|
+ <SimplePageContentLoader :loader="villageData">
|
|
|
|
|
+ <scroll-view scroll-x>
|
|
|
|
|
+ <view class="padding-wing-l pb-3 pt-3 d-flex flex-row overflow-visible align-stretch">
|
|
|
|
|
+ <Box2LineLargeImageUserShadow
|
|
|
|
|
+ v-for="(item, i) in villageData.content.value"
|
|
|
|
|
+ classNames="width-2-3 mr-2"
|
|
|
|
|
+ fixSize
|
|
|
|
|
+ titleColor="title-text"
|
|
|
|
|
+ :key="i"
|
|
|
|
|
+ :title="item.title"
|
|
|
|
|
+ :desc="item.desc"
|
|
|
|
|
+ :image="item.image"
|
|
|
|
|
+ @click="navTo('/pages/inhert/village/details', { id: item.id })"
|
|
|
|
|
+ />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </scroll-view>
|
|
|
|
|
+ </SimplePageContentLoader>
|
|
|
|
|
|
|
|
<view class="d-flex flex-col wing-l">
|
|
<view class="d-flex flex-col wing-l">
|
|
|
- <!-- 闽南语原创歌曲 -->
|
|
|
|
|
|
|
+ <!-- 闽南语原创歌曲
|
|
|
<HomeTitle title="闽南语原创歌曲" showMore @clickMore="goMingnanSongsList" />
|
|
<HomeTitle title="闽南语原创歌曲" showMore @clickMore="goMingnanSongsList" />
|
|
|
|
|
|
|
|
<SimplePageContentLoader :loader="mingnanSongsData" >
|
|
<SimplePageContentLoader :loader="mingnanSongsData" >
|
|
@@ -143,6 +186,7 @@
|
|
|
@click="goMingnanSongsDetail(s.id)"
|
|
@click="goMingnanSongsDetail(s.id)"
|
|
|
/>
|
|
/>
|
|
|
</SimplePageContentLoader>
|
|
</SimplePageContentLoader>
|
|
|
|
|
+ -->
|
|
|
|
|
|
|
|
<!-- 闽南语作品库
|
|
<!-- 闽南语作品库
|
|
|
<HomeTitle title="闽南语作品库" showMore @clickMore="goSongsList" />
|
|
<HomeTitle title="闽南语作品库" showMore @clickMore="goSongsList" />
|
|
@@ -158,28 +202,6 @@
|
|
|
-->
|
|
-->
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <!-- 老字号 -->
|
|
|
|
|
- <HomeTitle title="老字号" showMore inWing @clickMore="navTo('/pages/inhert/old/list')" />
|
|
|
|
|
- <SimplePageContentLoader :loader="oldData">
|
|
|
|
|
- <scroll-view scroll-x>
|
|
|
|
|
- <view class="padding-wing-l pb-3 pt-3 d-flex flex-row overflow-visible align-stretch">
|
|
|
|
|
- <Box2LineLargeImageUserShadow
|
|
|
|
|
- v-for="(item, i) in oldData.content.value"
|
|
|
|
|
- classNames="width-2-3 mr-2"
|
|
|
|
|
- fixSize
|
|
|
|
|
- titleColor="title-text"
|
|
|
|
|
- :key="i"
|
|
|
|
|
- :title="item.title"
|
|
|
|
|
- :desc="item.desc"
|
|
|
|
|
- :image="item.thumbnail"
|
|
|
|
|
- :bottomLocate="(item.regionText as string)"
|
|
|
|
|
- :bottomScore="''"
|
|
|
|
|
- @click="navTo('/pages/inhert/intangible/details', { id: item.id })"
|
|
|
|
|
- />
|
|
|
|
|
- </view>
|
|
|
|
|
- </scroll-view>
|
|
|
|
|
- </SimplePageContentLoader>
|
|
|
|
|
-
|
|
|
|
|
<!-- 童趣记忆
|
|
<!-- 童趣记忆
|
|
|
<HomeTitle title="童趣记忆" showMore inWing @clickMore="goMemoryList" />
|
|
<HomeTitle title="童趣记忆" showMore inWing @clickMore="goMemoryList" />
|
|
|
<SimplePageContentLoader :loader="memoryData" >
|
|
<SimplePageContentLoader :loader="memoryData" >
|
|
@@ -201,7 +223,7 @@
|
|
|
</SimplePageContentLoader>
|
|
</SimplePageContentLoader>
|
|
|
-->
|
|
-->
|
|
|
|
|
|
|
|
- <!-- 闽南文化百科 -->
|
|
|
|
|
|
|
+ <!-- 闽南文化百科
|
|
|
<view class="d-flex flex-col wing-l">
|
|
<view class="d-flex flex-col wing-l">
|
|
|
<HomeTitle title="闽南文化百科" showMore @clickMore="goTopicsList" />
|
|
<HomeTitle title="闽南文化百科" showMore @clickMore="goTopicsList" />
|
|
|
<SimplePageContentLoader :loader="topicsData">
|
|
<SimplePageContentLoader :loader="topicsData">
|
|
@@ -213,7 +235,7 @@
|
|
|
@click="goTopicsDetail(item.id)"
|
|
@click="goTopicsDetail(item.id)"
|
|
|
/>
|
|
/>
|
|
|
</SimplePageContentLoader>
|
|
</SimplePageContentLoader>
|
|
|
- </view>
|
|
|
|
|
|
|
+ </view> -->
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -238,6 +260,7 @@ import ProductsContent from '@/api/inheritor/ProductsContent';
|
|
|
import InheritorContent from '@/api/inheritor/InheritorContent';
|
|
import InheritorContent from '@/api/inheritor/InheritorContent';
|
|
|
import { onShareTimeline, onShareAppMessage } from '@dcloudio/uni-app';
|
|
import { onShareTimeline, onShareAppMessage } from '@dcloudio/uni-app';
|
|
|
import { useSimpleListAudioPlayer } from '@/common/composeabe/SimpleAudioPlayer';
|
|
import { useSimpleListAudioPlayer } from '@/common/composeabe/SimpleAudioPlayer';
|
|
|
|
|
+import VillageApi from '@/api/inhert/VillageApi';
|
|
|
|
|
|
|
|
const artifactData = useSimpleDataLoader(async () =>
|
|
const artifactData = useSimpleDataLoader(async () =>
|
|
|
(await UnmoveableContent.getContentList(new GetContentListParams(), 1, 4)).list.map(p => ({
|
|
(await UnmoveableContent.getContentList(new GetContentListParams(), 1, 4)).list.map(p => ({
|
|
@@ -289,6 +312,20 @@ const productsData = useSimpleDataLoader(async () =>
|
|
|
bottomScore: '5.0',
|
|
bottomScore: '5.0',
|
|
|
}))
|
|
}))
|
|
|
);
|
|
);
|
|
|
|
|
+const villageData = useSimpleDataLoader(async () => {
|
|
|
|
|
+ const res = await CommonContent.getCategoryList(151);
|
|
|
|
|
+ const it2 = res.find(p => p.title == '省级');
|
|
|
|
|
+ return (await VillageApi.getVallageList(it2?.id)).map(p => ({
|
|
|
|
|
+ id: p.id,
|
|
|
|
|
+ title: p.title,
|
|
|
|
|
+ desc: '',
|
|
|
|
|
+ image: p.thumbnail || p.image,
|
|
|
|
|
+ tags: [p.levelText, p.district] as string[],
|
|
|
|
|
+ comment: p.comments,
|
|
|
|
|
+ }))
|
|
|
|
|
+});
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
|
|
|
const indexAudioPlayer = useSimpleListAudioPlayer(async () => {
|
|
const indexAudioPlayer = useSimpleListAudioPlayer(async () => {
|
|
|
return (await CommonContent.getContentList(new GetContentListParams()
|
|
return (await CommonContent.getContentList(new GetContentListParams()
|