index.wxml 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. <view class="head">
  2. <view class="count">
  3. <text wx:if="{{language['总共']}}">{{language['总共']}}:{{content.total}}</text>
  4. <text wx:else>总共{{content.total}}个</text>
  5. </view>
  6. </view>
  7. <navigator class="record-box" url="#" wx:for="{{list}}" wx:key="actionuserid">
  8. <view class="item">
  9. <view class="head">
  10. <view class="portrait">
  11. <van-image wx:if="{{item.headpic}}" width="100%" height="100%" src="{{item.headpic}}" use-loading-slot lazy-load>
  12. <van-loading slot="loading" type="spinner" size="20" vertical />
  13. </van-image>
  14. <view class="replace" wx:else>
  15. {{item.actionby[0]}}
  16. </view>
  17. </view>
  18. <view class="introduce">
  19. <view class="title">
  20. <view class="line-1">{{item.actionby}}</view>
  21. <text>{{language[item.action]||item.action}}</text>
  22. </view>
  23. <view class="time">
  24. {{item.actiondate}}
  25. </view>
  26. </view>
  27. </view>
  28. <view class="remarks" wx:if="{{item.remarks}}">
  29. {{language[item.remarks]||item.remarks}}
  30. </view>
  31. </view>
  32. </navigator>
  33. <Yl_Empty wx:if="{{list.length==0}}" />