新建分支前最后一次提交

This commit is contained in:
@fawn-nine
2023-07-04 13:27:04 +08:00
parent e7d9d12556
commit 5bdbe1afc4
10 changed files with 122 additions and 59 deletions

View File

@@ -3,13 +3,13 @@
<!-- <z-nav-bar backState="2000" title="首页"></z-nav-bar> -->
<view class="home_bg">
<image src="../../static/icon/home_icon_1.png" mode="aspectFit" class="icon_hua_1"></image>
<view class="search_box" @click="onPageJump('./searchFor')">
<view v-if="showEbook" class="search_box" @click="onPageJump('./searchFor')">
<text class="icon_search"></text>
<text class="prompt">搜索...</text>
</view>
</view>
<view class="home_nar">
<view class="hn_cl_tit dianzishu" @click="onPageJump('../eBook/bookList')">
<view class="home_nar" v-if="showEbook">
<view class="hn_cl_tit dianzishu" @click="onPageJump('../eBook/bookList')">
<image src="../../static/icon/home_bar_1.png" mode="aspectFit"></image>
<text>电子书</text>
</view>
@@ -32,7 +32,7 @@
<u-swiper :list="list3" indicator indicatorMode="line" circular style="height: 180rpx;"></u-swiper>
</view>
<view class="home_shujia">
<view class="home_shujia" v-if="showEbook">
<view class="hn_sj" @click="onTabJump('./bookshelf')">
<image src="../../static/icon/midBtn_01.png" mode="aspectFit"></image>
我的书架
@@ -82,13 +82,13 @@
</view>
</view>
<view class="head_line">
<view class="head_line" v-if="showEbook">
<b></b>
<text>新书上架</text>
<i @click="onBookMore('New')">查看更多 ></i>
</view>
<view class="home_xinshu">
<view class="home_xinshu" v-if="showEbook">
<view v-for="(item, index) in xinsList" @click="onBookJump(item)" v-if="index<3" class="hx_list">
<image :src="item.image"></image>
<view class="hx_title">{{item.bookName}}</view>
@@ -107,12 +107,12 @@
<br clear='both'>
</view>
<view class="head_line">
<view class="head_line" v-if="showEbook">
<b></b>
<text>限时特价</text>
<i @click="onBookMore('Sale')">查看更多 ></i>
</view>
<view class="home_limit">
<view class="home_limit" v-if="showEbook">
<u-scroll-list indicatorActiveColor="#27b386">
<view v-for="(item, index) in limiTist" :key="index" @click="onBookJump(item)" class="lt_list">
<image :src="item.image"></image>
@@ -128,12 +128,12 @@
<view class="head_line">
<view class="head_line" v-if="showEbook">
<b></b>
<text>精选书单</text>
<i @click="onBookMore('Best')">查看更多 ></i>
</view>
<view class="home_jingxu">
<view class="home_jingxu" v-if="showEbook">
<view class="hj_hot" v-for="(item,index) in jingList" @click="onBookJump(item)">
<view>
<text class="bok_name">{{item.bookName}}</text>
@@ -157,7 +157,8 @@
<view class="head_line">
<b></b>
<text>精选商品</text>
<i @click="onShopMore('Hot')">查看更多 ></i>
<!-- <i @click="onShopMore('Hot')">查看更多 ></i> -->
<i @click="onPageJump('../bookShop/classify')">查看更多 ></i>
</view>
<!-- 商品展示 -->
@@ -197,6 +198,7 @@
export default {
data() {
return {
showEbook:false, // 显示电子书相关
transaction: { // 成功回调
},
@@ -457,7 +459,7 @@
// 获取精选商品
this.$http
.post('book/shopproduct/appGetList?limit=4&page=1&istop=1')
.post('book/shopproduct/appGetList?limit=30&page=1&istop=1')
.then(res => {
this.goodsList = res.page.list
})