yiming
2024-04-02 b0128497cea9d7ce703e02652a884e250db4de04
pages/bookExhibitionList/index.wxml
@@ -18,12 +18,15 @@
  </view>
  <view class="outsideMenuBox">
    <view class="menuBox">
      <t-dropdown-menu class="classification">
      <t-dropdown-menu>
        <t-dropdown-item options="{{product.options}}" value="{{product.value}}" bindchange="onChange" />
        <t-dropdown-item class="{{keynoteDisabled ? 'disableds' : ' '}}" disabled="{{keynoteDisabled}}" label=" 重点项目" options="{{multipleSelect.options}}" value="{{multipleSelect.value}}" bindchange="handleMultipleSelect" multiple bind:confirm="handleConfirm" bind:reset="handleReset" show-overlay="{{true}}">
        <t-dropdown-item multiple="{{false}}" class="{{keynoteDisabled ? 'disableds' : ' '}}" disabled="{{keynoteDisabled}}" label=" 重点项目" options="{{multipleSelect.options}}" value="{{multipleSelect.value}}" bindchange="handleMultipleSelect" multiple bind:confirm="handleConfirm" bind:reset="handleReset" show-overlay="{{true}}">
        </t-dropdown-item>
        <t-dropdown-item options="{{sorter.options}}" default-value="{{sorter.value}}" bindchange="onSort" />
      </t-dropdown-menu>
      <view class="outsideSortBox">
      <!-- <view class="outsideSortBox">
        <view class="sortBox" bind:tap="onSwapRight">
          <text>排序</text>
          <view class="iconBox">
@@ -31,7 +34,7 @@
            <t-icon class="swapLeft" name="swap-right" size="35rpx" color="{{nameSort == 'Desc' ? '#ff6c00' : ''}}" />
          </view>
        </view>
      </view>
      </view> -->
    </view>
  </view>
</view>
@@ -45,16 +48,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="aspectFill" />
        <image wx:else src="/static/images/bookExhibitionList/banner.png" mode="aspectFill" />
  <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">
      <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" />
      <text wx:if="{{isMore == false}}">没有更多了</text>
    </view>
  </scroll-view>
</view>