yiming
2024-03-21 006a2ecb6430146cea3afdf353938043c231e5fc
pages/bookExhibitionList/index.wxml
@@ -23,26 +23,41 @@
  </t-dropdown-menu>
  <view class="sortBox" bind:tap="onSwapRight">
    <text>排序</text>
    <view class="iconBox">
      <t-icon class="swapRight" name="swap-right" size="35rpx" color="{{nameSort == 'Asc' ? '#ff6c00' : ''}}" />
      <t-icon class="swapLeft" name="swap-right" size="35rpx" color="{{nameSort == 'Desc' ? '#ff6c00' : ''}}" />
  <view class="outsideSortBox">
    <view class="sortBox" bind:tap="onSwapRight">
      <text>排序</text>
      <view class="iconBox">
        <t-icon class="swapRight" name="swap-right" size="35rpx" color="{{nameSort == 'Asc' ? '#ff6c00' : ''}}" />
        <t-icon class="swapLeft" name="swap-right" size="35rpx" color="{{nameSort == 'Desc' ? '#ff6c00' : ''}}" />
      </view>
    </view>
  </view>
</view>
<view class="assembleContent">
  <view class="titleBox">
    <view class="frameBox"></view>
     <image class="titleTextBox" src="/static/images/bookExhibitionList/zhuantitaolun.png" mode="aspectFit"/>
    <view class="titleTextBox">
      <image src="/static/images/bookExhibitionList/zhuantitaolun.png" mode="heightFix" />
    </view>
  </view>
  <view class="outside">
    <view wx:if="{{bookExhibitionList.length }}">
      <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}}">
      <image wx:if="{{item.icon}}" src="{{item.icon}}" mode="aspectFit" />
      <image wx:else="" src="/static/images/bookExhibitionList/banner.png" mode="" />
      <view class="textBox" title="{{item.name}}"> <text>{{item.name}}</text></view>
      <view class="imageBox">
        <image wx:if="{{item.icon}}" src="{{item.icon}}" mode="widthFix" />
        <image wx:else src="/static/images/bookExhibitionList/banner.png" mode="heightFix" />
      </view>
      <view class="textBox" title="{{item.subtitleName}}"> <text>{{item.subtitleName}}</text></view>
    </view>
  </view>