From 006a2ecb6430146cea3afdf353938043c231e5fc Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期四, 21 三月 2024 14:34:44 +0800 Subject: [PATCH] 修改购物车等 --- pages/bookExhibitionList/index.wxml | 51 +++++++++++++++++++++++++++++++++------------------ 1 files changed, 33 insertions(+), 18 deletions(-) diff --git a/pages/bookExhibitionList/index.wxml b/pages/bookExhibitionList/index.wxml index e9a00db..212b518 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="璇疯緭鍏ヤ功灞曞悕绉�" bind:submit="onSearchSubmit" /> +<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,25 +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> <text class="titleTextBox"> 绾夸笂涔﹀睍</text> + <view class="frameBox"></view> + <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="" /> - <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> -- Gitblit v1.9.1