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 | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/pages/bookExhibitionList/index.wxml b/pages/bookExhibitionList/index.wxml index 77fa0f8..212b518 100644 --- a/pages/bookExhibitionList/index.wxml +++ b/pages/bookExhibitionList/index.wxml @@ -41,13 +41,22 @@ <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="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> -- Gitblit v1.9.1