Forráskód Böngészése

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

imengyu 3 hete
szülő
commit
445afec595
1 módosított fájl, 6 hozzáadás és 4 törlés
  1. 6 4
      src/pages/inhert/intangible/DetailsCommon.vue

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

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