1234567891011121314151617181920212223242526272829303132333435 |
- <!--pages/search/index.wxml-->
- <view>
- <van-search shape="round" value="{{ spaceName }}" bind:search="spaceSearch" placeholder="请输入搜索关键词" />
- <van-tabs type="card" color="#5575ff" active="{{ activeTab }}" bind:change="tabChange">
- <van-tab title="关注列表">
- <!-- {{imgShow?'':'del_box'}} -->
- <view class="cardlist">
- <block wx:for="{{listContent}}" wx:key="index">
- <spacecard bind:listClick="listClick" cardDate="{{item}}" bind:starClick="starClick" canvashidden="{{activeTab==0}}"></spacecard>
- <van-divider/>
- </block>
- </view>
- </van-tab>
- <van-tab title="空间列表">
- <view class="cardlist" >
- <block wx:for="{{alllistContent}}" wx:key="index">
- <spacecard bind:listClick="listClick" cardDate="{{item}}" bind:starClick="starClick" canvashidden="{{activeTab==1}}"></spacecard>
- <van-divider/>
- <!-- class="{{imgShow?'':'del_box'}}" -->
- </block>
- </view>
- </van-tab>
- </van-tabs>
- <view class="nolist" wx:if="{{activeTab===0&&noSpace}}">
- <image src="../../static/images/nofollow.png"></image>
- <text>暂无关注</text>
- <text>从空间列表选择关注吧!</text>
- </view>
- <view style="text-align: center;margin: 10px;">
- <view wx:if="{{loading}}">加载中...</view>
- <view wx:if="{{noMore}}">没有更多了</view>
- <view wx:if="{{loadingFailed}}">数据加载失败,请重试</view>
- </view>
- <van-toast id="van-toast" />
- </view>
|