grade-details.wxml 1.4 KB

12345678910111213141516171819202122232425262728293031
  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/Rectangle 34@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">
  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}}">
  25. <text>¥{{item.price / 100}}</text>
  26. <text>{{item.headcount}}人团</text>
  27. </view>
  28. </block>
  29. </view>
  30. </view>
  31. <popup id="popup" typeOf="sendSuccess" title="报告团长" headTextOne="您发起的团购已经成立" content="{{content}}"></popup>