|
@@ -23,19 +23,19 @@
|
|
|
</template>
|
|
|
</Carousel>
|
|
|
|
|
|
- <!-- 精选推荐文物 -->
|
|
|
+ <!-- 精选推荐非遗 -->
|
|
|
<section class="main-section main-background main-background-type1">
|
|
|
<div class="content">
|
|
|
<div class="title">
|
|
|
- <h2>精选文物</h2>
|
|
|
+ <h2>精选非遗</h2>
|
|
|
</div>
|
|
|
|
|
|
- <SimplePageContentLoader :loader="recommend1Data">
|
|
|
- <Carousel ref="carousel5Ref" v-bind="carousel2Config">
|
|
|
+ <SimplePageContentLoader :loader="recommend2Data">
|
|
|
+ <Carousel ref="carousel2Ref" v-bind="carousel2Config">
|
|
|
<Slide
|
|
|
- v-for="(item, index) in recommend1Data.content.value"
|
|
|
+ v-for="(item, index) in recommend2Data.content.value"
|
|
|
:key="index"
|
|
|
- @click="router.push({ name: 'artifact-detail', query: { id: item.id } })"
|
|
|
+ @click="router.push({ name: 'news-detail', query: { id: item.id } })"
|
|
|
>
|
|
|
<ImageTitleBlock
|
|
|
:image="item.image"
|
|
@@ -47,25 +47,25 @@
|
|
|
</SimplePageContentLoader>
|
|
|
|
|
|
<div class="simple-carousel2-left-right">
|
|
|
- <div @click="carousel5Ref?.prev()">←</div>
|
|
|
- <div @click="carousel5Ref?.next()">→</div>
|
|
|
+ <div @click="carousel2Ref?.prev()">←</div>
|
|
|
+ <div @click="carousel2Ref?.next()">→</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
|
|
|
- <!-- 精选推荐非遗 -->
|
|
|
+ <!-- 精选推荐文物 -->
|
|
|
<section class="main-section main-background main-background-type1">
|
|
|
<div class="content">
|
|
|
<div class="title">
|
|
|
- <h2>精选非遗</h2>
|
|
|
+ <h2>精选文物</h2>
|
|
|
</div>
|
|
|
|
|
|
- <SimplePageContentLoader :loader="recommend2Data">
|
|
|
- <Carousel ref="carousel2Ref" v-bind="carousel2Config">
|
|
|
+ <SimplePageContentLoader :loader="recommend1Data">
|
|
|
+ <Carousel ref="carousel5Ref" v-bind="carousel2Config">
|
|
|
<Slide
|
|
|
- v-for="(item, index) in recommend2Data.content.value"
|
|
|
+ v-for="(item, index) in recommend1Data.content.value"
|
|
|
:key="index"
|
|
|
- @click="router.push({ name: 'news-detail', query: { id: item.id } })"
|
|
|
+ @click="router.push({ name: 'artifact-detail', query: { id: item.id } })"
|
|
|
>
|
|
|
<ImageTitleBlock
|
|
|
:image="item.image"
|
|
@@ -77,8 +77,8 @@
|
|
|
</SimplePageContentLoader>
|
|
|
|
|
|
<div class="simple-carousel2-left-right">
|
|
|
- <div @click="carousel2Ref?.prev()">←</div>
|
|
|
- <div @click="carousel2Ref?.next()">→</div>
|
|
|
+ <div @click="carousel5Ref?.prev()">←</div>
|
|
|
+ <div @click="carousel5Ref?.next()">→</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|