|
@@ -15,18 +15,24 @@
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 7,
|
|
id: 7,
|
|
|
- text: '非遗作品',
|
|
|
|
|
|
|
+ text: '传承谱系',
|
|
|
width: 180,
|
|
width: 180,
|
|
|
visible: true,
|
|
visible: true,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 8,
|
|
id: 8,
|
|
|
- text: '相关资讯',
|
|
|
|
|
|
|
+ text: '非遗作品',
|
|
|
width: 180,
|
|
width: 180,
|
|
|
visible: true,
|
|
visible: true,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
id: 9,
|
|
id: 9,
|
|
|
|
|
+ text: '相关资讯',
|
|
|
|
|
+ width: 180,
|
|
|
|
|
+ visible: true,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: 10,
|
|
|
text: '地理位置',
|
|
text: '地理位置',
|
|
|
width: 180,
|
|
width: 180,
|
|
|
visible: true,
|
|
visible: true,
|
|
@@ -61,6 +67,11 @@
|
|
|
/>
|
|
/>
|
|
|
</template>
|
|
</template>
|
|
|
<template v-else-if="tabCurrentId==7">
|
|
<template v-else-if="tabCurrentId==7">
|
|
|
|
|
+ <view class="d-flex flex-col mt-3 mb-2">
|
|
|
|
|
+ <Parse :content="content.pedigree" :tagStyle="commonParserStyle" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template v-else-if="tabCurrentId==8">
|
|
|
<!-- 非遗作品 -->
|
|
<!-- 非遗作品 -->
|
|
|
<CommonListPage
|
|
<CommonListPage
|
|
|
:showSearch="false"
|
|
:showSearch="false"
|
|
@@ -73,7 +84,7 @@
|
|
|
}"
|
|
}"
|
|
|
/>
|
|
/>
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else-if="tabCurrentId==8">
|
|
|
|
|
|
|
+ <template v-else-if="tabCurrentId==9">
|
|
|
<!-- 相关资讯 -->
|
|
<!-- 相关资讯 -->
|
|
|
<CommonListPage
|
|
<CommonListPage
|
|
|
:showSearch="false"
|
|
:showSearch="false"
|
|
@@ -86,7 +97,7 @@
|
|
|
}"
|
|
}"
|
|
|
/>
|
|
/>
|
|
|
</template>
|
|
</template>
|
|
|
- <template v-else-if="tabCurrentId==9">
|
|
|
|
|
|
|
+ <template v-else-if="tabCurrentId==10">
|
|
|
<!-- 地理位置 -->
|
|
<!-- 地理位置 -->
|
|
|
<view class="d-flex flex-col mt-3 mb-2">
|
|
<view class="d-flex flex-col mt-3 mb-2">
|
|
|
<HomeTitle title="地理位置" />
|
|
<HomeTitle title="地理位置" />
|
|
@@ -111,7 +122,7 @@
|
|
|
<text class="iconfont icon-navigation"></text>
|
|
<text class="iconfont icon-navigation"></text>
|
|
|
<text class="address">{{ content.address }}</text>
|
|
<text class="address">{{ content.address }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="d-flex flex-row align-center" @click="navTo('/pages/travel/nav/navto', {
|
|
|
|
|
|
|
+ <view class="d-flex flex-row align-center flex-shrink-0" @click="navTo('/pages/travel/nav/navto', {
|
|
|
latitude: content.latitude,
|
|
latitude: content.latitude,
|
|
|
longitude: content.longitude,
|
|
longitude: content.longitude,
|
|
|
})">
|
|
})">
|
|
@@ -211,6 +222,8 @@ import ProductsContent from "@/api/inheritor/ProductsContent";
|
|
|
import SeminarContent from "@/api/inheritor/SeminarContent";
|
|
import SeminarContent from "@/api/inheritor/SeminarContent";
|
|
|
import ImagesUrls from "@/common/config/ImagesUrls";
|
|
import ImagesUrls from "@/common/config/ImagesUrls";
|
|
|
import Tag from "@/components/display/Tag.vue";
|
|
import Tag from "@/components/display/Tag.vue";
|
|
|
|
|
+import Parse from "@/components/display/parse/Parse.vue";
|
|
|
|
|
+import commonParserStyle from "@/common/style/commonParserStyle";
|
|
|
|
|
|
|
|
defineProps({
|
|
defineProps({
|
|
|
commonRefName : {
|
|
commonRefName : {
|
|
@@ -231,9 +244,10 @@ async function load(id: number, tabsArray: Ref<TabControlItem[]>) {
|
|
|
);
|
|
);
|
|
|
tabsArray.value[4].visible = Boolean(d.ichSitesList && (d.ichSitesList as any[]).length > 0);
|
|
tabsArray.value[4].visible = Boolean(d.ichSitesList && (d.ichSitesList as any[]).length > 0);
|
|
|
tabsArray.value[5].visible = Boolean(d.inheritorsList && (d.inheritorsList as any[]).length > 0);
|
|
tabsArray.value[5].visible = Boolean(d.inheritorsList && (d.inheritorsList as any[]).length > 0);
|
|
|
- tabsArray.value[6].visible = Boolean(d.worksList && (d.worksList as any[]).length > 0);
|
|
|
|
|
- tabsArray.value[7].visible = Boolean(d.associationMeList && (d.associationMeList as any[]).length > 0);
|
|
|
|
|
- tabsArray.value[8].visible = Boolean(d.longitude && d.latitude);
|
|
|
|
|
|
|
+ tabsArray.value[6].visible = Boolean(d.pedigree);
|
|
|
|
|
+ tabsArray.value[7].visible = Boolean(d.worksList && (d.worksList as any[]).length > 0);
|
|
|
|
|
+ tabsArray.value[8].visible = Boolean(d.associationMeList && (d.associationMeList as any[]).length > 0);
|
|
|
|
|
+ tabsArray.value[9].visible = Boolean(d.longitude && d.latitude);
|
|
|
return d;
|
|
return d;
|
|
|
}
|
|
}
|
|
|
async function loadSubList(page: number, pageSize: number, content: any, subList: string) {
|
|
async function loadSubList(page: number, pageSize: number, content: any, subList: string) {
|