From 4c29b79d485d68d506e798f4fd381232ebc55a86 Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期六, 14 九月 2024 11:27:33 +0800
Subject: [PATCH] bug

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

diff --git a/pages/study/index.wxml b/pages/study/index.wxml
index 4212eed..ca85916 100644
--- a/pages/study/index.wxml
+++ b/pages/study/index.wxml
@@ -27,10 +27,12 @@
       </view>
       <view class="list" wx:if="{{list.length > 0}}">
         <view class="listBox">
-          <view class="{{active == '1' ? 'class--tem' : 'content-item'}}" wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index">
+          <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="{{active == '1' ? 150 : 105}}" height="{{active == '1' ? 90 : 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" />
+              <t-image src="https://jsek.bnuic.com/home/image/courseIcon.png" width="150" height="90" aria-label="{{item.product.name}}" mode="aspectFit" wx:if="{{!item.product.icon && active == '1'}}"/>
+              <t-image src="/static/images/default-book-img.png" width="105" height="145" aria-label="{{item.product.name}}" mode="aspectFit" wx:if="{{!item.product.icon && active == '0'}}"/>
+              <t-image src="https://jsek.bnuic.com/home/image/textBookIcon.png" width="105" height="145" aria-label="{{item.product.name}}" mode="aspectFit" wx:if="{{!item.product.icon && active == '2'}}"/>
             </view>
             <view class="body-info" data-book="{{item}}" bindtap="goBookDetails">
               <view class="name">{{item.product.name}}</view>

--
Gitblit v1.9.1