litian
2024-07-05 ea0592a7257ab7bb2036dabd8486d6a584d07704
pages/retrievalPage/index.wxml
@@ -12,13 +12,8 @@
  <view class="tabsBox">
    <!-- sticky="true" -->
    <t-tabs defaultValue="{{0}}" bind:change="onTabsChange" bind:click="onTabsClick" t-class="custom-tabs" t-class-content="custom-panel">
      <t-tab-panel label="图书({{bookTotal}})" value="0" style="{{tabPanelstyle}}" bind:tap="tabClick">
        <view wx:if="{{bookData.length <= 0}}" class="noDataBox">
          <!-- <t-empty icon="folder-open" description="暂无数据" /> -->
          <empty />
        </view>
    <t-tabs t-class="custom-tabs" split="{{false}}" defaultValue="{{tabValue}}" bind:change="onTabsChange" bind:click="onTabsClick">
      <t-tab-panel label="图书({{bookTotal}})" value="0" style="{{tabPanelstyle}}">
        <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower">
          <view class="bookDataBox">
            <view class="bookDataForBox" wx:for="{{bookData}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="onBook">
@@ -34,13 +29,14 @@
            <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" />
            <text wx:if="{{isMore == false}}">没有更多了</text>
          </view>
          <view wx:if="{{bookData.length <= 0}}" class="noDataBox">
            <!-- <t-empty icon="folder-open" description="暂无数据" /> -->
            <empty />
          </view>
        </scroll-view>
      </t-tab-panel>
      <t-tab-panel label="课程({{courseTotal}})" value="1">
        <view wx:if="{{courseData.length <= 0}}" class="noDataBox">
          <!-- <t-empty icon="folder-open" description="暂无数据" /> -->
          <empty />
        </view>
        <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower">
          <view class="listBox1">
@@ -70,13 +66,14 @@
            <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" />
            <text wx:if="{{isMore == false}}">没有更多了</text>
          </view>
          <view wx:if="{{courseData.length <= 0}}" class="noDataBox">
            <!-- <t-empty icon="folder-open" description="暂无数据" /> -->
            <empty />
          </view>
        </scroll-view>
      </t-tab-panel>
      <t-tab-panel label="数字教材({{digitalTextbooksTotal}})" value="2">
        <view wx:if="{{digitalTextbooksData.length <= 0}}" class="noDataBox">
          <!-- <t-empty icon="folder-open" description="暂无数据" /> -->
          <empty />
        </view>
        <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower">
          <view class="bookDataBox">
            <view class="bookDataForBox" wx:for="{{digitalTextbooksData}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="underConstruction">
@@ -92,13 +89,14 @@
            <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" />
            <text wx:if="{{isMore == false}}">没有更多了</text>
          </view>
          <view wx:if="{{digitalTextbooksData.length <= 0}}" class="noDataBox">
            <!-- <t-empty icon="folder-open" description="暂无数据" /> -->
            <empty />
          </view>
        </scroll-view>
      </t-tab-panel>
      <t-tab-panel label="专题({{seminarTotal}})" value="3">
        <view wx:if="{{seminarData.length <= 0}}" class="noDataBox">
          <!-- <t-empty icon="folder-open" description="暂无数据" /> -->
          <empty />
        </view>
        <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower">
          <view class="listBox">
            <view wx:for="{{seminarData}}" wx:for-item="item" wx:for-index="index" wx:key="index" class="listItemBox" data-item="{{item}}" bind:tap="underConstruction">
@@ -125,14 +123,13 @@
            <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" />
            <text wx:if="{{isMore == false}}">没有更多了</text>
          </view>
          <view wx:if="{{seminarData.length <= 0}}" class="noDataBox">
            <!-- <t-empty icon="folder-open" description="暂无数据" /> -->
            <empty />
          </view>
        </scroll-view>
      </t-tab-panel>
      <t-tab-panel label="书目({{bookFairTotal}})" value="4">
        <view wx:if="{{bookFairData.length <= 0 }}" class="noDataBox">
          <!-- <t-empty icon="folder-open" description="暂无数据" /> -->
          <empty />
        </view>
        <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower">
          <view class="outsideHigherBox">
            <view class="higherBox" wx:for="{{bookFairData}}" wx:key="index" wx:for-item="item" wx:for-index="index">
@@ -153,14 +150,13 @@
            <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" />
            <text wx:if="{{isMore == false}}">没有更多了</text>
          </view>
          <view wx:if="{{bookFairData.length <= 0 }}" class="noDataBox">
            <!-- <t-empty icon="folder-open" description="暂无数据" /> -->
            <empty />
          </view>
        </scroll-view>
      </t-tab-panel>
      <t-tab-panel label="书展({{biblioClassificationTotal}})" value="5">
        <view wx:if="{{biblioClassificationData.length <= 0}}" class="noDataBox">
          <!-- <t-empty icon="folder-open" description="暂无数据" /> -->
          <empty />
        </view>
        <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower">
          <view class="outside">
            <view class="contentBox" wx:for="{{biblioClassificationData}}" wx:key="index" wx:for-item="item" wx:for-index="index" bindtap="onBookExhibitionDetails" data-item="{{item}}">
@@ -171,11 +167,14 @@
              </view>
            </view>
          </view>
          <view wx:if="{{biblioClassificationData.length != 0}}" class="bottom-box">
            <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" />
            <text wx:if="{{isMore == false}}">没有更多了</text>
          </view>
          <view wx:if="{{biblioClassificationData.length <= 0}}" class="noDataBox">
            <!-- <t-empty icon="folder-open" description="暂无数据" /> -->
            <empty />
          </view>
        </scroll-view>
      </t-tab-panel>
    </t-tabs>