|
|
@ -30,8 +30,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<view class="info mart10"> |
|
|
|
<view class="info mart10"> |
|
|
|
<view class="price" v-if="row.payType != 1"> |
|
|
|
<view class="price" v-if="row.payType != 1"> |
|
|
|
<image style="width: 15px;height: 15px;vertical-align: sub;" |
|
|
|
<image style="width: 15px;height: 15px;vertical-align: sub;" src="../../../static/img/jfx.png"> |
|
|
|
src="../../../static/img/jfx.png"> |
|
|
|
|
|
|
|
</image> {{ row.discountPrice*100}} |
|
|
|
</image> {{ row.discountPrice*100}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="price" v-else> |
|
|
|
<view class="price" v-else> |
|
|
@ -39,9 +38,15 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- v-if="product.discountPrice !== product.salesPrice" --> |
|
|
|
<!-- v-if="product.discountPrice !== product.salesPrice" --> |
|
|
|
<view class="slogan" v-if="row.discountPrice !== row.salesPrice"> |
|
|
|
<view class="slogan" v-if="row.discountPrice !== row.salesPrice"> |
|
|
|
<image v-if="row.payType != 1" style="width: 15px;height: 15px;vertical-align: sub;" |
|
|
|
<!-- <image v-if="row.payType != 1" style="width: 15px;height: 15px;vertical-align: sub;" |
|
|
|
|
|
|
|
src="../../../static/img/jfh.png"> |
|
|
|
|
|
|
|
</image>{{ row.salesPrice*100}} <text v-else>¥</text>{{row.salesPrice}} --> |
|
|
|
|
|
|
|
<view v-if="row.payType != 1"> |
|
|
|
|
|
|
|
<image style="width: 15px;height: 15px;vertical-align: sub;" |
|
|
|
src="../../../static/img/jfh.png"> |
|
|
|
src="../../../static/img/jfh.png"> |
|
|
|
</image> <text v-else>¥</text>{{ row.salesPrice*100}} |
|
|
|
</image>{{ row.salesPrice*100}} |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view v-else>¥{{ row.salesPrice}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -106,6 +111,13 @@ |
|
|
|
this.getCmsContent('CMS_WX_APPLETS_GOODS_LIST'); |
|
|
|
this.getCmsContent('CMS_WX_APPLETS_GOODS_LIST'); |
|
|
|
} |
|
|
|
} |
|
|
|
if (option.id == 3) { |
|
|
|
if (option.id == 3) { |
|
|
|
|
|
|
|
uni.setNavigationBarTitle({ |
|
|
|
|
|
|
|
title: '中石化码列表' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
this.getCouponListArea(); |
|
|
|
|
|
|
|
this.getCmsContent('CMS_WX_APPLETS_GOODS_LIST'); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (option.id == 4) { |
|
|
|
uni.setNavigationBarTitle({ |
|
|
|
uni.setNavigationBarTitle({ |
|
|
|
title: '优选商品' |
|
|
|
title: '优选商品' |
|
|
|
}); |
|
|
|
}); |
|
|
@ -149,7 +161,6 @@ |
|
|
|
let pagenum = this.pageNum; |
|
|
|
let pagenum = this.pageNum; |
|
|
|
let params = { |
|
|
|
let params = { |
|
|
|
regionId: app.globalData.cityId, |
|
|
|
regionId: app.globalData.cityId, |
|
|
|
// regionId: '510000', |
|
|
|
|
|
|
|
pageNum: pagenum, |
|
|
|
pageNum: pagenum, |
|
|
|
pageSize: this.pageSize, |
|
|
|
pageSize: this.pageSize, |
|
|
|
displayArea: this.typeId, |
|
|
|
displayArea: this.typeId, |
|
|
@ -206,7 +217,7 @@ |
|
|
|
this.pageSize = 10; |
|
|
|
this.pageSize = 10; |
|
|
|
this.isNoMoreData = false; |
|
|
|
this.isNoMoreData = false; |
|
|
|
this.goodsList = []; |
|
|
|
this.goodsList = []; |
|
|
|
if(this.typeId == 3){ |
|
|
|
if (this.typeId == 4) { |
|
|
|
this.getBrandCouponList(); |
|
|
|
this.getBrandCouponList(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.getCouponListArea(); |
|
|
|
this.getCouponListArea(); |
|
|
|