grade-details.wxml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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>{{title}}</text>
  7. <text>{{bookInfo}}</text>
  8. </view>
  9. <view class="catalog">
  10. <image src="../../../static/groupImg/Rectangle34@2x.png"></image>
  11. <text>课文目录</text>
  12. </view>
  13. <view class="catalog-list">
  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. <text class="right">{{item.readingNum}}朗读 ></text>
  17. </view>
  18. </view>
  19. </scroll-view>
  20. <view class="group-btn {{isIPX ? 'bottomx' :''}}" wx:if="{{!share}}">
  21. <image class="bg1" src="../../../static/groupImg/Rectangle_9.png"></image>
  22. <image class="bg2" src="../../../static/groupImg/Rectangle_9.png"></image>
  23. <block wx:for="{{payList}}" wx:key="{{index}}">
  24. <view class="Price" bindtap="pay" data-id="{{item.id}}" wx:if="{{share ? (index != 0) : true }}">
  25. <text>¥{{item.price / 100}}</text>
  26. <text>{{item.headcount}}人团</text>
  27. </view>
  28. </block>
  29. </view>
  30. <view class="group-btn {{isIPX ? 'bottomx' :''}}" wx:if="{{share}}">
  31. <image class="bg1" src="../../../static/groupImg/Rectangle_9.png" style="left: 50%"></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. <view>继续开团</view>
  35. <view>
  36. <text>¥{{item.price / 100}}</text>
  37. <text>{{item.headcount}}人团</text>
  38. </view>
  39. </view>
  40. </block>
  41. </view>
  42. </view>
  43. <popup id="popup" typeOf="sendSuccess" title="报告团长" headTextOne="您发起的团购已经成立" content="{{content}}"></popup>