inviteEnrollPopup.wxml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <popup show="{{show}}" opacity='5' bindclose="closeTip">
  2. <view class="content">
  3. <view class="invite-user" wx:if="{{shareInfo.sharer && skuInfo.sessionName && skuInfo.mealsName}}">
  4. <view class="active-title"><text class="subtitleColor name">{{shareInfo.sharer}} </text>已报名 <text style="font-weight: bold;">{{skuInfo.sessionName}} / {{skuInfo.mealsName}}</text></view>
  5. <view class="active-tip">并邀请你一起{{shareInfo.groupid?'拼团':''}}报名</view>
  6. </view>
  7. <view class="invite-user" wx:else>
  8. <text class="subtitleColor name">{{shareInfo.sharer}} </text>邀请你一起拼团报名
  9. </view>
  10. <view class="invite-group" wx:if="{{shareInfo.groupid}}">
  11. <view class="groupText" wx:if="{{datas.status == 0}}">
  12. <text wx:if="{{datas.before != 0 && datas.times < 0}}">已成{{datas.before}}人团,</text>
  13. 差<text class="subtitleColor">{{datas.total <= 0 ? '0':(datas.next-datas.total)}}</text>人成<text class="subtitleColor">{{datas.next}}人团</text>
  14. </view>
  15. <view class="groupText" wx:if="{{datas.status == 4}}">
  16. 此团<text class="subtitleColor">已过期</text>
  17. </view>
  18. <view class="groupText" wx:if="{{datas.status == 2}}">
  19. 此团<text class="subtitleColor">已满员</text>
  20. </view>
  21. <view class="subtitle" wx:if="{{datas.status == 0 && datas.times>0}}">
  22. <text>剩余:</text>
  23. <text class='time-m'>{{updateTime.hour}}</text><text class="i">:</text>
  24. <text class='time-m'>{{updateTime.minite}}</text><text class="i">:</text>
  25. <text class='time-m'>{{updateTime.second}}</text>
  26. </view>
  27. <view class="group-persons">
  28. <view class="group-persons-img" wx:for="{{datas.users}}" wx:key="userId">
  29. <image src="{{item.avatar}}" class="headImg"></image>
  30. </view>
  31. <view class="group-persons-img" wx:for="{{(datas.next-datas.total)}}" wx:key="index">
  32. <view src="" class="headImg no-people">?</view>
  33. </view>
  34. </view>
  35. </view>
  36. <view class="btn-bottom">
  37. <button type="warn" plain bindtap="close" id="Later">我再看看</button>
  38. <button type="warn" bindtap="signup" id="participate">{{(shareInfo.sharer || skuInfo.sessionName || skuInfo.mealsName)&&shareInfo.groupid && datas.status ==0?'一键参团':((shareInfo.sharer || skuInfo.sessionName || skuInfo.mealsName) && !shareInfo.groupid ?'立即报名':'新开拼团') }}</button>
  39. </view>
  40. </view>
  41. </popup>