apply.wxml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <view class="content">
  2. <block wx:for="{{list}}">
  3. <navigator class="list" wx:key='*this' open-type="navigateTo" wx:if='{{item.order_status<2}}'
  4. url="../post/post?type=2&&id={{item.id}}">
  5. <view class="status">
  6. <text wx:if="{{item.order_status == -1}}">待提交资料</text>
  7. <text wx:if="{{item.order_status == 0}}">审核中</text>
  8. <text wx:if="{{item.order_status == -2}}">审核未通过</text>
  9. <text wx:if="{{item.order_status == 1}}">已审核,待付款</text>
  10. <text wx:if="{{item.order_status == 2}}">已付款,待培训</text>
  11. <text wx:if="{{item.order_status == 7}}">考试完成</text>
  12. <text wx:if="{{item.order_status == 3}}">已培训,待考试</text>
  13. <text style="color:green;">{{item.train_type}}</text></view>
  14. <view class="title">{{item.name}} {{item.phone}} <text>{{item.class_name}}</text></view>
  15. <view class="info">
  16. <text>{{item.subject_item_1[0]}}</text>
  17. <text decode="{{true}}">作业类别 &nbsp;&nbsp; {{item.subject_item_1[1]}}</text>
  18. <text wx:if='{{item.subject_item_1[0]=="特种作业人员"}}' decode="{{true}}">准操项目 &nbsp;&nbsp;{{item.subject_item_1[2]}}</text>
  19. <text wx:if='{{item.subject_item_1[0]=="特种设备培训"}}' decode="{{true}}">项目代码 &nbsp;&nbsp;{{item.subject_item_1[2]}}</text>
  20. <text wx:if='{{item.subject_item_1[0]!="特种作业人员" && item.subject_item_1[0]!="特种设备培训"}}' decode="{{true}}">资格类型 &nbsp;&nbsp;{{item.subject_item_1[2]}}</text>
  21. <!-- <text wx:if="{{item.order_status == 2||item.order_status == 3}}" style="color:#358BFF;" decode="{{true}}">学时情况 &nbsp;&nbsp;已学习{{item.class_hour_finished}}/{{item.class_hour}}学时</text> -->
  22. <text style="color:#999;margin-top:12px;">{{item.ctime}}</text>
  23. </view>
  24. <view data-id='{{item.id}}' catchtap="pay" wx:if="{{item.order_status == 1}}" class="study">立即支付</view>
  25. <navigator url="../online/online" wx:if="{{item.order_status == 2}}" class="study">立即学习</navigator>
  26. </navigator>
  27. <navigator class="list" wx:key='*this' open-type="navigateTo" wx:else>
  28. <view class="status">
  29. <text wx:if="{{item.order_status == -1}}">待提交资料</text>
  30. <text wx:if="{{item.order_status == 0}}">审核中</text>
  31. <text wx:if="{{item.order_status == -2}}">审核未通过</text>
  32. <text wx:if="{{item.order_status == 1}}">已审核,待付款</text>
  33. <text wx:if="{{item.order_status == 2}}">已付款,待培训</text>
  34. <text wx:if="{{item.order_status == 7}}">考试完成</text>
  35. <text wx:if="{{item.order_status == 3}}">已培训,待考试</text>
  36. <text style="color:green;">{{item.train_type}}</text></view>
  37. <view class="title">{{item.name}} {{item.phone}} <text>{{item.class_name}}</text></view>
  38. <view class="info">
  39. <text>{{item.subject_item_1[0]}}</text>
  40. <text decode="{{true}}">作业类别 &nbsp;&nbsp; {{item.subject_item_1[1]}}</text>
  41. <!-- <text decode="{{true}}">准操项目 &nbsp;&nbsp;{{item.subject_item_1[2]}}</text> -->
  42. <text wx:if='{{item.subject_item_1[0]=="特种作业人员"}}' decode="{{true}}">准操项目 &nbsp;&nbsp;{{item.subject_item_1[2]}}</text>
  43. <text wx:if='{{item.subject_item_1[0]=="特种设备培训"}}' decode="{{true}}">项目代码 &nbsp;&nbsp;{{item.subject_item_1[2]}}</text>
  44. <text wx:if='{{item.subject_item_1[0]!="特种作业人员" && item.subject_item_1[0]!="特种设备培训"}}' decode="{{true}}">资格类型 &nbsp;&nbsp;{{item.subject_item_1[2]}}</text>
  45. <!-- <text wx:if="{{item.order_status == 2||item.order_status == 3}}" style="color:#358BFF;" decode="{{true}}">学时情况 &nbsp;&nbsp;已学习{{item.class_hour_finished}}/{{item.class_hour}}学时</text> -->
  46. <text style="color:#999;margin-top:12px;">{{item.ctime}}</text>
  47. </view>
  48. <view data-id='{{item.id}}' catchtap="pay" wx:if="{{item.order_status == 1}}" class="study">立即支付</view>
  49. <navigator url="../online/online?id={{item.id}}" wx:if="{{item.order_status == 2}}" class="study">立即学习</navigator>
  50. </navigator>
  51. </block>
  52. <view class="nope" wx:if="{{list.length==0}}">暂无报名信息...</view>
  53. <navigator url="../onlinePost/onlinePost" class="post">立即报名</navigator>
  54. </view>