grade-details.wxml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <!-- pages/grade-details/grade-details.wxml -->
  2. <view class="group-details">
  3. <scroll-view scroll-y="{{true}}">
  4. <view class="grade-details">
  5. <image src="{{titleIcon}}"></image>
  6. <!-- <text class="limitTime">{{limitTime}}</text> -->
  7. </view>
  8. <view class="catalog">
  9. <image class="bg2" src="../../../static/groupImg/Rectangle_9.png"></image>
  10. <text class="{{knowFlag ? 'select' : ''}}" bindtap="tabSwitch" data-flag="know">您需要知道</text>
  11. <text class="{{menuFlag ? 'select' : ''}}" bindtap="tabSwitch" data-flag="menu">课文目录</text>
  12. </view>
  13. <view class="catalog-list" hidden="{{!menuFlag}}">
  14. <view class="catalog-item" wx:for="{{lessonList}}" wx:key="{{index}}" data-id="{{item.id}}" data-title="{{item.title}}" bindtap="goToClass">
  15. <text class="left">{{item.title}}</text>
  16. <view class="right">
  17. <!-- <image src="../../../static/image/play.png"></image>
  18. <text>{{item.readNum}}</text> -->
  19. <image src="../../../static/image/to.png"></image>
  20. </view>
  21. </view>
  22. </view>
  23. <!-- 你需要知道 -->
  24. <view class="know" hidden="{{!knowFlag}}">
  25. <import src="../../../towxml/entry.wxml" />
  26. <template is="entry" data="{{...article}}" />
  27. </view>
  28. </scroll-view>
  29. <view class="group-btn" wx:if="{{!imSuper? !isIOS : null}}">
  30. <image class="bg1" src="../../../static/groupImg/baise.png"></image>
  31. <image class="bg2" src="../../../static/groupImg/baise.png"></image>
  32. <block wx:for="{{payList}}" wx:key="{{index}}">
  33. <view class="Price" bindtap="pay" data-id="{{item.id}}" wx:if="{{share ? (index != 0) : true }}">
  34. <text>¥{{item.price / 100}}</text>
  35. <text>{{item.headcount == '1' ? '单' : item.headcount}}人{{item.headcount == '1' ? '购' : '团'}}</text>
  36. </view>
  37. </block>
  38. </view>
  39. <view class="group-btn" wx:if="{{!imSuper? isIOS : null}}">
  40. <image class="bg1" src="../../../static/groupImg/baise.png" style="left: 50%"></image>
  41. <block wx:for="{{payList}}" wx:key="{{index}}">
  42. <view class="Price" bindtap="pay" data-id="{{item.id}}" wx:if="{{share ? (index != 0) : item.headcount === 1 ? false : true }}">
  43. <text>{{item.price / 100}}元/{{item.headcount - 1}}人帮忙</text>
  44. <text style="fontSize: 24rpx">免费开团</text>
  45. </view>
  46. </block>
  47. </view>
  48. <view class="group-btn" wx:if="{{imSuper}}">
  49. <image class="bg1" style="left: 50%" src="../../../static/groupImg/baise.png" ></image>
  50. <block wx:for="{{payList}}" wx:key="{{index}}">
  51. <view class="Price" bindtap="pay" data-id="{{item.id}}" wx:if="{{imSuper ? (index != 0) : true }}">
  52. <view>继续开团 赚奖学金</view>
  53. <view>
  54. <text>{{item.headcount}}人团</text>
  55. </view>
  56. </view>
  57. </block>
  58. </view>
  59. </view>
  60. <popup id="popup" typeOf="sendSuccess" title="报告团长" headTextOne="您发起的团购已经成立" headTextTwo="订单号:{{orderId}}" content="{{content}}"></popup>
  61. <myModal id="myModal" type="{{modalType}}" isCloseShow="{{isCloseShow}}" text="{{modalText}}" wx:if="{{isModalShow}}" bindconfirm="modalConfirmHandler" bindclose="modalCloseHandler" />