1.修改首页排列顺序

yj-dev
杨杰 3 years ago
parent 782abb4053
commit 7236348a72
  1. 42
      pages/tabBar/home/home.vue

@ -54,30 +54,32 @@
<view class="text">{{ row.name }}</view> <view class="text">{{ row.name }}</view>
</view> </view>
</view> </view>
<!-- 积分 -->
<view style="width: 90%;margin-left: 5%;" v-if='goldproductList.length != 0' @click="goGoodsList(2)">
<image class="mart30 width100" mode="widthFix" :src="imagewxUrl+imgadres1"></image>
</view>
<!-- v-if="goldproductList&&goldproductList.length>0" -->
<swiper class="orange-content" :display-multiple-items="goldproductListleg" v-if='goldproductList.length != 0'
next-margin="50rpx">
<swiper-item class="swiper-hed" v-for="(item,index) in goldproductList" :key="index"
@click="toGoods(item.id)">
<view class="swiper-item" :data-id="item.id">
<image class="img" :src="imageUrl+item.couponImg" mode="aspectFit"></image>
<view class="fotlt fcor333 font14 text1 mart10">{{item.couponName}}</view>
<view class="subject fotct mart5">
<image style="width: 15px;height: 15px;vertical-align: sub;margin-right: 5px;"
src="../../../static/img/jfx.png">
</image>{{ item.discountPrice*100}}
</view>
</view>
</swiper-item>
</swiper>
<image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" @click="goGoodsList(2)" <image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" @click="goGoodsList(2)"
:src="imagewxUrl+imgadres8"></image> :src="imagewxUrl+imgadres8"></image>
<image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" @click="jumphuafei(3)" <image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" @click="jumphuafei(3)"
:src="imagewxUrl+imgadres5"></image> :src="imagewxUrl+imgadres5"></image>
<!-- 积分 -->
<view style="width: 90%;margin-left: 5%;" v-if='goldproductList.length != 0' @click="goGoodsList(2)">
<image class="mart30 width100" mode="widthFix" :src="imagewxUrl+imgadres1"></image>
</view>
<!-- v-if="goldproductList&&goldproductList.length>0" -->
<swiper class="orange-content" :display-multiple-items="goldproductListleg" v-if='goldproductList.length != 0'
next-margin="50rpx">
<swiper-item class="swiper-hed" v-for="(item,index) in goldproductList" :key="index"
@click="toGoods(item.id)">
<view class="swiper-item" :data-id="item.id">
<image class="img" :src="imageUrl+item.couponImg" mode="aspectFit"></image>
<view class="fotlt fcor333 font14 text1 mart10">{{item.couponName}}</view>
<view class="subject fotct mart5">
<image style="width: 15px;height: 15px;vertical-align: sub;margin-right: 5px;"
src="../../../static/img/jfx.png">
</image>{{ item.discountPrice*100}}
</view>
</view>
</swiper-item>
</swiper>
<image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" @click="jumpTyou" <image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" @click="jumpTyou"
:src="imagewxUrl+imgadres4"></image> :src="imagewxUrl+imgadres4"></image>
<!-- 赠券 --> <!-- 赠券 -->

Loading…
Cancel
Save