fragmentsRecordItem.wxml 1.1 KB

123456789101112131415161718192021222324252627
  1. <template name="record">
  2. <view class="{{'record-bg-' + bg}}">
  3. <view class="record-corner"></view>
  4. <image wx:if="{{row > 2}}" class="record-num-img"></image>
  5. <image wx:else class="record-num-img" src="{{'../../resource/fragments_record_' + (row+1) + '.png'}}"></image>
  6. <view wx:if="{{row > 2}}" class="record-num">{{row + 1}}</view>
  7. <view wx:else class="record-num"></view>
  8. <view class="record-avatar-bg">
  9. <image class="record-avatar" src='{{headImg}}'></image>
  10. </view>
  11. <view class="record-content">
  12. <view class="record-content-top">
  13. <view class="record-content-name">{{nickName}}</view>
  14. <view class="record-content-from">{{city}}</view>
  15. </view>
  16. <view class="record-content-bottom">
  17. <view class="record-content-fragment">{{fragment}}</view>
  18. <view class="record-content-star">
  19. <image class="record-content-star-img" src="../../resource/fragments_list_star_s.png"></image>
  20. <view class="record-content-star-num">{{starNum}}</view>
  21. </view>
  22. </view>
  23. </view>
  24. </view>
  25. <view class="record-interval"></view>
  26. </template>