This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop-wechat/components/diy/imageSingle/imageSingle.wxml

8 lines
505 B
Plaintext
Raw Permalink Normal View History

2020-04-25 22:59:04 +08:00
<!-- 单图组 -->
<view class="diy-imageSingle" style="padding-bottom: {{ itemStyle.paddingTop }}px; background: {{ itemStyle.background }};">
<view class="item-image" wx:for="{{ dataList }}" wx:key="this" wx:for-item="dataItem" style="padding: {{ itemStyle.paddingTop }}px {{ itemStyle.paddingLeft }}px 0;">
<view class="nav-to" catchtap="navigationTo" data-url="{{ dataItem.linkUrl }}">
<image class="image" src="{{ dataItem.imgUrl }}" mode="widthFix"></image>
</view>
</view>
</view>