From d7b7435558c15789e9a2c650389cd28ce88d443b Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期二, 06 五月 2025 15:05:42 +0800
Subject: [PATCH] 资源查看判断是否购买

---
 pages/bookExhibitionDetails/index.wxml |   20 ++++++++------------
 1 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/pages/bookExhibitionDetails/index.wxml b/pages/bookExhibitionDetails/index.wxml
index 9ec1f8a..83f224b 100644
--- a/pages/bookExhibitionDetails/index.wxml
+++ b/pages/bookExhibitionDetails/index.wxml
@@ -3,8 +3,8 @@
 <template is="skeleton" wx:if="{{loading}}" />
 
 
-<view hidden="{{hidden}}" class="centerBox">
-  <view class="tltiBox">
+<view wx:if="{{!loading}}" class="centerBox">
+  <!-- <view class="tltiBox">
     <view style="width: 100%; height: {{barHeight}}px; "></view>
     <view class="nacigationBar" style="width: 100%; height: {{navBarHeight}}px;">
       <view>
@@ -14,11 +14,9 @@
       <view class="navbar-title">{{subtitleName}}</view>
 
     </view>
-  </view>
+  </view> -->
 
   <view class="outsideHeadBox">
-
-
     <view class="headBox">
       <view class="titleBox">{{bookName}}</view>
       <view class="informationBox">
@@ -27,29 +25,27 @@
 
       </view>
     </view>
-
-
-
     <image class="partingBox" src="/static/images/bookExhibitionDetails/Parting.png" mode="aspectFill" />
     <view class="bannerBox">
       <image src="{{bookImage}}" mode="aspectFit" />
     </view>
-
-
     <view class="textContent">
       <rich-text nodes="{{bookContent}}"></rich-text>
-
       <!-- <text>{{bookContent}}</text> -->
     </view>
     <view class="outsideBooksBox">
       <view class="booksBox" wx:for="{{bookExhibitionList}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="onBookDetails">
         <view class="outsideBooksImageBox">
-          <image src="{{item.icon}}" mode="aspectFit" />
+          <image src="{{item.icon ? item.icon : '/static/images/default-book-img.png'}}" mode="aspectFit" />
         </view>
         <view class="booksTextBox"> <text>{{item.name}}</text></view>
         <view class="boosAuthor">{{item.author}}</view>
       </view>
     </view>
+    <view wx:if="{{bookExhibitionList.length > 0}}" class="bottom-box">
+        <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" />
+        <text wx:if="{{isMore == false}}">娌℃湁鏇村浜�</text>
+      </view>
 
   </view>
 </view>
\ No newline at end of file

--
Gitblit v1.9.1