This commit is contained in:
徐哼唧L
2024-01-08 13:50:53 +08:00
parent c3f3918c9b
commit 50da1d7e38
14 changed files with 2610 additions and 347 deletions

View File

@@ -15,13 +15,13 @@
<image :src="productInfo.images" mode="aspectFill" class="imageradius bookinfoimage"></image>
<view class="bookInfo-inner">
<span class="title">{{productInfo.name}}</span>
<span class="author">作者{{productInfo.authorName}}</span>
<span class="author" v-if="productInfo.authorName!=''">作者{{productInfo.authorName}}</span>
<!-- <view class="description">{{productInfo.bookdesc}}</view> -->
<view class="ting-du-mai">
<view class="ting-du-mai-item" @click="toOtherPage(1,productInfo)">听书</view>
<view class="ting-du-mai-item" @click="toOtherPage(2,productInfo)">读书打卡</view>
<view class="ting-du-mai-item" @click="toOtherPage(3,productInfo)">立即购买</view>
<view class="ting-du-mai-item" v-if="productInfo.canListen" @click="toOtherPage(1,productInfo)">听书</view>
<view class="ting-du-mai-item" v-if="productInfo.clockIn == 1" @click="toOtherPage(2,productInfo)">读书打卡</view>
<view class="ting-du-mai-item" v-if="productInfo.bookType == 0" @click="toOtherPage(3,productInfo)">立即购买</view>
</view>
</view>

View File

@@ -171,17 +171,17 @@ import { data } from 'jquery';
status:3,
shupingList:[],
bfaid:null,
commentsTabs: [{
commentsTabs: [ {
name: '书集',
value: 3
},{
name: '最新',
value: 1
}, {
name: '最热',
value: 2
}, {
name: '书集',
value: 3
}],
commentsListTab: 1,
commentsListTab: 3,
newestpage: 1,
hotestpage: 1,
booksetpage: 1,
@@ -221,7 +221,7 @@ import { data } from 'jquery';
this.windowWidth = uni.getSystemInfoSync().windowWidth;
console.log(e,'onload')
// this.bookid = e.bookid
this.getBookList(1, false)
this.getBookList(3, false)
},
computed:{
...mapState(['userInfo']),