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

@@ -5,6 +5,7 @@
<!-- <z-nav-bar title="我的图书"></z-nav-bar> -->
<view class="home_bg">
<view class="" style=" ">
<view style="height: 80rpx"></view>
<view class="icon_hua">
<image src="../../static/icon/home_icon_3.png" mode="aspectFit" class="icon_hua_1"></image>
</view>
@@ -101,6 +102,18 @@
<text> </text>
</view>
</view>
<view class="item " >
<!-- <u-icon name="chat" color="#fcbd71" size="24"></u-icon> -->
<view class="" v-if="item.relationId != null && item.relationId != 0" @click="goGuji(item)">
<image src="../../static/icon/home6.png" mode="aspectFit"></image>
</view>
<view class="" v-else @click="noOp()">
<image class="gray" src="../../static/icon/home6.png" mode="aspectFit"></image>
</view>
<view class="v1">
<text> </text>
</view>
</view>
</view>
</view>
</view>
@@ -353,6 +366,12 @@
url: '../talkBook/talkBookDetail?bookId='+ val.id
})
},
// 跳转到古籍
goGuji(val){
uni.navigateTo({
url: '../eBook/bookContent?Id='+ val.relationId
})
},
// 跳转到打卡
goDaKa(val){
uni.navigateTo({
@@ -392,7 +411,7 @@
image{
display: block; height: 108rpx;
}
.v1{margin-top: -30rpx;}
.v1{margin-top: -10rpx;}
}
}
.author{
@@ -401,7 +420,7 @@
.info{width:200rpx;
image{width:100% ; height: 280rpx; border-radius: 20rpx;}
}
.icons{ margin-top: 10rpx;
.icons{ margin-top: 10rpx;margin-left: -10rpx;
text{font-size: 26rpx; margin-top: -10rpx; color: #999;}
}
}
@@ -469,7 +488,7 @@
}
.bookName {
margin-top: 10rpx;
margin-top: 30rpx;
display: block;
white-space: nowrap;
// font-weight: bold;