edu.wxml 1.3 KB

1234567891011121314151617181920212223242526272829
  1. <to-login bind:login="bindLogin" bind:refresh="bindLogin">
  2. <van-empty description="暂无培训" wx:if="{{rows.length == 0}}">
  3. </van-empty>
  4. <view class="edu-card" wx:for="{{rows}}" wx:key="index">
  5. <van-image width="690rpx" height="258rpx" src="/images/ic_edu_card.png" class="edu-card-img"/>
  6. <view class="middle">
  7. <view class="title">
  8. <view class="title_text">{{item.itemName}}</view>
  9. </view>
  10. <view class="content">
  11. <view class="logo">
  12. <van-image width="75rpx" height="75rpx" fit="cover" src="/images/ic_logo.png" class="logo-img"/>
  13. </view>
  14. <view class="des">
  15. <view>{{item.teamStart}} 至 {{item.teamEnd}}</view>
  16. <view class="des-info team-info">班级:{{item.teamName}}</view>
  17. <view class="des-info group-info">分组:{{item.groupName? item.groupName : '未分组'}}</view>
  18. </view>
  19. <view class="btn" bind:tap="toEdu" data-item="{{item}}">
  20. <van-icon name="/images/ic_check_in.png" class="btn-icon"/>
  21. <view>{{item.isRegister ? "详情" : "登记"}}</view>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. </to-login>