growth.wxml 587 B

123456789101112
  1. <view class="score">
  2. <view>当前成长值</view>
  3. <view>{{growth}}</view>
  4. </view>
  5. <view class='no-data' wx:if="{{!cashlogs}}">暂无成长值明细~</view>
  6. <view class='cashlogs' wx:if="{{cashlogs}}" wx:for="{{cashlogs}}" wx:key="{{index}}">
  7. <view class='profile'>
  8. <view class='typeStr'>{{ item.typeStr }} {{ item.remark? '('+ item.remark +')' : '' }}</view>
  9. <view class='dateAdd'>{{ item.dateAdd }}</view>
  10. </view>
  11. <view class='amount' style="color: {{ (item.behavior ==0 ) ? 'red' : 'green' }}"> {{ (item.behavior ==0 ) ? '+' : '' }} {{ item.growth }} </view>
  12. </view>