Commit 8c4523b4 by 高淑倩

modify: 集点详情_showActivitys_0否_1显示

parent 30037bc4
...@@ -18,7 +18,7 @@ wxService.page({ ...@@ -18,7 +18,7 @@ wxService.page({
}, },
desc: [], desc: [],
activityId: '', activityId: '',
type: 1, // 1 订单 2 商品 type: 0, // 0 不显示 1 显示
popupType: 0, // 默认不跳转 1 优惠券 2 积分 popupType: 0, // 默认不跳转 1 优惠券 2 积分
goal: 0, goal: 0,
detailImage: '', detailImage: '',
...@@ -60,7 +60,7 @@ wxService.page({ ...@@ -60,7 +60,7 @@ wxService.page({
this.setData({ this.setData({
activityId: data.id, activityId: data.id,
type: data.type, type: data.showActivitys,
popupType: data.popupType, popupType: data.popupType,
goal: data.goal, goal: data.goal,
desc: JSON.parse(data.content), desc: JSON.parse(data.content),
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</view> </view>
</view> </view>
<view class="detail-desc"> <view class="detail-desc">
<view class="detail-active point_color" bindtap="handleCheckGoods" wx:if="{{type == 2}}">查看活动商品 ></view> <view class="detail-active point_color" bindtap="handleCheckGoods" wx:if="{{type == 1}}">查看活动商品 ></view>
<view class='integral-list' wx:for="{{desc}}" wx:key="{{index}}"> <view class='integral-list' wx:for="{{desc}}" wx:key="{{index}}">
<text class='integral-title'>{{item.title}}</text> <text class='integral-title'>{{item.title}}</text>
<text class='integral-desc wpl'>{{item.value}}</text> <text class='integral-desc wpl'>{{item.value}}</text>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment