| 123456789101112131415161718192021 |
- <!--index.wxml-->
- <view class="wrapper">
- <t-sticky offset-top="{{0}}">
- <view class="search-container">
- <t-search class="search" model:value="{{searchValue}}" label="1" bind:change='handleSerach' placeholder="搜索带看" shape='round' />
- </view>
- </t-sticky>
- <view class="container">
- <view wx:for="{{searchValue.length > 0 ? searchDataList : dataList}}" wx:key="roomId" wx:for-index="idx" wx:for-item="item">
- <card cardId="{{item.roomId}}" name="{{item.roomTitle}}" cover="{{item.roomCoverUrl}}" status="{{item.hostStatus }}" lastTime="{{item.lastLookTime}}" bindtoRoom="handleToRoom"></card>
- </view>
- <view wx:if="{{ (searchValue.length > 0 && searchDataList.length === 0) || (dataList.length === 0 && isLoad )}}" class="search-no-data">
- <image class="no-data" src="../../static/images/img_noshop@3x.png"></image>
- <text class="txt">暂无相关带看</text>
- </view>
- </view>
- <t-back-top class="backtoTop" theme="round" text="顶部" bind:to-top="onToTop" fixed="{{true}}"></t-back-top>
- <t-toast id="t-toast" />
- </view>
|