group-details.wxml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <!--pages/group-details/group-details.wxml-->
  2. <view class="group-details">
  3. <view class="details-head" bindtap="collage">
  4. <view class="headImg">
  5. <block wx:for="{{joinUserList}}" wx:key="{{index}}">
  6. <view class="headImg-item">
  7. <image src="{{item.avatar}}"></image>
  8. </view>
  9. </block>
  10. <block wx:for="{{surplusList}}" wx:key="{{index}}">
  11. <view class="headImg-item">
  12. <image src="../../../static/groupImg/no_head.png"></image>
  13. </view>
  14. </block>
  15. </view>
  16. <view class="shengyu">
  17. <view class="shengyu-num" hidden="{{surplusNum == '0'}}">仅剩<text>{{surplusNum}}</text>个名额就拼团成功了</view>
  18. <view class="shengyu-num" hidden="{{surplusNum != '0'}}">拼团成功</view>
  19. <view class="shengyu-time" hidden="{{surplusNum == '0'}}">
  20. 剩余时间:
  21. <view class="time">
  22. <image src="../../../static/groupImg/Rectangle_31.png"></image>
  23. <text>{{timeList[0]}}</text>
  24. </view>
  25. <block wx:for="{{timeList[1]}}" wx:key="{{index}}">
  26. <view class="time">
  27. <image src="../../../static/groupImg/Rectangle_31.png"></image>
  28. <text>{{item}}</text>
  29. </view>
  30. </block>
  31. <block wx:for="{{timeList[2]}}" wx:key="{{index}}">
  32. <view class="time">
  33. <image src="../../../static/groupImg/Rectangle_31.png"></image>
  34. <text>{{item}}</text>
  35. </view>
  36. </block>
  37. </view>
  38. </view>
  39. </view>
  40. <scroll-view scroll-y="{{true}}">
  41. <view class="grade-details" bindtap="gradeDetails">
  42. <image src="{{titleIcon}}" ></image>
  43. <text>{{title}}</text>
  44. <text>{{bookInfo}}</text>
  45. </view>
  46. <view class="catalog">
  47. <image src="../../../static/groupImg/Rectangle 34@2x.png"></image>
  48. <text>课文目录</text>
  49. </view>
  50. <view class="catalog-list">
  51. <view class="catalog-item" wx:for="{{lessonList}}" wx:key="{{index}}" data-id="{{item.id}}" data-title="{{item.title}}">
  52. <text class="left">{{item.title}}</text>
  53. <text class="right">{{item.readingNum}}朗读 ></text>
  54. </view>
  55. </view>
  56. </scroll-view>
  57. <view class="group-details-btn">
  58. <view class="left-btn" bindtap="openGroup">
  59. 开团
  60. </view>
  61. <view class="right-btn" bindtap="jionGroup">
  62. <image src="../../../static/groupImg/jionBg.png"></image>
  63. <text>参团</text>
  64. </view>
  65. </view>
  66. </view>
  67. <popup
  68. id="popupup"
  69. typeOf="{{typeOf}}"
  70. title="{{title}}"
  71. headTextOne="{{headTextOne}}"
  72. headTextTwo="{{headTextTwo}}"
  73. content="{{content}}"
  74. bindGroup="group"
  75. ></popup>