|
|
|
@ -27,9 +27,6 @@ |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" v-for="(row, index) in homeCateList" |
|
|
|
|
:key="index" @click="jumphuafei(row)" :src="imagewxUrl+row.imgData"></image> |
|
|
|
|
<!-- 银联赠券 --> |
|
|
|
|
<view style="width: 91%;margin-left: 5%;" v-if='productList.length != 0' @click="goGoodsList(3)"> |
|
|
|
|
<image class="mart30 width100" mode="widthFix" :src="imagewxUrl+imgadres"></image> |
|
|
|
|
</view> |
|
|
|
@ -44,6 +41,11 @@ |
|
|
|
|
</view> |
|
|
|
|
</swiper-item> |
|
|
|
|
</swiper> |
|
|
|
|
|
|
|
|
|
<image mode="widthFix" style="margin-top: 30px;width: 90%;margin-left: 5%;" v-for="(row, index) in homeCateList" |
|
|
|
|
:key="index" @click="jumphuafei(row)" :src="imagewxUrl+row.imgData"></image> |
|
|
|
|
<!-- 银联赠券 --> |
|
|
|
|
|
|
|
|
|
<wybPopup ref="popup" type="center" height="850" width="600" radius="6" bgColor="" :showCloseIcon="true"> |
|
|
|
|
<image class="popImg" :src="imageUrl+imgadres3" @click="jumpWeb"></image> |
|
|
|
|
</wybPopup> |
|
|
|
@ -115,6 +117,9 @@ |
|
|
|
|
{ |
|
|
|
|
'title': '话费充值', |
|
|
|
|
'imgData': 'phonePay1.png' |
|
|
|
|
}, { |
|
|
|
|
'title': '石化码商', |
|
|
|
|
'imgData': 'petCoder.png' |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
homeCateList: [{ |
|
|
|
@ -132,7 +137,7 @@ |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
onShow() { |
|
|
|
|
let that = this; |
|
|
|
|
let that = this; |
|
|
|
|
uni.getStorage({ |
|
|
|
|
key: "user", |
|
|
|
|
success(e) { |
|
|
|
@ -185,7 +190,7 @@ |
|
|
|
|
if (res.return_code == '000000' && res.return_data) { |
|
|
|
|
let datas = res.return_data; |
|
|
|
|
uni.showModal({ |
|
|
|
|
title: '优惠券领取', |
|
|
|
|
title: '优惠券领取', |
|
|
|
|
content: '前往领取优惠券', |
|
|
|
|
success: (res) => { |
|
|
|
|
if (res.confirm) { |
|
|
|
@ -218,7 +223,7 @@ |
|
|
|
|
upsdk.pluginReady(function() { |
|
|
|
|
upsdk.getLocationCity({ |
|
|
|
|
success: function(cityCd) { |
|
|
|
|
app.globalData.cityId = cityCd; |
|
|
|
|
app.globalData.cityId = cityCd; |
|
|
|
|
that.getCouponListArea(); |
|
|
|
|
}, |
|
|
|
|
fail: function(err) {} |
|
|
|
@ -418,7 +423,13 @@ |
|
|
|
|
} |
|
|
|
|
if (item.title == '话费充值') { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url:'../../unionPay/recharge/recharge' |
|
|
|
|
url: '../../unionPay/recharge/recharge' |
|
|
|
|
}) |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if (item.title == '石化码商') { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '/pages/goods/goods-list/goods-list?id=3' |
|
|
|
|
}) |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
@ -751,7 +762,7 @@ |
|
|
|
|
flex-wrap: wrap; |
|
|
|
|
|
|
|
|
|
.category { |
|
|
|
|
width: 25%; |
|
|
|
|
width: 33.3%; |
|
|
|
|
margin-top: 50upx; |
|
|
|
|
display: flex; |
|
|
|
|
flex-wrap: wrap; |
|
|
|
|