1.新版2.0 改造首页

yj-dev
杨杰 2 years ago
parent 208037760e
commit 30d4a61b40
  1. 16
      pages/tabBar/home/home.vue

@ -33,9 +33,9 @@
</view>
<!-- 顶部菜单 -->
<view v-for="(item,index) in homeCateList" :key="index">
<view class="height80 backcorltop mart50" v-if="item.type == 1">
<view class="height90 backcorltop mart50" v-if="item.type == 1">
<view class="category-list">
<view class="category" style="width: 25%;" v-for="(row, index) in categoryList" :key="index"
<view class="category" style="width: 25%;" v-for="(row, index) in item.childCategory" :key="index"
@tap="toCategory(row)">
<view class="img">
<image :src="imageUrl+row.imgData"></image>
@ -45,11 +45,11 @@
</view>
</view>
<!-- 顶部活动图片 -->
<!-- <image class="width100" mode="widthFix" :src="imagewxUrl+imgadres"></image> -->
<image class="width100" mode="widthFix" :src="imagewxUrl+imgadres" v-if="item.type == 8"></image>
<!-- 顶部菜单 -->
<view class="category-list backcorfff" style="margin-top: -5px;" v-if="item.type == 7">
<view class="category" style="width: 20%;" v-for="(row, index) in categoryList" :key="index"
<view class="category" style="width: 20%;" v-for="(row, index) in item.childCategory" :key="index"
@tap="toCategory(row)">
<view class="img">
<image :src="imageUrl+row.imgData"></image>
@ -91,7 +91,7 @@
<!-- 加油专区 -->
<view class="width90 mart20 alijusstart" v-if="item.type == 6" @click="goGoodsList(2)">
<view class="width70 font18 fcor333">
加油专区
{{item.name}}
</view>
<view class="width30 font14 fotrt fcor666">更多</view>
</view>
@ -128,9 +128,9 @@
<image src="../../../static/img/home/home5.png" mode="widthFix" class="width31"></image>
</view>
<!-- 天天好券 -->
<view class="width90 mart20 alijusstart" v-if="item.type == 6">
<!-- <view class="width90 mart20 alijusstart" v-if="item.type == 6">
<view class="width70 font18 fcor333">
天天好券
{{item.name}}
</view>
<view class="width30 font14 fotrt fcor666">更多</view>
</view>
@ -153,7 +153,7 @@
<view class="width96 fcor999 font11">2020.09.21-2202.10.12</view>
<view class="width94 fcoreb5 font15 fontwig6">¥240</view>
</view>
</view>
</view> -->
</view>
<!-- 弹窗 -->
<wybPopup ref="popup" type="center" height="850" width="600" bgColor="" radius="6" :showCloseIcon="true">

Loading…
Cancel
Save