Commit bfb9360d by chenwq

开通场景

1 parent 9785a46a
......@@ -26,7 +26,7 @@ Page({
}]
},
sceneActive: 1,
sceneCodeActive: 'SC001',
sceneCodeActive: 'SC002',
isLoading: false,
// 活动内容
activityList: [],
......
......@@ -15,14 +15,14 @@
<!-- 活动 -->
<view class="box">
<view class="box-title">产品/活动<text class="title-tip">(可多选)</text></view>
<view class="activity-box" wx:if="{{sceneCodeActive != 'SC001'}}">
<view class="activity-box">
<view wx:for="{{activityList}}" wx:key="index" class="activity-item">
<!-- productStatus:0未申请;1申请中;2已开通;3:已结束 -->
<view wx:if="{{item.openFlag != 0 && item.productStatus == 2}}">
<glsx-image wx:if="{{sceneCodeActive == 'SC004'}}" src="output/mark-active.webp" class="icon-mark"></glsx-image>
<glsx-image wx:if="{{sceneCodeActive == 'SC002' || sceneCodeActive == 'SC003'}}" src="output/mark-open.webp" class="icon-mark"></glsx-image>
</view>
<view wx:if="{{item.openFlag == 0}}" class="act text-hide {{ item.checked ? 'active' : '' }}" bindtap="handleActClick" data-idx="{{index}}">
<view wx:if="{{item.openFlag == 0 && sceneCodeActive != 'SC001'}}" class="act text-hide {{ item.checked ? 'active' : '' }}" bindtap="handleActClick" data-idx="{{index}}">
<glsx-image wx:if="{{item.checked}}" webp class="act-img" src="index/act-img.png"></glsx-image>
{{item.productName}}
</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!