瀏覽代碼

📦 修改相关非遗的文字显示

imengyu 3 周之前
父節點
當前提交
445afec595
共有 1 個文件被更改,包括 6 次插入4 次删除
  1. 6 4
      src/pages/inhert/intangible/DetailsCommon.vue

+ 6 - 4
src/pages/inhert/intangible/DetailsCommon.vue

@@ -20,7 +20,7 @@
       },
       },
       {
       {
         id: 8,
         id: 8,
-        name: '相关非遗',
+        name: '相关资讯',
         visible: true,
         visible: true,
       },
       },
       {
       {
@@ -71,7 +71,7 @@
         />
         />
       </template>
       </template>
       <template v-else-if="tabCurrentId==8">
       <template v-else-if="tabCurrentId==8">
-        <!-- 相关非遗 -->
+        <!-- 相关资讯 -->
         <CommonListPage 
         <CommonListPage 
           :showSearch="false"
           :showSearch="false"
           :hasBg="false"
           :hasBg="false"
@@ -162,8 +162,8 @@
             },
             },
           ]"
           ]"
         />
         />
+        <!-- 同级别非遗项目显示 -->
         <view v-if=" content.otherLevel && content.otherLevel.length > 0" class="mt-2">
         <view v-if=" content.otherLevel && content.otherLevel.length > 0" class="mt-2">
-          
           <view 
           <view 
             v-for="(item, k) in content.otherLevel"
             v-for="(item, k) in content.otherLevel"
             :key="k"
             :key="k"
@@ -231,7 +231,9 @@ async function loadSubList(page: number, pageSize: number, content: any, subList
     .slice((page - 1) * pageSize, page * pageSize);
     .slice((page - 1) * pageSize, page * pageSize);
 
 
   if (subList == 'associationMeList') {
   if (subList == 'associationMeList') {
-    list.filter((p) => p.modelId == ProjectsContent.modelId).forEach((p) => {
+    //list.filter((p) => p.modelId == ProjectsContent.modelId)
+  } else if (subList == 'worksList') {
+    list.forEach((p) => {
       p.bottomTags = [
       p.bottomTags = [
         p.levelText,
         p.levelText,
         p.ichTypeText,
         p.ichTypeText,