groupIndex.wxml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <view class="wrap">
  2. <!-- 搜索 -->
  3. <view class='search-bar'>
  4. <view class='search-box'>
  5. <input class='ipt' placeholder="搜索活动" confirm-type="搜索" type="text" bindconfirm="goResult"></input>
  6. <view class='search-icon'>
  7. <text class="iconfont icon-sousuo1"></text>
  8. </view>
  9. </view>
  10. </view>
  11. <!-- 列表 -->
  12. <view class="list mb20">
  13. <block wx:if="{{!noData&&list.length}}">
  14. <i-card class="item" wx:for="{{list}}" wx:key="id" data-id="{{item.id}}">
  15. <view class="header" slot="header">
  16. <view class="title text-overflow1 weight">{{item.solitaire_name}}</view>
  17. </view>
  18. <view class="middle" slot="content">
  19. <view class="mb5"><text class="text-gray">发布时间:</text>{{item.begin_time}}</view>
  20. <view class="mb5"><text class="text-gray">接龙状态:</text><text class="red">{{item.state_str}}</text></view>
  21. <view class="i-flex i-flex-spb">
  22. <view class="views text-gray">{{item.invite_count}}人看过 {{item.order_count}}人参加</view>
  23. <view class="btn bg-ccc" wx:if="{{item.appstate==1&&item.state==0}}">接龙详情</view>
  24. <navigator class="btn bg-primary" url="/lionfish_comshop/moduleA/solitaire/groupDetails?id={{item.id}}" wx:else>
  25. 接龙详情
  26. </navigator>
  27. </view>
  28. </view>
  29. </i-card>
  30. <i-load-more iClass="loadMore" loading="{{loadMore}}" tip="{{loadText}}" wx:if="{{!noMore}}"></i-load-more>
  31. </block>
  32. <i-empty wx:if="{{noData}}">暂无接龙~</i-empty>
  33. </view>
  34. <!-- 发布按钮 -->
  35. <navigator class="pub i-flex-col i-flex-alc" url="/lionfish_comshop/moduleA/solitaire/pub">
  36. <text class="iconfont icon-fabu"></text>
  37. <text class="pub-tit">发布接龙</text>
  38. </navigator>
  39. </view>