wpfw_ewei_wxapp/pages/diy/template/tpl_picture.wxml
2023-02-26 08:10:18 +08:00

6 lines
669 B
Plaintext

<view class="fui-picture" style="background:{{diyitem.style.bgd==0||!diyitem.style.bgd?diyitem.style.background:'transparent'}}">
<view bindtap="navigate" data-appid="{{childitem.appid}}" data-appurl="{{childitem.appurl}}" data-phone="{{childitem.phone}}" data-url="{{childitem.linkurl}}" style="padding:{{diyitem.style.paddingtop==0?0:diyitem.style.paddingtop+'rpx'}} {{diyitem.style.paddingleft==0?0:diyitem.style.paddingleft+'rpx'}}" wx:for="{{diyitem.data}}" wx:for-index="childid" wx:for-item="childitem">
<image mode="widthFix" src="{{childitem.imgurl}}" style="{{bannerheight?'height:'+bannerheight+'px':'height:auto'}}"></image>
</view>
</view>