apply.wxml 4.7 KB

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