classTotalList.wxml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <view class="container">
  2. <view class="class-view">
  3. <view class="class-list">
  4. <view class="class-box" wx:for="{{courseItems}}" wx:key="index">
  5. <view class="class-content">
  6. <view class="class-detail">
  7. <view class="class-title">{{item.classesName}}</view>
  8. <view class="class-used">已上课时:{{item.attendNum}}次</view>
  9. <view class="class-vaild">有效期至:{{item.endDate}}</view>
  10. </view>
  11. <view class="class-lastTotal">
  12. <view class="class-lastNum">{{item.surplusNum}}</view>
  13. <view class="class-lastTitle">剩余课时</view>
  14. </view>
  15. </view>
  16. <view class="class-tip">本课程请假余额 {{item.surplusLeaveNum}} 次</view>
  17. </view>
  18. <view class="class-box" wx:for="{{moneyItems}}" wx:key="index">
  19. <view class="class-content">
  20. <view class="class-detail">
  21. <view class="class-title">{{item.classesName}}</view>
  22. <view class="class-used">已上课时:{{item.attendNum}}次</view>
  23. <view class="class-vaild">有效期至:{{item.endDate}}</view>
  24. </view>
  25. <view class="class-lastTotal">
  26. <view class="class-lastNum">{{item.surplusMoney}}</view>
  27. <view class="class-lastTitle">剩余金额</view>
  28. </view>
  29. </view>
  30. <view class="class-tip">本课程请假余额 {{item.surplusLeaveNum}} 次</view>
  31. </view>
  32. </view>
  33. </view>
  34. </view>