Authored by 李奇

资源位开发

@@ -40,7 +40,7 @@ @@ -40,7 +40,7 @@
40 bindclickreport="report" 40 bindclickreport="report"
41 wx:if="{{item.module_type == 'TripleImage'}}" 41 wx:if="{{item.module_type == 'TripleImage'}}"
42 images="{{item.data}}" 42 images="{{item.data}}"
43 - padding-class="{{'padding-bottom-20'}}" 43 + properties="{{item.properties}}"
44 floor-id="{{item.template_id}}" 44 floor-id="{{item.template_id}}"
45 floor-name="{{item.template_name}}" 45 floor-name="{{item.template_name}}"
46 floor-index="{{floorIndex}}"> 46 floor-index="{{floorIndex}}">
1 <wxs src="../../../../wxs/helper.wxs" module="helper" /> 1 <wxs src="../../../../wxs/helper.wxs" module="helper" />
2 -<view class="resource-shop-triple-image {{isModuleMargin.isModuleMargin ? 'margin-bottom-20' : ''}}"> 2 +<view class="resource-shop-triple-image {{properties.isModuleMargin ? 'margin-bottom-20' : ''}}">
3 <anchor 3 <anchor
4 wx:for="{{images}}" 4 wx:for="{{images}}"
5 wx:key="index" 5 wx:key="index"
@@ -11,9 +11,17 @@ @@ -11,9 +11,17 @@
11 floor-url="{{item.url}}" 11 floor-url="{{item.url}}"
12 floor-index="{{floorIndex}}" 12 floor-index="{{floorIndex}}"
13 floor-item-index="{{index + 1}}"> 13 floor-item-index="{{index + 1}}">
14 -  
15 - <view wx:if="{{isModuleMargin.displayType == 1}}">1111</view>  
16 -  
17 - <image class="image-item" src="{{item.pic}}" mode="widthFix"></image> 14 + <view wx:if="{{properties.displayType == 1}}">
  15 + <image class="image-item" src="{{item.pic}}" mode="widthFix"></image>
  16 + </view>
  17 + <view wx:if="{{properties.displayType == 2}}">
  18 + <image class="image-item" src="{{item.pic}}" mode="widthFix"></image>
  19 + </view>
  20 + <view wx:if="{{properties.displayType == 3}}">
  21 + <image class="image-item" src="{{item.pic}}" mode="widthFix"></image>
  22 + </view>
  23 + <view wx:if="{{properties.displayType == 4}}">
  24 + <image class="image-item" src="{{item.pic}}" mode="widthFix"></image>
  25 + </view>
18 </anchor> 26 </anchor>
19 </view> 27 </view>
1 .resource-shop-triple-image .anchor-item { 1 .resource-shop-triple-image .anchor-item {
2 display: inline-block; 2 display: inline-block;
3 width: 25%; 3 width: 25%;
4 - font-size: 0; 4 + font-size: 50rpx;
5 box-sizing: border-box; 5 box-sizing: border-box;
6 border-left: 1px solid #e0e0e0; 6 border-left: 1px solid #e0e0e0;
7 border-top: 1px solid #e0e0e0; 7 border-top: 1px solid #e0e0e0;