apply.wxml 5.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <view class="content">
  2. <block wx:for="{{list}}" style="position:relative;">
  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}}&s_name={{item.subject_item}}">
  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}}&class_id={{item.class_id}}" wx:if="{{item.order_status == 2}}" class="study">立即学习</navigator>
  56. </navigator>
  57. <!-- <view bindtap="downloadInvoice" class="downloadInvoice">点击下载电子发票</view> -->
  58. </block>
  59. <view class="nope" wx:if="{{list.length==0}}">暂无报名信息...</view>
  60. <navigator url="../onlinePost/onlinePost" class="post">立即报名</navigator>
  61. </view>
  62. <view class="login" wx:if='{{show}}'>
  63. <view>
  64. <view>
  65. <image src="../../images/logo.png" mode="widthFix"></image>
  66. <text class="slogen">巴中逸沣安全培训</text>
  67. </view>
  68. <text class="xx">申请获取您的用户信息(头像、昵称等)</text>
  69. <button bindgetuserinfo="onGotUserInfo" open-type="getUserInfo">确定</button>
  70. </view>
  71. </view>