Explorar el Código

🎨 按要求修改

快乐的梦鱼 hace 1 semana
padre
commit
9ad130f28f
Se han modificado 3 ficheros con 7 adiciones y 7 borrados
  1. 4 4
      src/pages/home.vue
  2. 1 1
      src/pages/home/laws.vue
  3. 2 2
      src/pages/introduction/inhert.vue

+ 4 - 4
src/pages/home.vue

@@ -65,6 +65,7 @@
             :playState="indexAudioPlayer.isPlaying.value"
             :playTime="indexAudioPlayer.timeString.value"
             @playPauseClick="indexAudioPlayer.playpause"
+            @arrowClick="handleGoAudioList"
             @nextClick="indexAudioPlayer.next"
             @prevClick="indexAudioPlayer.prev"
             @click="handleGoAudioList"
@@ -96,8 +97,7 @@
               <HorizontalScrollText :text="statsText2" :fontSize="26" color="text.second" :outerStyle="{ height: '40rpx' }" />
             </view>
           </view>
-        </view>
-        <view v-if="statsLoader.content.value" class="d-flex flex-col justify-center pt-3 pb-3 bg-light-page radius-base">
+          <view class="border-top-light-primary pt-2 mt-3"></view>
           <StatsText
             :title="statsLoader.content.value[2].title" 
             :data="statsLoader.content.value[2].datas" 
@@ -264,8 +264,8 @@ watch(mapTab, () => mapLoader.loadData(undefined, true));
 const indexAudioPlayer = useSimpleListAudioPlayer(async () => {
   return (await CommonContent.getContentList(new GetContentListParams()
     .setModelId(5)
-    .setMainBodyColumnId(313)
-  , 1, 6)).list.map((p) => {
+    .setMainBodyColumnId(321)
+  , 1, 10)).list.sort((a, b) => -1).map((p) => {
     return {
       id: p.id,
       title: p.title,

+ 1 - 1
src/pages/home/laws.vue

@@ -39,7 +39,7 @@ async function loadData(
   return { 
     list: res.list.map((p) => ({ 
       ...p, 
-      desc: DateUtils.formatDate(p.publishAt, 'yyyy-MM-dd') + '\n' + `${p.from}`,
+      desc: DateUtils.formatDate(p.publishAt, 'yyyy-MM-dd'),
     })), 
     total: res.total 
   }

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

@@ -100,7 +100,7 @@
     </SimplePageContentLoader>
 
     <!-- 文物 -->
-    <HomeTitle title="文物古迹" showMore @clickMore="navTo('inhert/artifact/list')" />
+    <HomeTitle title="文物古迹" showMore @clickMore="navTo('/pages/inhert/artifact/list')" />
     <SimplePageContentLoader :loader="artifactData">
       <FlexRow wrap align="stretch" justify="space-between" overflow="visible">
         <Box2LineLargeImageUserShadow
@@ -113,7 +113,7 @@
           :image="item.image"
           :tags="item.tags"
           title1
-          @click="navTo('inhert/artifact/details', { id: item.id })"
+          @click="navTo('/pages/inhert/artifact/details', { id: item.id })"
         />
       </FlexRow>
     </SimplePageContentLoader>