|
|
@ -114,7 +114,7 @@ |
|
|
:circular="false" |
|
|
:circular="false" |
|
|
> |
|
|
> |
|
|
<swiper-item v-for="item in readerCardList" :key="item.id"> |
|
|
<swiper-item v-for="item in readerCardList" :key="item.id"> |
|
|
<view class="card-item" @click.stop="showQrcode(item.bindValue)"> |
|
|
|
|
|
|
|
|
<view class="card-item" :class="{'active': item.bindDefault}" @click.stop="showQrcode(item.bindValue)"> |
|
|
<image class="card-left-img" src="@/static/images/card-img2.png" mode="widthFix" /> |
|
|
<image class="card-left-img" src="@/static/images/card-img2.png" mode="widthFix" /> |
|
|
<view class="card-right-info"> |
|
|
<view class="card-right-info"> |
|
|
<text class="info-title">读者证号</text> |
|
|
<text class="info-title">读者证号</text> |
|
|
@ -179,7 +179,7 @@ |
|
|
<view class="book-title">{{item.name}}</view> |
|
|
<view class="book-title">{{item.name}}</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="empty-box" v-if="recommendedBooks.length === 0 && !isLoading"> |
|
|
|
|
|
|
|
|
<view class="empty" v-if="recommendedBooks.length === 0 && !isLoading"> |
|
|
<uni-icons custom-prefix="iconfont" type="icon-kongshuju" size="80"></uni-icons> |
|
|
<uni-icons custom-prefix="iconfont" type="icon-kongshuju" size="80"></uni-icons> |
|
|
<text style="margin-top: 20px;">暂无推荐书籍~</text> |
|
|
<text style="margin-top: 20px;">暂无推荐书籍~</text> |
|
|
</view> |
|
|
</view> |
|
|
@ -721,15 +721,4 @@ swiper.menu-swiper{ |
|
|
color: #999 !important; |
|
|
color: #999 !important; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/* 空状态 */ |
|
|
|
|
|
.empty-box { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
flex-direction: column; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
color: #999; |
|
|
|
|
|
font-size: 15px; |
|
|
|
|
|
padding: 20px; |
|
|
|
|
|
} |
|
|
|
|
|
</style> |
|
|
</style> |