grade-details.wxml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. </view>
  7. <view class="catalog">
  8. <image class="bg2" src="../../../static/groupImg/Rectangle_9.png"></image>
  9. <text class="{{flag ? '' : 'select'}}" bindtap="tabSwitch">您需要知道</text>
  10. <text class="{{flag ? 'select' : ''}}" bindtap="tabSwitch">课文目录</text>
  11. </view>
  12. <view class="catalog-list" hidden="{{!flag}}">
  13. <view class="catalog-item" wx:for="{{lessonList}}" wx:key="{{index}}" data-id="{{item.id}}" data-title="{{item.title}}" bindtap="goToClass">
  14. <text class="left">{{item.title}}</text>
  15. <view class="right">
  16. <image src="../../../static/groupImg/bofnag.png"></image>
  17. <text>{{item.readNum}} ></text>
  18. </view>
  19. </view>
  20. </view>
  21. <!-- 你需要知道 -->
  22. <view class="know" hidden="{{flag}}">
  23. <import src="../../../towxml/entry.wxml" />
  24. <template is="entry" data="{{...article}}" />
  25. </view>
  26. </scroll-view>
  27. <view class="group-btn {{isIPX ? 'bottomx' :''}}" wx:if="{{!share}}">
  28. <image class="bg1" src="../../../static/groupImg/baise.png"></image>
  29. <image class="bg2" src="../../../static/groupImg/baise.png"></image>
  30. <block wx:for="{{payList}}" wx:key="{{index}}">
  31. <view class="Price" bindtap="pay" data-id="{{item.id}}" wx:if="{{share ? (index != 0) : true }}">
  32. <text>¥{{item.price / 100}}</text>
  33. <text>{{item.headcount == '1' ? '单' : item.headcount}}人{{item.headcount == '1' ? '购' : '团'}}</text>
  34. </view>
  35. </block>
  36. </view>
  37. <view class="group-btn {{isIPX ? 'bottomx' :''}}" wx:if="{{share}}">
  38. <image class="bg1" src="../../../static/groupImg/baise.png" style="left: 50%"></image>
  39. <block wx:for="{{payList}}" wx:key="{{index}}">
  40. <view class="Price" bindtap="pay" data-id="{{item.id}}" wx:if="{{share ? (index != 0) : true }}">
  41. <view>继续开团 赚奖学金</view>
  42. <view>
  43. <text>{{item.headcount}}人团</text>
  44. </view>
  45. </view>
  46. </block>
  47. </view>
  48. </view>
  49. <popup id="popup" typeOf="sendSuccess" title="报告团长" headTextOne="您发起的团购已经成立" headTextTwo="订单号:{{groupPurchaseOrder.id}}" content="{{content}}"></popup>