游客
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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']),
|
||||
|
||||
Reference in New Issue
Block a user