Prechádzať zdrojové kódy

📚 同步栏目数据

快乐的梦鱼 1 mesiac pred
rodič
commit
d76bcdafbe
1 zmenil súbory, kde vykonal 37 pridanie a 7 odobranie
  1. 37 7
      src/pages/article/data/DefaultCategory.json

+ 37 - 7
src/pages/article/data/DefaultCategory.json

@@ -470,7 +470,8 @@
                   "dataSolve": [],
                   "detailsPage": "/pages/article/data/details?pageConfigName=songs-details",
                   "type": "large-image",
-                  "morePage": "/pages/article/data/list?pageConfigName=best-drama"
+                  "morePage": "/pages/article/data/list?pageConfigName=best-drama",
+                  "count": 6
                 },
                 {
                   "text": "非遗秀",
@@ -606,7 +607,7 @@
                   "dataSolve": [
                     "common"
                   ],
-                  "detailsPage": "byContent",
+                  "detailsPage": "/pages/article/details?showBorrow=true",
                   "type": ""
                 }
               ]
@@ -1433,7 +1434,9 @@
                         "type": "parentKey",
                         "key": "inheritorsList"
                       },
-                      "dataSolve": []
+                      "dataSolve": [
+                        "inheritor-deadbox"
+                      ]
                     }
                   ]
                 }
@@ -1698,7 +1701,8 @@
             },
             {
               "text": "资料影像",
-              "type": "video"
+              "type": "video",
+              "width": 170
             },
             {
               "text": "音频",
@@ -1708,7 +1712,7 @@
               "text": "荣誉奖项",
               "type": "rich",
               "key": "prize",
-              "width": 200
+              "width": 170
             },
             {
               "text": "非遗项目",
@@ -1733,7 +1737,7 @@
                   ]
                 }
               },
-              "width": 200
+              "width": 170
             },
             {
               "text": "传习所",
@@ -1901,6 +1905,31 @@
                   "showTab": false,
                   "showSearch": false,
                   "itemType": "article-common",
+                  "detailsPage": "/pages/article/details",
+                  "tabs": [
+                    {
+                      "text": "Root",
+                      "type": "list",
+                      "data": {
+                        "type": "parentKey",
+                        "key": "associationMeList"
+                      },
+                      "dataSolve": []
+                    }
+                  ]
+                }
+              },
+              "visibleVia": "expression:A,K#main.associationMeList[0].type:!==:A,TYPE_VIDEO&&A,K#main.associationMeList.length:>:A,number#0"
+            },
+            {
+              "text": "视频",
+              "type": "list",
+              "key": "associationMeList",
+              "define": {
+                "props": {
+                  "showTab": false,
+                  "showSearch": false,
+                  "itemType": "image-small-2",
                   "detailsPage": "/pages/video/details",
                   "tabs": [
                     {
@@ -1914,7 +1943,8 @@
                     }
                   ]
                 }
-              }
+              },
+              "visibleVia": "expression:A,K#main.associationMeList[0].type:==:A,TYPE_VIDEO"
             }
           ]
         }