index.wxml 556 B

12345678910
  1. <view wx:for="{{formList}}" wx:key="index" class="i-flex u-m-b-15">
  2. <view class="u-m-r-15 text-gray">{{item.item_name}}:</view>
  3. <view wx:if="{{item.type!=='image'}}" class="i-flex-item">
  4. {{item.item_val}}
  5. </view>
  6. <view class="i-flex i-flex-wrap" wx:else>
  7. <image wx:if="{{item.item_val&&item.item_val.length>0}}" src="{{img}}" wx:for="{{item.item_val}}" wx:for-item="img" wx:key="idx"
  8. style="height:100rpx;width:100rpx;" class="u-m-r-15" bindtap="prevImg" data-current="{{img}}" data-urls="{{item.item_val}}"></image>
  9. </view>
  10. </view>