edu.wxml 1.4 KB

123456789101112131415161718192021222324252627282930
  1. <van-empty image="search" description="未登录" wx:if="{{!isLogin}}" class="empty">
  2. <edu-button title="去登录" bind:click="toLogin" button-style="loginBtn"/>
  3. </van-empty>
  4. <view wx:else>
  5. <van-empty description="暂无培训" wx:if="{{rows.length == 0}}">
  6. </van-empty>
  7. <view class="edu-card" wx:for="{{rows}}" wx:key="index">
  8. <van-image width="690rpx" height="258rpx" src="/images/ic_edu_card.png" class="edu-card-img"/>
  9. <view class="middle">
  10. <view class="title">{{item.itemName}}</view>
  11. <view class="content">
  12. <view class="logo">
  13. <!-- <van-image width="75rpx" height="75rpx" src="{{item.teamUrl || '/images/ic_logo.png'}}" class="logo-img" />-->
  14. <van-image width="75rpx" height="75rpx" src="/images/ic_logo.png" class="logo-img"/>
  15. </view>
  16. <view class="des">
  17. <view>{{item.teamStart}} 至 {{item.teamEnd}}</view>
  18. <view>班组:{{item.teamName}}</view>
  19. </view>
  20. <view class="btn" bind:tap="toEdu" data-item="{{item}}">
  21. <van-icon name="/images/ic_check_in.png" class="btn-icon"/>
  22. <view>{{item.isRegister ? "详情" : "登记"}}</view>
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. </view>