grade-details.wxml 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. <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 {{isIPX ? 'bottomx' :''}}" 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. <form class="Price" bindsubmit="pay" report-submit="{{formIsANAsshole}}" data-id="{{item.id}}" wx:if="{{share ? (index != 0) : true }}">
  34. <text class="formFit">¥{{item.price / 100}}</text>
  35. <text class="formFit">{{item.headcount == '1' ? '单' : item.headcount}}人{{item.headcount == '1' ? '购' : '团'}}</text>
  36. <button class="formBtn" form-type="submit"></button>
  37. </form>
  38. </block>
  39. </view>
  40. <view class="group-btn {{isIPX ? 'bottomx' :''}}" wx:if="{{!imSuper? isIOS : null}}">
  41. <image class="bg1" src="../../../static/groupImg/baise.png" style="left: 50%"></image>
  42. <block wx:for="{{payList}}" wx:key="{{index}}">
  43. <form class="Price" bindsubmit="pay" report-submit="{{formIsANAsshole}}" data-id="{{item.id}}" wx:if="{{share ? (index != 0) : item.headcount === 1 ? false : true }}">
  44. <text class="formFit">{{item.price / 100}}元/{{item.headcount - 1}}人帮忙</text>
  45. <text class="formFit" style="fontSize: 24rpx">免费开团</text>
  46. <button class="formBtn" form-type="submit"></button>
  47. </form>
  48. </block>
  49. </view>
  50. <view class="group-btn {{isIPX ? 'bottomx' :''}}" wx:if="{{imSuper}}">
  51. <image class="bg1" style="left: 50%" src="../../../static/groupImg/baise.png" ></image>
  52. <block wx:for="{{payList}}" wx:key="{{index}}">
  53. <form class="Price" bindsubmit="pay" report-submit="{{formIsANAsshole}}" data-id="{{item.id}}" wx:if="{{imSuper ? (index != 0) : true }}">
  54. <view>继续开团 赚奖学金</view>
  55. <!-- <view class="formFit"> -->
  56. <text class="formFit">{{item.headcount}}人团</text>
  57. <!-- </view> -->
  58. <button class="formBtn" form-type="submit"></button>
  59. </form>
  60. </block>
  61. </view>
  62. </view>
  63. <popup id="popup" typeOf="sendSuccess" title="报告团长" headTextOne="您发起的团购已经成立" headTextTwo="订单号:{{orderId}}" content="{{content}}"></popup>
  64. <myModal id="myModal" type="{{modalType}}" isCloseShow="{{isCloseShow}}" text="{{modalText}}" wx:if="{{isModalShow}}" bindconfirm="modalConfirmHandler" bindclose="modalCloseHandler" />