This commit is contained in:
@fawn-nine
2023-09-28 13:31:04 +08:00
parent 9772322df5
commit c785f36086
7 changed files with 367 additions and 298 deletions

View File

@@ -28,23 +28,23 @@
<view class="home_nar">
<view class="hn_cl_tit shuguan" @click="onPageJump('../clock/index')">
<image src="../../static/icon/home1.png" mode="aspectFit"></image>
<text>打卡</text>
<text> </text>
</view>
<view class="hn_cl_tit dianzishu" @click="onPageJump('../listen/home')">
<image src="../../static/icon/home2.png" mode="aspectFit"></image>
<text>听书</text>
<text> </text>
</view>
<!-- <view class="hn_cl_tit" @click="onPageJump('../bookShop/bookShopIndex')"> -->
<view class="hn_cl_tit shuping" @click="onPageJump('../comments/commentsList')">
<image src="../../static/icon/home3.png" mode="aspectFit"></image>
<text>书评</text>
<text> </text>
</view>
<view class="hn_cl_tit chaoshi" @click="onPageJump('../talkBook/talkBook')">
<image src="../../static/icon/home4.png" mode="aspectFit"></image>
<text>讲书</text>
<text> </text>
</view>
</view>
@@ -198,7 +198,8 @@
<view class="goods">
<!-- 精选 -->
<view class="" >
<view class="" v-if="tjProList.length > 0">
<view v-if="tjProList.length > 0" >
<view class="flexbox" style="flex-wrap: wrap;">
<view class="goodsItem" v-for="(item,index) in tjProList" :key="index"
@click="goDetail(item.shopproudicts[0].productId)">
<image :src="item.shopproudicts[0].productImages" mode="" class="goodsImg"></image>
@@ -213,14 +214,16 @@
</view>
</view>
</view>
<br clear="both">
<view v-if="status==0" style="text-align: center;">
<u-loading-icon style="display: inline-block;"></u-loading-icon>
<font style='vertical-align: super;margin-left: 10px;font-size: 26rpx;color: #909399;'>努力加载中</font>
</view>
<view v-if="status==1">
<u-divider text="全部加载完成"></u-divider>
</view>
</view>
<view class="">
<view v-if="status==0" style="text-align: center;">
<u-loading-icon style="display: inline-block;"></u-loading-icon>
<font style='vertical-align: super;margin-left: 10px;font-size: 26rpx;color: #909399;'>努力加载中</font>
</view>
<view v-if="status==1">
<u-divider text="全部加载完成"></u-divider>
</view>
</view>
</view>
<u-divider v-else text="暂无数据哦~"></u-divider>
@@ -301,6 +304,10 @@
uni.hideTabBar();
// this.requestIapOrder()
},
onHide() {
this.page = 1
this.tjProList = []
},
//页面显示
onShow() {
// 隐藏原生的tabbar
@@ -692,7 +699,9 @@
.price{color: #9b9b9b !important; font-size: inherit; font-weight: normal !important; display: block;}
}
.ProTabs{margin: 20rpx 0; padding:0 20rpx;
text{padding: 4rpx 8rpx; font-size: 32rpx; border-radius: 10rpx; overflow: hidden; background-color: #eee; color: #55aa7f; margin-right: 10rpx;}
text{padding: 12rpx 14rpx; font-size: 32rpx; border-radius: 10rpx; overflow: hidden;
// background-color: #eee;
color: #55aa7f; margin-right: 10rpx;}
text.cur{background-color:#55aa7f ; color: #fff;}
}
.newBook{margin-top: 20rpx;}
@@ -812,8 +821,8 @@
align-content: center;
justify-content: center;
image {
width: 110upx;
height:110upx;
width:90%;
height:156rpx;
display: block;
margin: 0 auto;
// margin: 0 20rpx;
@@ -1104,7 +1113,7 @@
.goodsName {
margin-top: 10rpx;
font-size: 30rpx;
font-weight: bold;
// font-weight: bold;
}
.goodsPrice {
@@ -1113,7 +1122,7 @@
display: flex; justify-content: space-between;
.price{
font-weight: bold;
color: #bf0c0c;
color: #ff0000;
}
.Salesnum{color: #9b9b9b;}
}