group-details.wxml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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/Rectangle34@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>
  77. <view hidden="{{hide}}">
  78. <Dialog bindmyevent="jurisdiction" />
  79. </view>