From 42cc31916c043f681c271efeb73394260e7d77aa Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期二, 05 三月 2024 18:53:11 +0800 Subject: [PATCH] 合并 --- pages/bookExhibitionList/index.wxml | 28 +++++++++++++++------------- 1 files changed, 15 insertions(+), 13 deletions(-) diff --git a/pages/bookExhibitionList/index.wxml b/pages/bookExhibitionList/index.wxml index 075544a..2e08782 100644 --- a/pages/bookExhibitionList/index.wxml +++ b/pages/bookExhibitionList/index.wxml @@ -5,7 +5,7 @@ <view class="example-search"> - <t-search model:value="{{value}}" placeholder="璇疯緭鍏ュ叧閿瘝/涔︾洰/ISBN/浣滆��" /> + <t-search model:value="{{value}}" placeholder="璇疯緭鍏ュ叧閿瘝/涔︾洰/ISBN/浣滆��" bind:submit="onSearchSubmit" /> </view> @@ -24,24 +24,26 @@ </t-dropdown-menu> - <view class="sortBox"> + <view class="sortBox" bind:tap="onSwapRight"> <text>鎺掑簭</text> <view class="iconBox"> - <t-icon class="swapRight" name="swap-right" size="48rpx" bind:click="onSwapRight" /> - <t-icon class="swapLeft" name="swap-right" size="48rpx" bind:click="onSwapLeft" /> + <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 class="titleBox"> - <view class="frameBox"></view> <text class="titleTextBox"> 绾夸笂涔﹀睍</text> -</view> -<view class="outside"> - - <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="" /> - <image wx:else="" src="./img/banner.png" mode="" /> - <view class="textBox"> <text>{{item.name}}</text></view> +<view class="assembleContent"> + <view class="titleBox"> + <view class="frameBox"></view> <text class="titleTextBox"> 绾夸笂涔﹀睍</text> </view> + <view class="outside"> + <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="" /> + <image wx:else="" src="/static/images/bookExhibitionList/banner.png" mode="" /> + <view class="textBox" title="{{item.name}}"> <text>{{item.name}}</text></view> + </view> + + </view> </view> \ No newline at end of file -- Gitblit v1.9.1