Authored by 李奇

业务线修改

... ... @@ -4,6 +4,7 @@
bindclickreport="report"
wx:if="{{item.module_type == 'CarouselImage'}}"
images="{{item.data}}"
properties="{{item.properties}}"
padding-class="{{'padding-bottom-20'}}"
floor-id="{{item.template_id}}"
floor-name="{{item.template_name}}"
... ... @@ -13,6 +14,7 @@
bindclickreport="report"
wx:if="{{item.module_type == 'SingleImage'}}"
images="{{item.data}}"
properties="{{item.properties}}"
padding-class="{{'padding-bottom-20'}}"
floor-id="{{item.template_id}}"
floor-name="{{item.template_name}}"
... ... @@ -22,6 +24,7 @@
bindclickreport="report"
wx:if="{{item.module_type == 'DoubleImage'}}"
images="{{item.data}}"
properties="{{item.properties}}"
padding-class="{{'padding-bottom-20'}}"
floor-id="{{item.template_id}}"
floor-name="{{item.template_name}}"
... ... @@ -31,6 +34,7 @@
bindclickreport="report"
wx:if="{{item.module_type == 'FourImage'}}"
images="{{item.data}}"
properties="{{item.properties}}"
padding-class="{{'padding-bottom-20'}}"
floor-id="{{item.template_id}}"
floor-name="{{item.template_name}}"
... ...
.resource-shop-single-image {
font-size: 0;
}
.resource-shop-single-image .image {
width: 750rpx;
}
... ...
<wxs src="../../../../wxs/helper.wxs" module="helper" />
<view class="resource-shop-triple-image {{properties.isModuleMargin ? 'margin-bottom-20' : ''}}">
<anchor
wx:for="{{images}}"
wx:key="index"
class="anchor-item"
bindclickreport="report"
url="{{item.url}}"
floor-id="{{floorId}}"
floor-name="{{floorName}}"
floor-url="{{item.url}}"
floor-index="{{floorIndex}}"
floor-item-index="{{index + 1}}">
<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}}">
<view class="style-type-1 style-type-2" wx:if="{{properties.displayType == 1 || properties.displayType == 2}}">
<anchor
wx:for="{{images}}"
wx:key="index"
class="anchor-item"
bindclickreport="report"
url="{{item.url}}"
floor-id="{{floorId}}"
floor-name="{{floorName}}"
floor-url="{{item.url}}"
floor-index="{{floorIndex}}"
floor-item-index="{{index + 1}}">
<image class="image-item" src="{{item.pic}}" mode="widthFix"></image>
</anchor>
</view>
<view class="style-type-3" wx:if="{{properties.displayType == 3}}">
<view class="left-part">
<anchor
class="anchor-item"
bindclickreport="report"
url="{{item.url}}"
floor-id="{{floorId}}"
floor-name="{{floorName}}"
floor-url="{{item.url}}"
floor-index="{{floorIndex}}"
floor-item-index="1">
<image class="image-item" src="{{images[0].pic}}" mode="widthFix"></image>
</anchor>
<anchor
class="anchor-item"
bindclickreport="report"
url="{{item.url}}"
floor-id="{{floorId}}"
floor-name="{{floorName}}"
floor-url="{{item.url}}"
floor-index="{{floorIndex}}"
floor-item-index="2">
<image class="image-item" src="{{images[1].pic}}" mode="widthFix"></image>
</anchor>
</view>
<view class="right-part">
<anchor
class="anchor-item"
bindclickreport="report"
url="{{item.url}}"
floor-id="{{floorId}}"
floor-name="{{floorName}}"
floor-url="{{item.url}}"
floor-index="{{floorIndex}}"
floor-item-index="3">
<image class="image-item" src="{{images[2].pic}}" mode="widthFix"></image>
</anchor>
</view>
</view>
<view class="style-type-3 style-type-4" wx:if="{{properties.displayType == 4}}">
<view class="left-part">
<anchor
class="anchor-item"
bindclickreport="report"
url="{{item.url}}"
floor-id="{{floorId}}"
floor-name="{{floorName}}"
floor-url="{{item.url}}"
floor-index="{{floorIndex}}"
floor-item-index="1">
<image class="image-item" src="{{images[0].pic}}" mode="widthFix"></image>
</anchor>
</view>
<view class="right-part">
<anchor
class="anchor-item"
bindclickreport="report"
url="{{item.url}}"
floor-id="{{floorId}}"
floor-name="{{floorName}}"
floor-url="{{item.url}}"
floor-index="{{floorIndex}}"
floor-item-index="3">
<image class="image-item" src="{{images[1].pic}}" mode="widthFix"></image>
</anchor>
<anchor
class="anchor-item"
bindclickreport="report"
url="{{item.url}}"
floor-id="{{floorId}}"
floor-name="{{floorName}}"
floor-url="{{item.url}}"
floor-index="{{floorIndex}}"
floor-item-index="2">
<image class="image-item" src="{{images[2].pic}}" mode="widthFix"></image>
</anchor>
</view>
</anchor>
</view>
</view>
... ...
.resource-shop-triple-image .anchor-item {
.resource-shop-triple-image {
font-size: 0;
}
.resource-shop-triple-image .style-type-1 .anchor-item {
display: inline-block;
width: 25%;
font-size: 50rpx;
width: 33.333%;
font-size: 0;
box-sizing: border-box;
border-left: 1px solid #e0e0e0;
border-top: 1px solid #e0e0e0;
}
.resource-shop-triple-image .image-item {
.resource-shop-triple-image .style-type-1 .image-item {
width: 100%;
font-size: 0;
}
.resource-shop-triple-image .image-text {
display: inline-block;
max-width: 100%;
font-size: 24rpx;
text-align: center;
box-sizing: border-box;
padding: 5rpx 10rpx;
background-color: #fff;
}
.resource-shop-triple-image.margin-bottom-20 {
margin-bottom: 20rpx;
}
... ... @@ -39,3 +31,21 @@
padding-bottom: 30rpx;
background-color: #f2f2f2;
}
.style-type-3 {
font-size: 0;
}
.style-type-3 .left-part,
.style-type-3 .right-part {
display: inline-block;
width: 50%;
}
.style-type-3 .anchor-item {
width: 100%;
}
.style-type-3 .anchor-item .image-item {
width: 100%;
}
... ...
... ... @@ -10,7 +10,7 @@ export default {
},
"apiParams": {
"client_type": "miniapp",
"business_line": "miniappReds",
"business_line": "miniappBrand",
"private_key": "b43890b0a296ff3c7b8c260ca763980b",
"app_version": "6.6.0"
},
... ...