部分微调
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="tip">
|
||||
<!-- <view class="tip">
|
||||
<text>请选择要打卡的书籍:</text>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="listenList" v-if="bookList.length > 0">
|
||||
<view class="wrap" >
|
||||
<u-row gutter="16" justify="flex-start">
|
||||
@@ -59,21 +59,13 @@
|
||||
},
|
||||
// 跳转到打卡页面
|
||||
goToClock(val){
|
||||
if(val.clockIn != 1){
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
cancelText: '暂不购买',
|
||||
confirmText:'立即购买',
|
||||
content: '购买后才可参与本书打卡哦~',
|
||||
success: function (res) {
|
||||
if (res.confirm) {
|
||||
console.log('点击了去购买');
|
||||
}
|
||||
}
|
||||
});
|
||||
}else{
|
||||
console.log(val,'val')
|
||||
console.log(val,'val')
|
||||
if(this.contentShow == 1){
|
||||
this.onPageJump('../clock/clock?bookid='+val.id)
|
||||
}else{
|
||||
uni.navigateTo({
|
||||
url: '../eBook/bookContent?Id=' + val.id
|
||||
});
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user