grade-details.wxml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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="lastThreeYears" wx:if="{{lastThreeYears}}">使用期限至:{{lastThreeYears}}</text> -->
  7. </view>
  8. <view class="catalog">
  9. <!-- <image class="bg2" src="../../../static/groupImg/Rectangle_9.png"></image> -->
  10. <view class="switch {{knowFlag ? 'select' : ''}}" data-flag="know" bindtap="tabSwitch">
  11. <image src="../../../static/image/know_menu_bg.jpg" wx:if="{{knowFlag}}"></image>
  12. <text >您需要知道</text>
  13. </view>
  14. <view class="switch {{menuFlag ? 'select' : ''}}" bindtap="tabSwitch" data-flag="menu" bindtap="tabSwitch">
  15. <image src="../../../static/image/know_menu_bg.jpg" wx:if="{{menuFlag}}"></image>
  16. <text >课文目录</text>
  17. </view>
  18. </view>
  19. <view class="catalog-list" hidden="{{!menuFlag}}">
  20. <view class="catalog-item" wx:for="{{lessonList}}" wx:key="{{index}}" data-id="{{item.id}}" data-title="{{item.title}}" bindtap="goToClass">
  21. <text class="left">{{item.title}}</text>
  22. <view class="right">
  23. <!-- <image src="../../../static/image/play.png"></image>
  24. <text>{{item.readNum}}</text> -->
  25. <image src="../../../static/image/to.png"></image>
  26. </view>
  27. </view>
  28. </view>
  29. <!-- 你需要知道 -->
  30. <view class="know" hidden="{{!knowFlag}}">
  31. <import src="../../../towxml/entry.wxml" />
  32. <template is="entry" data="{{...article}}" />
  33. </view>
  34. </scroll-view>
  35. <!-- 安卓界面 -->
  36. <!-- <view class="group-btn {{isIPX ? 'bottomx' :''}}" wx:if="{{!isIOS ? haveJoinNormal ? false : haveCreatedHelp ? false : haveJoinHelp ? true : true : false}}">
  37. <image class="btn-image" src="../../../static/groupImg/group_in_ios.jpg" />
  38. <image class="bg1" src="../../../static/groupImg/baise.png"></image>
  39. <block wx:for="{{payList}}" wx:key="{{index}}">
  40. <form class="Price" bindsubmit="pay" report-submit="{{formIsANAsshole}}" data-id="{{item.id}}" wx:if="{{item.headcount === 5 ? false : true }}">
  41. <text class="formFit two-line-1">{{item.price / 100}}元</text>
  42. <text class="formFit two-line-2">{{item.headcount == '1' ? '单人购买' : '开团获得使用权'}}
  43. </text>
  44. <button class="formBtn" form-type="submit"></button>
  45. </form>
  46. </block>
  47. </view> -->
  48. <!-- ios界面 -->
  49. <!-- <view class="group-btn {{isIPX ? 'bottomx' :''}}" wx:if="{{isIOS ? haveCreatedHelp ? false : haveJoinNormal ? false : true :false }}">
  50. <image class="btn-image" src="../../../static/groupImg/group_in_ios.jpg" />
  51. <block wx:for="{{payList}}" wx:key="{{index}}" wx:if="{{!imSuper}}">
  52. <form class="Price" bindsubmit="pay" report-submit="{{formIsANAsshole}}" data-id="{{item.id}}" wx:if="{{index != 0 && index != 2 }}">
  53. <text class="formFit one-line-text">邀请好友助力获得本课使用权</text>
  54. <button class="formBtn" form-type="submit"></button>
  55. </form>
  56. </block> -->
  57. <!-- ios 七天权限的界面-->
  58. <!-- <block wx:for="{{payList}}" wx:key="{{index}}" wx:if="{{imSuper && haveJoinHelp}}">
  59. <form class="Price" bindsubmit="pay" report-submit="{{formIsANAsshole}}" data-id="{{item.id}}" wx:if="{{item.headcount == 1 || item.headcount == 5 ? false : true }}">
  60. <text class="formFit two-line-2">试用期还有{{tasteDay}}天</text>
  61. <text class="formFit two-line-1">邀请好友助力获得本课使用权</text>
  62. <button class="formBtn" form-type="submit"></button>
  63. </form>
  64. </block> -->
  65. <!-- ios 三年权限的界面 支持继续开团 -->
  66. <!-- <block wx:for="{{payList}}" wx:key="{{index}}" wx:if="{{imSuper && !haveJoinHelp}}">
  67. <form class="Price" bindsubmit="pay" report-submit="{{formIsANAsshole}}" data-id="{{item.id}}" wx:if="{{index != 0 && index != 2 }}">
  68. <text class="formFit one-line-text">好东西要分享给好朋友</text>
  69. <button class="formBtn" form-type="submit"></button>
  70. </form>
  71. </block>
  72. </view> -->
  73. <!-- 已有权限的界面 安卓 -->
  74. <!-- <view class="group-btn {{isIPX ? 'bottomx' :''}}" wx:if="{{!isIOS ? haveJoinNormal ? true : haveCreatedHelp ? true : false : false}}">
  75. <image class="btn-image" src="../../../static/groupImg/group_in_ios.jpg" />
  76. <block wx:for="{{payList}}" wx:key="{{index}}">
  77. <form class="Price" bindsubmit="pay" report-submit="{{formIsANAsshole}}" data-id="{{item.id}}" wx:if="{{index != 0 && index != 2 }}">
  78. <view>继续开团赚取奖学金吧</view>
  79. <button class="formBtn" form-type="submit"></button>
  80. </form>
  81. </block>
  82. </view> -->
  83. <!-- 已有权限的界面 并且是ios-->
  84. <!-- <view class="group-btn {{isIPX ? 'bottomx' :''}}" wx:if="{{isIOS ? haveCreatedHelp ? false : haveJoinHelp ? true : false : false }}">
  85. <image class="btn-image" src="../../../static/groupImg/group_in_ios.jpg" />
  86. <!-- <image class="bg1" style="left: 50%" src="../../../static/groupImg/baise.png"></image> -->
  87. <!-- <block wx:for="{{payList}}" wx:key="{{index}}">
  88. <form class="Price" bindsubmit="pay" report-submit="{{formIsANAsshole}}" data-id="{{item.id}}" wx:if="{{item.headcount == 1 || item.headcount == 5 ? false : true }}">
  89. <text class="formFit two-line-2">试用期还有n天</text>
  90. <text class="formFit two-line-1">邀请好友助力获得本课使用权</text>
  91. <button class="formBtn" form-type="submit"></button>
  92. </form>
  93. </block> -->
  94. <!-- </view> -->
  95. </view>
  96. <popup id="popup" typeOf="sendSuccess" title="报告团长" headTextOne="您发起的团购已经成立" headTextTwo="订单号:{{orderId}}" content="{{content}}"></popup>
  97. <myModal id="myModal" type="{{modalType}}" isCloseShow="{{isCloseShow}}" text="{{modalText}}" wx:if="{{isModalShow}}" bindconfirm="modalConfirmHandler" bindclose="modalCloseHandler" />
  98. <goBackHome id="goBackHome" shareType="{{goBackHome}}" wx:if="{{goBackHome}}" />
  99. <myToast bindShowAlert="showAlert" noRightRules="2" wx:if="{{alertFlag}}" />