resources.wxml
1.92 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
<view class="resources">
<view wx:for="{{floors}}" wx:key="{{index}}" bindclickreport="report">
<shop-carousel
bindclickreport="report"
wx:if="{{item.module_type == 'CarouselImage'}}"
images="{{item.data}}"
padding-class="{{'padding-bottom-20'}}"
floor-id="{{item.template_id}}"
floor-name="{{item.template_name}}"
floor-index="{{floorIndex}}">
</shop-carousel>
<shop-single-image
bindclickreport="report"
wx:if="{{item.module_type == 'SingleImage'}}"
images="{{item.data}}"
padding-class="{{'padding-bottom-20'}}"
floor-id="{{item.template_id}}"
floor-name="{{item.template_name}}"
floor-index="{{floorIndex}}">
</shop-single-image>
<shop-double-image
bindclickreport="report"
wx:if="{{item.module_type == 'DoubleImage'}}"
images="{{item.data}}"
padding-class="{{'padding-bottom-20'}}"
floor-id="{{item.template_id}}"
floor-name="{{item.template_name}}"
floor-index="{{floorIndex}}">
</shop-double-image>
<shop-four-image
bindclickreport="report"
wx:if="{{item.module_type == 'FourImage'}}"
images="{{item.data}}"
padding-class="{{'padding-bottom-20'}}"
floor-id="{{item.template_id}}"
floor-name="{{item.template_name}}"
floor-index="{{floorIndex}}">
</shop-four-image>
<shop-triple-image
bindclickreport="report"
wx:if="{{item.module_type == 'TripleImage'}}"
images="{{item.data}}"
properties="{{item.properties}}"
floor-id="{{item.template_id}}"
floor-name="{{item.template_name}}"
floor-index="{{floorIndex}}">
</shop-triple-image>
</view>
</view>