litian
2024-04-03 b70e26c7be40ad4ccb971f3bbc0fbcb32fe82df1
pages/bookExhibitionList/index.wxml
@@ -13,7 +13,9 @@
      </view>
      <view class="example-search">
        <t-search model:value="{{value}}" placeholder="请输入书展名称" bind:submit="onSearchSubmit" />
      </view>
    </view>
  </view>
  <view class="outsideMenuBox">
@@ -48,16 +50,24 @@
      <image src="/static/images/bookExhibitionList/zhuantitaolun.png" mode="aspectFit" />
    </view>
  </view>
  <view class="outside">
    <view wx:if="{{!bookExhibitionList.length }}" class="noData">
      <t-empty icon="folder-open" description="暂无数据" />
    </view>
    <view class="contentBox" wx:for="{{bookExhibitionList}}" wx:key="index" wx:for-item="item" wx:for-index="index" bindtap="onBookExhibitionDetails" data-item="{{item}}">
      <view class="imageBox">
        <image wx:if="{{item.icon}}" src="{{item.icon}}" mode="aspectFit" />
        <image wx:else src="/static/images/bookExhibitionList/banner.png" mode="aspectFit" />
  <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower">
    <view class="outside">
      <view wx:if="{{!bookExhibitionList.length }}" class="noData">
        <t-empty icon="folder-open" description="暂无数据" />
      </view>
      <view class="textBox" title="{{item.subtitleName}}"> <text>{{item.subtitleName}}</text></view>
      <view class="contentBox" wx:for="{{bookExhibitionList}}" wx:key="index" wx:for-item="item" wx:for-index="index" bindtap="onBookExhibitionDetails" data-item="{{item}}">
        <view class="imageBox">
          <image wx:if="{{item.icon}}" src="{{item.icon}}" mode="aspectFit" />
          <image wx:else src="/static/images/bookExhibitionList/banner.png" mode="aspectFit" />
        </view>
        <view class="textBox" title="{{item.subtitleName}}"> <text>{{item.subtitleName}}</text></view>
      </view>
    </view>
  </view>
    <view class="bottom-box" wx:if="{{bookExhibitionList.length }}">
      <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" />
      <text wx:if="{{isMore == false}}">没有更多了</text>
    </view>
  </scroll-view>
</view>