sync.wxml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <view class="container">
  2. <view class="search">
  3. <input
  4. placeholder="搜索带看"
  5. value="{{keyword}}"
  6. bindinput="inputChange"
  7. bindconfirm="search"
  8. confirm-type="search"
  9. type="text"
  10. />
  11. <image wx:if="{{imgServer}}" src="{{imgServer + '/search.png'}}"></image>
  12. </view>
  13. <view class="room-list" wx:if="{{filterList.length}}">
  14. <view class="sign" wx:for='{{filterList}}' wx:key="id">
  15. <image src="{{item.cover}}" ></image>
  16. <view class="footer">
  17. <view class="info">
  18. <view class="title">{{item.title}}</view>
  19. <view class="time">最后带看:{{item.status === 1 ? '进行中' : item.lastLookTime}}</view>
  20. </view>
  21. <view class="actions">
  22. <button
  23. bindtap="gotoRoom"
  24. data-id='{{item.id}}'
  25. class="{{item.status === 1 ? 'active' : ''}}"
  26. >
  27. {{ item.status === 1 ? '加入带看' : '自由参观' }}
  28. </button>
  29. </view>
  30. </view>
  31. </view>
  32. </view>
  33. <view class="unbrand" wx:else>
  34. <image src="/static/images/img_noshop@3x.png"></image>
  35. <view class="text">暂无相关带看</view>
  36. </view>
  37. </view>