openBusiness.wxml
2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!--packageOutput/pages/openBusiness/openBusiness.wxml-->
<view class="openBusiness">
<image class="bg-img" webp src="{{IMGURL}}output/open0{{sceneActive}}.png?v={{img_version}}" />
<view class="layout">
<view class="form m-b-32">
<text class="label">开通门店:</text>
<text>{{merchantInfo.merchantName}}</text>
</view>
<view class="head m-b-32">开通门店产品/活动</view>
<!-- 场景活动 -->
<view class="box">
<view class="box-title">业务场景</view>
<scene-box sceneInfo="{{sceneInfo}}" scenePriceList="{{scenePriceList}}" sceneCodeActive="{{sceneCodeActive}}" hasOpenIcon="{{false}}" bindhandleSceneChange="handleSceneChange"></scene-box>
</view>
<!-- 活动 -->
<view class="box">
<view class="box-title">产品/活动<text class="title-tip">(可多选)</text></view>
<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 && 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>
<view class="text-hide item-disabled" wx:else>{{item.productName}}</view>
</view>
</view>
</view>
</view>
<view class="isFullSucreen btn">
<view wx:if="{{sceneCodeActive != 'SC001'}}" class="btn-blue" bindtap="handleConfirm">申请开通</view>
<view wx:else class="btn-disabled">申请开通</view>
</view>
</view>