applyActivity.wxml
2.58 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<view class="container">
<block wx:if="{{list.length}}">
<image mode="widthFix" webp style="height: 480rpx;" src="{{IMGURL + 'apply_activity_bg_' + currentSceneCode + '.png'}}" />
<view class="pos_wrap">
<view class="wrapper">
<view class="title">
<text>开通门店:</text>
<text class="txt">{{USERINFO.merchantName}}</text>
</view>
<view class="titleSign flex_sc">
<view class="lineTip"></view>
<view class="label">开通门店活动产品/活动</view>
</view>
<view class="sinceTitle">业务场景</view>
<view class="widget">
<block wx:for="{{list}}" wx:key="index">
<view bind:tap="select" data-index="{{index}}" data-item="{{item}}" class="element {{currentIndex==index?'active':''}}">
<image webp mode="widthFix" class="icon" src="{{IMGURL}}apply_activity_icon_{{index+1}}.png" />
<view class="name {{currentIndex==index?'active_color':''}}">
{{item.stage}}
</view>
<view class="tip {{currentIndex==index?'active_color':''}}">
{{item.name}}
</view>
<view class="triangle-down"></view>
<!-- <view class="triangle-down_temp"></view> -->
</view>
</block>
</view>
<view class="title_tip">
产品/活动
<text class="tips">(可多选)</text>
</view>
<view class="product_wrap flex_sc">
<block wx:for="{{product}}" wx:key="index">
<view class="box">
<view bind:tap="selectProduct" data-index="{{index}}" data-item="{{item}}" class="element flex_cc {{item.isSelect?'active':''}}">
{{item.productName}}
</view>
</view>
</block>
</view>
</view>
<view class="btn flex_cc" bind:tap="applyOpened">申请开通</view>
</view>
</block>
<block wx:else>
<view class="emptyData" style="margin-top: {{headerHeight+32}}px;">
<image webp src="{{IMGURL}}toLink.png" style="height: 400rpx;width: 400rpx;"></image>
<view class="tip">
<view>您的门店尚未开通业务场景,</view>
<view>请联系在线客服进行咨询,谢谢。</view>
</view>
</view>
</block>
</view>