<view class="box">
    <view class="title font-flex-word">{{obj.creator_name}}的{{obj.template_name}}</view>
    <view a:if="{{obj.contents.length>0}}">
        <view class="contents" a:for="{{obj.contents}}">
            <view class="key">{{item.key}}</view>
            <view class="value fontColorF">
                <text a:if="{{item.value}}">{{item.value}}</text>
                <text a:else>未填写</text>
            </view>
        </view>  
    </view>
    <view  a:if="{{obj.images.length>0}}">
      <view class="key" style="margin-bottom:40rpx;">图片</view>
      <view class="flex-box flex-d-wrap">
        <block a:for="{{obj.images}}" a:for-item="imgs" a:for-index="idx">
          <image class="imgs" catchTap="showImg" mode="scaleToFill" src="{{imgs}}" data-index="{{idx}}" data-item="{{obj.images}}"/>
        </block>
      </view>
    </view>
</view>