From 46484b9bea431054820dd30b33f0255aff366ee7 Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期三, 17 四月 2024 18:07:38 +0800
Subject: [PATCH] 2024417bug

---
 pages/study/index.wxml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pages/study/index.wxml b/pages/study/index.wxml
index 7b6bce7..30c5a1c 100644
--- a/pages/study/index.wxml
+++ b/pages/study/index.wxml
@@ -29,8 +29,8 @@
         <view wx:if="{{active == '0'}}" class="listBox">
           <view class="content-item" wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index">
             <view class="book-img" bind:tap="goBookDetails" data-book="{{item}}">
-              <t-image src="{{item.product.icon}}" width="105" height="145" aria-label="{{item.product.name}}" wx:if="{{item.product.icon}}" />
-              <t-image src="/static/images/default-book-img.png" width="105" height="145" aria-label="{{item.product.name}}" wx:else />
+              <t-image src="{{item.product.icon}}" width="105" height="145" aria-label="{{item.product.name}}" wx:if="{{item.product.icon}}" mode="aspectFit" />
+              <t-image src="/static/images/default-book-img.png" width="105" height="145" aria-label="{{item.product.name}}" wx:else mode="aspectFit" />
             </view>
             <view class="body-info" data-book="{{item}}" bindtap="goBookDetails">
               <view class="name">{{item.product.name}}</view>

--
Gitblit v1.9.1