From 7231b5929a66bb1ec3b832be85f5e3f6ce40ad9f Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期五, 15 三月 2024 16:01:52 +0800 Subject: [PATCH] feat: 十大 --- pages/bookExhibitionList/index.wxml | 44 +++++++++++++++++++++++--------------------- 1 files changed, 23 insertions(+), 21 deletions(-) diff --git a/pages/bookExhibitionList/index.wxml b/pages/bookExhibitionList/index.wxml index 075544a..e58ac3a 100644 --- a/pages/bookExhibitionList/index.wxml +++ b/pages/bookExhibitionList/index.wxml @@ -3,16 +3,15 @@ <!-- 寮瑰嚭妗� 绂佹 --> <t-toast id="t-toast" /> - -<view class="example-search"> - <t-search model:value="{{value}}" placeholder="璇疯緭鍏ュ叧閿瘝/涔︾洰/ISBN/浣滆��" /> +<view style="width: 100%; height: {{barHeight}}px; "></view> +<view class="nacigationBar" style="width: 70%; height: {{navBarHeight}}px;"> + <view> + <t-icon name="chevron-left" size="30" data-name="{{item}}" bind:click="goBack" /> + </view> + <view class="example-search"> + <t-search model:value="{{value}}" placeholder="璇疯緭鍏ヤ功灞曞悕绉�" bind:submit="onSearchSubmit" /> + </view> </view> - - - - - - <view class="menuBox"> @@ -24,24 +23,27 @@ </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> + <image class="titleTextBox" src="/static/images/bookExhibitionList/zhuantitaolun.png" mode="aspectFit" /> </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="aspectFit" /> + <image wx:else="" src="/static/images/bookExhibitionList/banner.png" mode="" /> + <view class="textBox" title="{{item.subtitleName}}"> <text>{{item.subtitleName}}</text></view> + </view> + + </view> </view> \ No newline at end of file -- Gitblit v1.9.1