|
@@ -1,9 +1,187 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <view>佛音</view>
|
|
|
|
|
|
|
+ <view>
|
|
|
|
|
+ <view class="nav">
|
|
|
|
|
+ <u-icon class="back" name="arrow-left" color="#fff" size="48" @click="backHome()"></u-icon>
|
|
|
|
|
+ <view class="text">
|
|
|
|
|
+ <text>佛经</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="menu" @click.stop="">
|
|
|
|
|
+ <image src="../../../static/index/search_white_blod_big_icon.png" style="width: 50rpx; height: 50rpx;" mode=""></image>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <navigator url="./fenlei">
|
|
|
|
|
+ <view class="nav_book">
|
|
|
|
|
+ <image src="../../../static/index/jingshu/1.png" mode=""></image>
|
|
|
|
|
+ <image src="../../../static/index/jingshu/2.png" mode=""></image>
|
|
|
|
|
+ <image src="../../../static/index/jingshu/3.png" mode=""></image>
|
|
|
|
|
+ <image src="../../../static/index/jingshu/4.png" mode=""></image>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </navigator>
|
|
|
|
|
+ <view class="box_book">
|
|
|
|
|
+ <view class="head">
|
|
|
|
|
+ <text>推荐经书</text>
|
|
|
|
|
+
|
|
|
|
|
+ <text class="more"><navigator url="./fenlei">更多 ></navigator></text>
|
|
|
|
|
+
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+ <view class="book" v-for="(item,index) in book" :key="index">
|
|
|
|
|
+ <navigator url="./xiangqing">
|
|
|
|
|
+ <image src="../../../static/index/jingshu/bood.png" mode=""></image>
|
|
|
|
|
+ <view class="bookC">
|
|
|
|
|
+ <text>{{item.name}}</text>
|
|
|
|
|
+ <text class="t1">{{item.autho}}</text>
|
|
|
|
|
+ <text class="t2">{{item.num+'人阅读'}}</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </navigator>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="box_book">
|
|
|
|
|
+ <navigator url="./newbook">
|
|
|
|
|
+ <view class="head">
|
|
|
|
|
+ <text>最近佛经</text>
|
|
|
|
|
+
|
|
|
|
|
+ <text class="more">更多 ></text>
|
|
|
|
|
+
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </navigator>
|
|
|
|
|
+ <view class="book" v-for="(item,index) in book" :key="index">
|
|
|
|
|
+ <navigator url="./xiangqing">
|
|
|
|
|
+ <image src="../../../static/index/jingshu/bood.png" mode=""></image>
|
|
|
|
|
+ <view class="bookC">
|
|
|
|
|
+ <text>{{item.name}}</text>
|
|
|
|
|
+ <text class="t1">{{item.autho}}</text>
|
|
|
|
|
+ <text class="t2">{{item.num+'人阅读'}}</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </navigator>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ </view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
|
+ export default{
|
|
|
|
|
+ data(){
|
|
|
|
|
+ return{
|
|
|
|
|
+ book:[
|
|
|
|
|
+ {name:'大方广佛华严经合论纂要卷上',autho:'明 方泽纂',num:600},
|
|
|
|
|
+ {name:'大方广佛华严经合论纂要卷上',autho:'明 方泽纂',num:600},
|
|
|
|
|
+ {name:'大方广佛华严经合论纂要卷上',autho:'明 方泽纂',num:600},
|
|
|
|
|
+ {name:'大方广佛华严经合论纂要卷上',autho:'明 方泽纂',num:600},
|
|
|
|
|
+ {name:'大方广佛华严经合论纂要卷上',autho:'明 方泽纂',num:600}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ methods:{
|
|
|
|
|
+ backHome() {
|
|
|
|
|
+ uni.navigateBack({
|
|
|
|
|
+ delta: 1
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ }
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
-<style>
|
|
|
|
|
|
|
+<style lang="less" scoped>
|
|
|
|
|
+ .nav {
|
|
|
|
|
+ position: sticky;
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ z-index: 9;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 100rpx;
|
|
|
|
|
+ background-color: #ff8359;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ font-size: 45rpx;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ }
|
|
|
|
|
+ .nav .back {
|
|
|
|
|
+ height: 100rpx;
|
|
|
|
|
+ width: 15%;
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ }
|
|
|
|
|
+ .nav .back text {
|
|
|
|
|
+ line-height: 100rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ .nav .text {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ height: 100rpx;
|
|
|
|
|
+ width: 70%;
|
|
|
|
|
+ left: 15%;
|
|
|
|
|
+ }
|
|
|
|
|
+ .nav .text text {
|
|
|
|
|
+ line-height: 100rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ .nav .menu {
|
|
|
|
|
+ line-height: 100rpx;
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ width: 15%;
|
|
|
|
|
+ height: 100rpx;
|
|
|
|
|
+ right: 3%;
|
|
|
|
|
+ transform: translateX(70%);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ page {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ background-color: #e7e7e7;
|
|
|
|
|
+ }
|
|
|
|
|
+ .nav_book {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ flex-direction: row;
|
|
|
|
|
+ background-color: #fff;
|
|
|
|
|
+ height: 15vh;
|
|
|
|
|
+ }
|
|
|
|
|
+ .nav_book image {
|
|
|
|
|
+ width: 25vw;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ }
|
|
|
|
|
+ .box_book {
|
|
|
|
|
+ background-color: #fff;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ margin-top: 20rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ .box_book .head {
|
|
|
|
|
+ width: 94%;
|
|
|
|
|
+ height: 100rpx;
|
|
|
|
|
+ margin-left: 3%;
|
|
|
|
|
+ line-height: 100rpx;
|
|
|
|
|
+ font-size: 40rpx;
|
|
|
|
|
+ color: #cbad52;
|
|
|
|
|
+ }
|
|
|
|
|
+ .box_book .head .more {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ right: 3%;
|
|
|
|
|
+ }
|
|
|
|
|
+ .box_book .book {
|
|
|
|
|
+ margin-bottom: 30rpx;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ width: 94%;
|
|
|
|
|
+ margin-left: 3%;
|
|
|
|
|
+ }
|
|
|
|
|
+ .box_book .book image {
|
|
|
|
|
+ background-color: #000000;
|
|
|
|
|
+ width: 150rpx;
|
|
|
|
|
+ height: 200rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ .box_book .book .bookC {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ left: 200rpx;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ font-size: 35rpx;
|
|
|
|
|
+ line-height: 2;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ }
|
|
|
|
|
+ .box_book .book .bookC .t1,
|
|
|
|
|
+ .box_book .book .bookC .t2 {
|
|
|
|
|
+ color: #ccc;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
</style>
|
|
</style>
|