group-details.wxml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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 {{isIPX ? 'bottomx' :''}}" hidden="{{surplusNum == '0'}}">
  59. <!--
  60. <view class="left-btn" bindtap="openGroup">
  61. 开团
  62. </view>
  63. -->
  64. <view class="left-btn" bindtap="sendGroup">
  65. 开团
  66. </view>
  67. <view class="right-btn" bindtap="jionGroup">
  68. 参团
  69. </view>
  70. </view>
  71. </view>
  72. <view class="group-popup" bindtap="sendGroup" hidden="{{sendGroupFlag}}">
  73. <view class="group-content">
  74. <view class="group-title">请选择课本</view>
  75. <view class="group-list">
  76. <block wx:for="{{bookList}}" wx:key="{{index}}">
  77. <view class="group-item" catchtap="selectImg" data-ind="{{index}}">
  78. <image class="item-img" src="{{item.iconImg}}"></image>
  79. <view id="grade">{{item.subTitle}}</view>
  80. <image class="select-img" src="../../../static/groupImg/{{selectFlag[index] ? 'bai' : 'lan'}}.png"></image>
  81. </view>
  82. </block>
  83. </view>
  84. <view class="sure" catchtap="sure">
  85. <image src="../../../static/groupImg/sure.png"></image>
  86. <text>确定</text>
  87. </view>
  88. </view>
  89. </view>
  90. <popup
  91. id="popupup"
  92. typeOf="{{typeOf}}"
  93. title="{{title}}"
  94. headTextOne="{{headTextOne}}"
  95. headTextTwo="{{headTextTwo}}"
  96. content="{{content}}"
  97. bindGroup="group"
  98. ></popup>
  99. <view hidden="{{hide}}">
  100. <Dialog bindmyevent="jurisdiction" />
  101. </view>