index.wxml 2.3 KB

123456789101112131415161718192021222324252627282930313233
  1. <view>
  2. <i-solitaire-head class="mb10" community="{{head_data}}" showShare="{{false}}"></i-solitaire-head>
  3. <view class="bg-f" wx:if="{{list.length}}">
  4. <view class="p30 border-bottom" wx:for="{{list}}" wx:key="id" wx:for-item="solitaire" bindtap="goDetails" data-id="{{solitaire.id}}">
  5. <view class="fsz-30 mb5 i-flex i-flex-spb">
  6. <view class="text-overflow1 weight i-flex-item">{{solitaire.solitaire_name}}</view>
  7. <view class="red fsz-24" style="color:{{skin.color}}">{{solitaire.state_str}}</view>
  8. </view>
  9. <view class="fsz-24 text-gray mb10">接龙时间:{{solitaire.begin_time}}~{{solitaire.end_time}}</view>
  10. <view class="img-list i-flex i-flex-wrap" wx:if="{{solitaire.images_list.length}}">
  11. <image class="img-item" src="{{item}}" lazy-load mode="aspectFill" wx:for="{{solitaire.images_list}}" wx:key="id" wx:for-index="idx" data-sidx="{{index}}" data-idx="{{idx}}"></image>
  12. </view>
  13. <view class="i-flex i-flex-spb" wx:if="{{solitaire.state>0}}">
  14. <view class="member-list">
  15. <block wx:for="{{solitaire.invite_list}}" wx:for-index="idx" wx:for-item="memItem" wx:key="id">
  16. <image src="{{memItem.avatar}}" class="avatar"></image>
  17. </block>
  18. </view>
  19. <view class="fsz-24 text-gray">
  20. <block wx:if="{{solitaire.invite_count>0}}">{{solitaire.invite_count}}次浏览</block><block wx:if="{{solitaire.order_count>0}}">,{{solitaire.order_count}}次接龙</block>
  21. </view>
  22. </view>
  23. </view>
  24. <i-load-more iClass="loadMore" loading="{{loadMore}}" tip="{{loadText}}" wx:if="{{!noMore}}"></i-load-more>
  25. </view>
  26. <i-empty wx:if="{{noData}}">暂无接龙~</i-empty>
  27. </view>
  28. <i-tabbar currentIdx='2' cartNum='{{cartNum}}' wx:if="{{showTabbar}}" class="tabbar {{isIpx?'pb20':''}}" />
  29. <i-new-auth needAuth="{{needAuth&&showAuthModal}}" bind:authSuccess="authSuccess" bind:cancel="authModal" needPosition="{{true}}"></i-new-auth>
  30. <!-- 团长切换 -->
  31. <i-change-community wx:if="{{showChangeCommunity}}" visible="{{showChangeCommunity}}" changeCommunity="{{changeCommunity}}" community="{{currentCommunity}}" bind:changeComunity="confrimChangeCommunity" canChange="{{hide_community_change_btn==0}}" groupInfo="{{groupInfo}}" bind:noChange="cancelChangeCommunity" cancelFn="{{true}}"></i-change-community>