瀏覽代碼

🎨 按要求修改问题

快乐的梦鱼 1 周之前
父節點
當前提交
d647cb49a6

+ 1 - 1
src/api/research/InnovationContent.ts

@@ -3,7 +3,7 @@ import { CommonContentApi } from '../CommonContent';
 export class InnovationContentApi extends CommonContentApi {
 
   constructor() {
-    super(undefined, 18, "创新发展", 362);
+    super(undefined, 18, "文化新视角", 362);
   }
 }
 

+ 3 - 3
src/pages.json

@@ -36,7 +36,7 @@
     {
       "path": "pages/introduction/communicate",
       "style": {
-        "navigationBarTitleText": "交流传播",
+        "navigationBarTitleText": "世界走透透",
         "enablePullDownRefresh": true
       }
     },
@@ -50,7 +50,7 @@
     {
       "path": "pages/introduction/inhert",
       "style": {
-        "navigationBarTitleText": "文化遗产"
+        "navigationBarTitleText": "遗产报你知"
       }
     },
     {
@@ -331,7 +331,7 @@
     {
       "path": "pages/research/index",
       "style": {
-        "navigationBarTitleText": "创新发展"
+        "navigationBarTitleText": "文化新视角"
       }
     },
     {

+ 1 - 1
src/pages/article/list.vue

@@ -1,6 +1,6 @@
 <template>
   <CommonListPage
-    title="闽南文化资讯"
+    title="闽南闽南新鲜事"
     :load="loadData"
     itemType="article-common"
     :detailsParams="{

+ 17 - 11
src/pages/home/index.vue

@@ -26,33 +26,39 @@
         
         <view class="position-relative d-flex flex-row flex-wrap justify-between mt-25 row-gap-sss">
           <HomeButton
-            title="文化常识"
+            title="常识一点通"
             icon="https://mncdn.wenlvti.net/app_static/minnan/images/home/IconMap.png"
+            :size="100"
             @click="navTo('/pages/introduction/explore')"
           />
           <HomeButton
-            title="文化资讯"
+            title="闽南新鲜事"
             icon="https://mncdn.wenlvti.net/app_static/minnan/images/home/IconDoc.png"
+            :size="50"
             @click="navTo('/pages/introduction/news')"
           />
           <HomeButton
-            title="文化遗产"
+            title="遗产报你知"
             icon="https://mncdn.wenlvti.net/app_static/minnan/images/home/IconIch.png"
+            :size="50"
             @click="navTo('/pages/introduction/inhert')"
           />
           <HomeButton
-            title="创新发展"
+            title="文化新视角"
             icon="https://mncdn.wenlvti.net/app_static/minnan/images/home/IconReserch.png"
+            :size="50"
             @click="navTo('/pages/research/index')"
           />
           <HomeButton
-            title="交流传播"
+            title="世界走透透"
             icon="https://mncdn.wenlvti.net/app_static/minnan/images/home/IconArtifact.png"
+            :size="50"
             @click="navTo('/pages/introduction/communicate')"
           />
           <HomeButton
-            title="乐游厦门"
+            title="来厦门䢐迌"
             icon="https://mncdn.wenlvti.net/app_static/minnan/images/home/IconDiscover.png"
+            :size="100"
             @click="navTo('/pages/introduction/travel')"
           />
         </view>
@@ -335,15 +341,15 @@ const statsLoader = useSimpleDataLoader(async () => {
 
   return [
     {
-      title: '非物质文化遗产代表性项目',
+      title: '非物质遗产报你知代表性项目',
       datas: projects
     },
     {
-      title: '非物质文化遗产代表性传承人',
+      title: '非物质遗产报你知代表性传承人',
       datas: inheritors
     },
     {
-      title: '非物质文化遗产传习中心',
+      title: '非物质遗产报你知传习中心',
       datas: data.ichCenter.map((item: any) => {
         return {
           title: item.title,
@@ -363,9 +369,9 @@ const statsLoader = useSimpleDataLoader(async () => {
           titleSuffix: '处',
           onClick: () => {
             switch (item.title) {
-              case '世界文化遗产':
+              case '世界遗产报你知':
                 navCommonList({
-                  title: '世界文化遗产',
+                  title: '世界遗产报你知',
                   modelId: 17,
                   mainBodyColumnId: 310
                 });

+ 1 - 1
src/pages/introduction/communicate.vue

@@ -3,7 +3,7 @@
     itemType="article-common"
     :dropDownNames="dropdownNames"
     :tabs="[
-      { id: 0, text: '交流传播' },
+      { id: 0, text: '世界走透透' },
       { id: 1, text: '海洋文化' },
     ]"
     :startTabIndex="startTab"

+ 2 - 2
src/pages/introduction/explore.vue

@@ -64,9 +64,9 @@ const categoryDefine : CategoryDefine[] = [
     type: '',
   },
   {
-    title: '文化常识',
+    title: '常识一点通',
     content: useHomeCommonCategoryBlock({
-      title: '文化常识',
+      title: '常识一点通',
       mainBodyColumnId: 320,
       modelId: 18,
       itemType: 'article-common',

+ 2 - 2
src/pages/introduction/inhert.vue

@@ -6,10 +6,10 @@
       :width="690"
       :tabs="[
         {
-          text: '非物质文化遗产',
+          text: '非物质遗产报你知',
         },
         {
-          text: '物质文化遗产',
+          text: '物质遗产报你知',
         },
       ]"
     />

+ 5 - 5
src/pages/parts/HomeButton.vue

@@ -1,8 +1,8 @@
 <template>
   <view 
-    class="position-relative d-flex flex-row justify-center align-center radius-base bg-light-light-primary p-1 pt-3 pb-3 gap-xs"
+    class="position-relative d-flex flex-row justify-center align-center radius-base bg-light-light-primary p-1 pt-2 pb-2 gap-xs"
     :style="{
-      width: large ? '' : 'calc(33% - 15rpx)'
+      width: size === 100 ? '100%' : `calc(${size}% - 15rpx)`
     }"
     @click="onClick"
   >
@@ -37,9 +37,9 @@ const props = defineProps({
     type: String,
     default: 'https://mncdn.wenlvti.net/app_static/minnan/images/home/IconMap.png'
   },
-  large: {
-    type: Boolean,
-    default: false
+  size: {
+    type: Number,
+    default: 100
   }
 })
 

+ 9 - 15
src/pages/research/index.vue

@@ -3,7 +3,7 @@
     itemType="article-common"
     :dropDownNames="dropdownNames"
     :tabs="[
-      { id: 0, text: '创新发展' },
+      { id: 0, text: '文化新视角' },
       { id: 1, text: '研究机构' },
     ]"
     :showListTabIds="[1]"
@@ -117,32 +117,26 @@ const categoryDefine : CategoryDefine[] = [
     type: '',
   },
   {
-    title: '其他闽南文化品牌活动',
+    title: '"一区一节"闽南文化品牌活动',
     content: useHomeCommonCategoryBlock({
-      title: '其他闽南文化品牌活动',
-      mainBodyColumnId: 368,
+      title: '"一区一节"闽南文化品牌活动',
+      mainBodyColumnId: 367,
       modelId: NewsIndexContent.modelId,
       itemType: 'article-common',
       detailsPage: 'byContent',
-      resolveData: (items) => {
-        const res = resolveCommonContentFormData(items as GetContentListItem[]);
-        return resolveCommonContentMakeDoubleSpace(res);
-      },
+      resolveData: resolveCommonContentFormData,
     }),
     type: 'large-image2',
   },
   {
-    title: '"一区一节"闽南文化品牌活动',
+    title: '其他闽南文化品牌活动',
     content: useHomeCommonCategoryBlock({
-      title: '"一区一节"闽南文化品牌活动',
-      mainBodyColumnId: 367,
+      title: '其他闽南文化品牌活动',
+      mainBodyColumnId: 368,
       modelId: NewsIndexContent.modelId,
       itemType: 'article-common',
       detailsPage: 'byContent',
-      resolveData: (items) => {
-        const res = resolveCommonContentFormData(items as GetContentListItem[]);
-        return resolveCommonContentMakeDoubleSpace(res);
-      },
+      resolveData: resolveCommonContentFormData,
     }),
     type: 'large-image2',
   },