<view wx:for="{{problemList}}" class="problem-wrap">
|
<view>
|
<text class="text-index">{{index + 1}}</text>
|
<text class="text-1">{{item.problemname}}</text>
|
</view>
|
<view class="text-2">位置:{{item.location}}</view>
|
<block wx:if="{{item.proPics.length > 0}}">
|
<t-divider content="问题图片" align="left" />
|
<view class="img-group">
|
<view wx:for="{{item.proPics}}" wx:for-index="index2" wx:key="index2" wx:for-item="m">
|
<t-image
|
src="{{m}}"
|
t-class="img-group_img"
|
shape="round"
|
aria-label="{{item.problemname}}"
|
bindtap="previewImage"
|
data-type="pro"
|
data-index="{{[index, index2]}}"
|
/>
|
</view>
|
</view>
|
</block>
|
<block wx:if="{{item.changePics.length > 0}}">
|
<t-divider content="整改图片" align="left" />
|
<view class="img-group">
|
<view wx:for="{{item.changePics}}" wx:for-index="index2" wx:key="index2" wx:for-item="m">
|
<t-image
|
src="{{m}}"
|
t-class="img-group_img"
|
shape="round"
|
aria-label="{{item.problemname}}"
|
bindtap="previewImage"
|
data-type="change"
|
data-index="{{[index, index2]}}"
|
/>
|
</view>
|
</view>
|
</block>
|
<t-divider />
|
</view>
|
<my-gallery
|
hide-on-click="{{true}}"
|
show-delete="{{false}}"
|
show="{{showPreview}}"
|
img-urls="{{previewImageUrls}}"
|
current="{{previewCurrent}}"
|
title="{{previewTitle}}"
|
remark="{{previewRemark}}"
|
></my-gallery>
|