editXnb.wxml 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. <wxs src='../../../utils/format.wxs' module="utils"></wxs>
  2. <view class="container">
  3. <view class="add-top" bindtap="goDetail">
  4. <view>上传新农保,享受福利</view>
  5. <van-icon name="arrow" size="20px" color="#4371ED"/>
  6. </view>
  7. <view class="xnb-content" wx:for="{{xnbList}}" wx:key="index1"
  8. wx:for-item="item1" wx:for-index="index1">
  9. <view class="status {{(item1.stateVal=='未上传'||item1.stateVal=='已过期'||item1.stateVal=='审核未通过')?'alert':''}}">
  10. <view class="dot"></view>
  11. <view >{{item1.stateVal}}</view>
  12. </view>
  13. <view class="img-block">
  14. <image mode="aspectFill" src="{{item2}}" class="xnb-img" wx:for="{{item1.imgs}}" wx:key="index2"
  15. wx:for-item="item2" wx:for-index="index2" bindtap="imgPre" data-src="{{item2}}" data-imgs="{{item1.imgs}}"></image>
  16. </view>
  17. <view class="line">有效时间:</view>
  18. <!-- <view class="line">{{item1.effectiveStart}} - {{item1.effectiveEnd}}</view> -->
  19. <view class="line">{{utils.substrText(item1.effectiveStart,0,7)}} - {{utils.substrText(item1.effectiveEnd,0,7)}}</view>
  20. <view class="line" wx:if="{{item1.auditRemark}}">审核原因:</view>
  21. <view class="line" wx:if="{{item1.auditRemark}}">{{item1.auditRemark}}</view>
  22. </view>
  23. </view>
  24. <view class="submit-btn" bindtap="goUpload" >上传</view>