sign.wxml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <mobile-main frameStyle="{{frameStyle}}" bind:back="back">
  2. <view slot="info" class="container main">
  3. <view class="one">
  4. <s-tab tabs="{{tabs}}" bind:tabsChange="tabsChange"></s-tab>
  5. </view>
  6. <view class="two">
  7. <view wx:if="{{tabs.active=='0'}}" class="a">
  8. <scroll-view scroll-y="true" class="scroll-view">
  9. <view class="list-scroll-view">
  10. <form class="one" catchsubmit="onSubmit">
  11. <view class="one_1">
  12. <text class="text">课程标题:</text>
  13. <text class="text1">{{form.title||'暂无'}}</text>
  14. </view>
  15. <view class="one_1">
  16. <text class="text">学校名称:</text>
  17. <text class="text1">{{form.zhSchool||'暂无'}}</text>
  18. </view>
  19. <view class="one_1">
  20. <text class="text">人数上限:</text>
  21. <text class="text1">{{form.limit||'暂无'}}人</text>
  22. </view>
  23. <view class="one_1">
  24. <text class="text">开始时间:</text>
  25. <text class="text1">{{form.time_start||'暂无'}}</text>
  26. </view>
  27. <view class="one_1">
  28. <text class="text">结束时间:</text>
  29. <text class="text1">{{form.time_end||'暂无'}}</text>
  30. </view>
  31. <view class="one_1">
  32. <text class="text">状态:</text>
  33. <text class="text1">{{form.zhStatus||'暂无'}}</text>
  34. </view>
  35. <view class="one_1">
  36. <text class="text">课程费(元):</text>
  37. <text class="text1">{{form.money||'暂无'}}</text>
  38. </view>
  39. <view class="one_1">
  40. <text class="text">退款期限:</text>
  41. <text class="text1">{{form.refund_hour||'暂无'}}</text>
  42. </view>
  43. <view class="one_1">
  44. <text class="text">简介:</text>
  45. <text class="text1">{{form.brief||'暂无'}}</text>
  46. </view>
  47. <view class="one_1" wx:if="{{form.type_try=='0'&&user.type=='3'&&form.type=='0'&&form.sign=='0'}}">
  48. <text class="text">是否试课:</text>
  49. <button type="primary" size="mini" bindtap="toClass">试课</button>
  50. </view>
  51. <view class="btn" wx:if="{{user.type=='3'&&form.sign=='0'}}">
  52. <button type="primary" size="mini" formType="submit">报名</button>
  53. </view>
  54. </form>
  55. </view>
  56. </scroll-view>
  57. </view>
  58. <view wx:elif="{{tabs.active=='1'}}" class="b">
  59. <scroll-view scroll-y="true" class="scroll-view">
  60. <view class="list-scroll-view">
  61. <view class="list" wx:for="{{coach}}" wx:key="index">
  62. <view class="name">{{item.coach_id_name||'暂无'}}</view>
  63. <view class="other">
  64. <view class="other_1">
  65. <text>课程名称:</text>
  66. <text>{{item.lesson_id_title||'暂无'}}</text>
  67. </view>
  68. <view class="other_1">
  69. <text>所属学校:</text>
  70. <text>{{item.school_id_name||'暂无'}}</text>
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. </scroll-view>
  76. </view>
  77. <view wx:elif="{{tabs.active=='2'}}" class="b">
  78. <scroll-view scroll-y="true" class="scroll-view">
  79. <view class="list-scroll-view">
  80. <view class="list" wx:for="{{student}}" wx:key="index">
  81. <view class="name">{{item.student_id_name||'暂无'}}</view>
  82. <view class="other">
  83. <view class="other_1">
  84. <text>是否试课:</text>
  85. <text>{{item.is_try=='0'?'非试课':item.is_try=='1'?'试课':'暂无'}}</text>
  86. </view>
  87. <view class="other_1">
  88. <text>缴费金额:</text>
  89. <text>{{item.money||'0'}}元</text>
  90. </view>
  91. <view class="other_1">
  92. <text>所属学院:</text>
  93. <text>{{item.school_id_name||'暂无'}}</text>
  94. </view>
  95. </view>
  96. </view>
  97. </view>
  98. </scroll-view>
  99. </view>
  100. </view>
  101. </view>
  102. </mobile-main>