页面布局修改 订单修改
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
<z-nav-bar title="书籍详情"></z-nav-bar>
|
||||
<view class="book_neir flexbox">
|
||||
<view class="bn_img">
|
||||
<img :src="bookMessage.images" mode="scaleToFill">
|
||||
<img :src="bookMessage.images" mode="scaleToFill">
|
||||
|
||||
</view>
|
||||
<view class="bn_nes">
|
||||
<view style="font-weight: bold;margin-bottom: 30rpx;">
|
||||
@@ -19,10 +20,10 @@
|
||||
</view>
|
||||
<view class="tags">
|
||||
<uni-tag class="tag" @click="toMore()" :inverted="true" text="书评" type="success"></uni-tag>
|
||||
<uni-tag @click="gotoListen()" class="tag" v-if="bookMessage.canListen" :inverted="true" text="听书" type="primary"></uni-tag>
|
||||
|
||||
<uni-tag @click="gotoListen()" class="tag" v-if="bookMessage.canListen" :inverted="true" text="听书" type="primary"></uni-tag>
|
||||
<!-- 1:打卡,2不打卡 -->
|
||||
<uni-tag @click="gotoclock()" v-if="bookMessage.clockIn == 1" class="tag" :inverted="true" text="签到" type="warning"></uni-tag>
|
||||
<uni-tag @click="goJiangShu()" v-if="bookMessage.teachIn == 1" class="tag" :inverted="true" text="讲书" type="error"></uni-tag>
|
||||
</view>
|
||||
<view class="buy" v-if="!bookMessage.isBuy">
|
||||
<view class="btn" @click="goBuy">
|
||||
@@ -218,6 +219,12 @@
|
||||
this.getComments()
|
||||
|
||||
},
|
||||
// 去讲书
|
||||
goJiangShu(){
|
||||
uni.navigateTo({
|
||||
url: '../talkBook/talkBookDetail?bookId='+ this.bookId
|
||||
});
|
||||
},
|
||||
// 去听书
|
||||
gotoListen(){
|
||||
uni.navigateTo({
|
||||
|
||||
Reference in New Issue
Block a user