From 96b0b8bb1597d825004f5a8da0728c48b6ce7dba Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 27 三月 2025 15:22:22 +0800
Subject: [PATCH] 首页登录去除侧式

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

diff --git a/pages/bookExhibitionDetails/index.wxml b/pages/bookExhibitionDetails/index.wxml
index 193286b..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,33 +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 wx:if="{{bookExhibitionList.length > 0}}" class="bottom-box">
+    </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>
 </view>
\ No newline at end of file

--
Gitblit v1.9.1