walletDetails.wxml 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <view class='walletDetails'>
  2. <view class="walletDetails-center">
  3. <view class='walletDetails-info' wx:for="{{ walletDatails }}" wx:key="{{ index }}">
  4. <view class="walletDetails-left">
  5. <view class='avatar-box'>
  6. <image src="../../../static/image/walletdetails.png" />
  7. </view>
  8. <view class="avatar-info">
  9. <text class="avatar-doc" wx:if='{{ item.value > 0 }}'>收到的奖金-来自{{ item.nickName }}</text>
  10. <text class="avatar-doc" wx:else>发出的奖金-奖励{{ item.nickName }}</text>
  11. <text class="avatar-time">{{ item.time }}</text>
  12. </view>
  13. </view>
  14. <view class="walletDetails-right">
  15. <view class="avatar-value-pos" wx:if='{{ item.value > 0 }}'>
  16. <text class="avatar-symbol">+</text>
  17. <text>{{ item.value }}</text>
  18. </view>
  19. <view class="avatar-value-neg" wx:else>
  20. <text class="avatar-symbol">-</text>
  21. <text>{{ item.value }}</text>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. </view>