group-details.wxml 3.4 KB

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