2023.09.01
This commit is contained in:
@@ -14,27 +14,30 @@
|
||||
<u-tabs :scrollable="false" bg-color="#d4d4d4" active-color="#2979ff" inactive-color="#606266" bar-height="10" :list="contentButtonList" @click="contentButtonClick" lineWidth="42" :inactiveStyle="{fontSize:'32rpx'}" :activeStyle="{color: '#303133',fontWeight: 'bold', transform: 'scale(1.01)'}"></u-tabs>
|
||||
</view>
|
||||
<view class="listenList" v-if="bookList.length > 0">
|
||||
<view class="wrap" v-if="contentShow == 0">
|
||||
<view class="wrap" v-if="contentShow == 0">
|
||||
<u-row gutter="16" justify="flex-start">
|
||||
<u-col span="6" v-for="(item,index) in bookList" :key="index">
|
||||
<view class="flexbox listenItem">
|
||||
<view class="info">
|
||||
<view class="videoBox demo-layout bg-purple" @click="goToListenFree(item)">
|
||||
<image :src="item.image" mode="scaleToFill" ></image>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="btns">
|
||||
<view class="item flexbox" @click="">
|
||||
<u-icon name="bookmark" color="#55aaff" size="24"></u-icon>
|
||||
<text>读 书</text>
|
||||
<!-- <u-icon name="bookmark" color="#55aaff" size="24"></u-icon> -->
|
||||
<image src="../../static/icon/tu1.png" mode="aspectFit"></image>
|
||||
<text >读 书</text>
|
||||
</view>
|
||||
<view class="item flexbox" @click="goToListenFree(item)">
|
||||
<u-icon name="volume" color="#71d5a1" size="24"></u-icon>
|
||||
<!-- <u-icon name="volume" color="#71d5a1" size="24"></u-icon> -->
|
||||
<image src="../../static/icon/tu2.png" mode="aspectFit"></image>
|
||||
<text>听 书</text>
|
||||
</view>
|
||||
<view class="item flexbox" @click="goPingshu(item.bookId)">
|
||||
<u-icon name="chat" color="#fcbd71" size="24"></u-icon>
|
||||
<!-- <u-icon name="chat" color="#fcbd71" size="24"></u-icon> -->
|
||||
<image src="../../static/icon/tu3.png" mode="aspectFit"></image>
|
||||
<text>评 书</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -54,15 +57,15 @@
|
||||
</view>
|
||||
<view class="btns">
|
||||
<view class="item flexbox" @click="">
|
||||
<u-icon name="bookmark" color="#55aaff" size="24"></u-icon>
|
||||
<image src="../../static/icon/tu1.png" mode="aspectFit"></image>
|
||||
<text>读 书</text>
|
||||
</view>
|
||||
<view class="item flexbox" @click="goToListen(item)">
|
||||
<u-icon name="volume" color="#71d5a1" size="24"></u-icon>
|
||||
<image src="../../static/icon/tu2.png" mode="aspectFit"></image>
|
||||
<text>听 书</text>
|
||||
</view>
|
||||
<view class="item flexbox" @click="wgGoPingshu(item)">
|
||||
<u-icon name="chat" color="#fcbd71" size="24"></u-icon>
|
||||
<image src="../../static/icon/tu3.png" mode="aspectFit"></image>
|
||||
<text>评 书</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -250,8 +253,7 @@
|
||||
var booidArr = []
|
||||
if(res.pages.list[i].bookId != null){
|
||||
booidArr = res.pages.list[i].bookId.split(',')
|
||||
//res.pages.list[i].bookId = booidArr
|
||||
console.log(booidArr,'booidArr')
|
||||
//res.pages.list[i].bookId = booidArr
|
||||
res.pages.list[i].bookId = booidArr
|
||||
}else{
|
||||
res.pages.list[i].bookId = []
|
||||
@@ -315,7 +317,11 @@
|
||||
@import '@/style/mixin.scss';
|
||||
.listenItem{
|
||||
.btns{margin-top: 60rpx; margin-left: 20rpx; font-size: 34rpx; justify-content: space-between;
|
||||
.item{ margin-bottom:30rpx;}
|
||||
.item{ margin-bottom:30rpx;
|
||||
image{
|
||||
width: 24px !important;height:24px;display: block; margin-right: 10rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.info{width: 50%;
|
||||
image{width:100% ; height: 280rpx; border-radius: 20rpx;}
|
||||
|
||||
Reference in New Issue
Block a user