Authored by 李奇

资源位开发

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