|
@@ -69,14 +69,31 @@
|
|
|
</template>
|
|
|
<template #titleExtra="{ content }">
|
|
|
<view class="d-flex flex-col">
|
|
|
- <text class="color-text-content-second size-s">
|
|
|
- <text class="iconfont icon-place mr-2"></text>
|
|
|
- {{ content.address || content.regionText }}
|
|
|
- </text>
|
|
|
- <text class="color-text-content-second size-s">
|
|
|
- <text class="iconfont icon-go mr-2"></text>
|
|
|
- {{ content.ichTypeText || '非遗项目' }}
|
|
|
- </text>
|
|
|
+ <IntroBlock
|
|
|
+ small
|
|
|
+ :descItems="[
|
|
|
+ {
|
|
|
+ label: '级别',
|
|
|
+ value: content.levelText ,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '类别',
|
|
|
+ value: content.batch ,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '批次',
|
|
|
+ value: content.ichTypeText ,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '所属区域',
|
|
|
+ value: content.regionText ,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '单位',
|
|
|
+ value: content.unit
|
|
|
+ },
|
|
|
+ ]"
|
|
|
+ />
|
|
|
</view>
|
|
|
</template>
|
|
|
</DetailTabPage>
|
|
@@ -90,6 +107,7 @@ import type { Ref } from "vue";
|
|
|
import InheritorContent from "@/api/inheritor/InheritorContent";
|
|
|
import ProductsContent from "@/api/inheritor/ProductsContent";
|
|
|
import SeminarContent from "@/api/inheritor/SeminarContent";
|
|
|
+import IntroBlock from "@/pages/article/common/IntroBlock.vue";
|
|
|
|
|
|
async function load(id: number, tabsArray: Ref<TabControlItem[]>) {
|
|
|
const d = await ProjectsContent.getContentDetail(id);
|