|
@@ -26,6 +26,19 @@
|
|
|
|
|
|
<list class="list-content">
|
|
|
<block for="bookObj in list">
|
|
|
+ <list-item type="swipe">
|
|
|
+ <swiper class="swipe-bar" autoplay="true" indicator="false">
|
|
|
+ <block for="b in banner.books">
|
|
|
+ <div class="swipe-item">
|
|
|
+ <image
|
|
|
+ class="cover"
|
|
|
+ src="{{b.banner_url}}"
|
|
|
+ @click="pageRouter(b)"
|
|
|
+ ></image>
|
|
|
+ </div>
|
|
|
+ </block>
|
|
|
+ </swiper>
|
|
|
+ </list-item>
|
|
|
<list-item type="simple" class="book-list__wrap" if="$idx % 3 === 0">
|
|
|
<div class="book-list_content">
|
|
|
<div class="book-list__title">
|
|
@@ -173,9 +186,9 @@ export default {
|
|
|
background-color: #f5f5f5;
|
|
|
flex-direction: column;
|
|
|
.type-wrap_content {
|
|
|
- background-color: #ffd642;
|
|
|
+ background-color: #fff;
|
|
|
.type-wrap {
|
|
|
- background-color: #ffd642;
|
|
|
+ background-color: #fff;
|
|
|
margin: 20px 0;
|
|
|
flex-direction: row;
|
|
|
.type-item {
|
|
@@ -226,7 +239,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.type-bar {
|
|
|
- background-color: #ffd642;
|
|
|
+ background-color: #fff;
|
|
|
padding: 20px;
|
|
|
.search-bar__wrap {
|
|
|
flex: 1;
|