|
|
@ -35,7 +35,7 @@ |
|
|
|
<view class="swiper-box"> |
|
|
|
<view class="swiper-box"> |
|
|
|
<swiper circular="true" autoplay="true" @change="swiperChange"> |
|
|
|
<swiper circular="true" autoplay="true" @change="swiperChange"> |
|
|
|
<swiper-item v-for="swiper in swiperList" :key="swiper.id"> |
|
|
|
<swiper-item v-for="swiper in swiperList" :key="swiper.id"> |
|
|
|
<image :src="imageUrl+swiper.imgData"></image> |
|
|
|
<image :src="imageUrl+swiper.imgData" @click="jumplottery(swiper)"></image> |
|
|
|
</swiper-item> |
|
|
|
</swiper-item> |
|
|
|
</swiper> |
|
|
|
</swiper> |
|
|
|
<view class="indicator"> |
|
|
|
<view class="indicator"> |
|
|
@ -75,8 +75,8 @@ |
|
|
|
</swiper-item> |
|
|
|
</swiper-item> |
|
|
|
</swiper> |
|
|
|
</swiper> |
|
|
|
|
|
|
|
|
|
|
|
<image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" v-for="(row, index) in homeCateList" :key="index" @click="jumphuafei(row)" |
|
|
|
<image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" v-for="(row, index) in homeCateList" |
|
|
|
:src="imageUrl+row.imgData"></image> |
|
|
|
:key="index" @click="jumphuafei(row)" :src="imageUrl+row.imgData"></image> |
|
|
|
<!-- 赠券 --> |
|
|
|
<!-- 赠券 --> |
|
|
|
<view style="width: 91%;margin-left: 5%;" v-if='productList.length != 0' @click="goGoodsList(1)"> |
|
|
|
<view style="width: 91%;margin-left: 5%;" v-if='productList.length != 0' @click="goGoodsList(1)"> |
|
|
|
<image class="mart30 width100" mode="widthFix" :src="imagewxUrl+imgadres"></image> |
|
|
|
<image class="mart30 width100" mode="widthFix" :src="imagewxUrl+imgadres"></image> |
|
|
@ -156,8 +156,7 @@ |
|
|
|
pageNum: 1, |
|
|
|
pageNum: 1, |
|
|
|
pageSize: 6, |
|
|
|
pageSize: 6, |
|
|
|
// 分类菜单 |
|
|
|
// 分类菜单 |
|
|
|
categoryList: [ |
|
|
|
categoryList: [], |
|
|
|
], |
|
|
|
|
|
|
|
homeCateList: [], |
|
|
|
homeCateList: [], |
|
|
|
//切换状态 |
|
|
|
//切换状态 |
|
|
|
cpStuats: 1 |
|
|
|
cpStuats: 1 |
|
|
@ -654,6 +653,15 @@ |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
//轮播跳转活动 |
|
|
|
|
|
|
|
jumplottery(item) { |
|
|
|
|
|
|
|
if (item.ext1) { |
|
|
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
|
|
|
url: item.ext1 |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
//单独跳转话费充值 |
|
|
|
//单独跳转话费充值 |
|
|
|
jumphuafei(item) { |
|
|
|
jumphuafei(item) { |
|
|
|
if (!app.globalData.userInfo) { |
|
|
|
if (!app.globalData.userInfo) { |
|
|
|