1.修改首页位置

yj-dev
杨杰 3 years ago
parent 7324e19498
commit fb57c33cbe
  1. 34
      pages/tabBar/home/home.vue

@ -54,6 +54,23 @@
<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="jumpTyou" <image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" @click="jumpTyou"
:src="imagewxUrl+imgadres4"></image> :src="imagewxUrl+imgadres4"></image>
@ -76,23 +93,6 @@
</swiper> </swiper>
<!-- 积分 -->
<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="jumphuafei(2)" <image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" @click="jumphuafei(2)"
:src="imagewxUrl+imgadres6"></image> :src="imagewxUrl+imgadres6"></image>
<image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" @click="jumphuafei(1)" <image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" @click="jumphuafei(1)"

Loading…
Cancel
Save