Explorar o código

🎨 修改细节问题

快乐的梦鱼 hai 3 días
pai
achega
e115dae7cd

+ 1 - 1
src/pages/article/data/CommonCategoryDetailIntroBlocks.vue

@@ -2,7 +2,7 @@
   <!--详情页,标题下方可配置单元-->
   <template v-for="(item, k) in introBlocks" :key="k">
     <!-- 同级别非遗项目显示 -->
-    <view v-if="item.type == 'OtherLevel' && content.otherLevel && content.otherLevel.length > 0" class="mt-2">
+    <view v-if="item.type == 'OtherLevelList' && content.otherLevel && content.otherLevel.length > 0" class="mt-2">
       <view 
         v-for="(item, k) in content.otherLevel"
         :key="k"

+ 8 - 8
src/pages/article/data/DefaultCategory.json

@@ -85,6 +85,14 @@
               "visible": false
             },
             {
+              "text": "学讲闽南话常用语",
+              "showTitle": true,
+              "type": "AudioBlock",
+              "visible": true,
+              "detailsPage": "/pages/inhert/language/list",
+              "morePage": "/pages/inhert/language/list"
+            },
+            {
               "text": "文化地图",
               "blockProps": {
                 "mapConfigItems": [
@@ -134,14 +142,6 @@
               "type": "MapBlock"
             },
             {
-              "text": "学讲闽南话常用语",
-              "showTitle": true,
-              "type": "AudioBlock",
-              "visible": true,
-              "detailsPage": "/pages/inhert/language/list",
-              "morePage": "/pages/inhert/language/list"
-            },
-            {
               "text": "精彩瞬间",
               "data": {
                 "type": "serializedApi",