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