From f5932f85898de7284c9f16d314b4a1c572b31c73 Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期五, 21 六月 2024 11:51:16 +0800
Subject: [PATCH] 视频

---
 packageBookService/pages/bookServices/detail/index.wxml |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/packageBookService/pages/bookServices/detail/index.wxml b/packageBookService/pages/bookServices/detail/index.wxml
index 4b32c1f..0dd9e4d 100644
--- a/packageBookService/pages/bookServices/detail/index.wxml
+++ b/packageBookService/pages/bookServices/detail/index.wxml
@@ -194,7 +194,7 @@
               wx:if="{{bookDetail.content || bookDetail.authorIntroduction}}"
             ></book-brief>
             <view
-              wx:if="{{!bookDetail.content && !bookDetail.authorIntroduction}}"
+              wx:if="{{!bookDetail.content && !bookDetail.authorIntroduction && !loading}}"
               class="noData"
             >
               <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" />
@@ -253,7 +253,7 @@
                 loading="{{loading}}"
               ></t-skeleton>
             </view>
-            <view wx:if="{{noResources}}" class="noData">
+            <view wx:if="{{noResources && !loading}}" class="noData">
               <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" />
             </view>
           </t-tab-panel>
@@ -272,6 +272,7 @@
                 bookId="{{bookDetail.id}}"
                 isshowDrawBtn="{{isshowDrawBtn}}"
                 successOrderNumber="{{successOrderNumber}}"
+                isGoBuyResource="{{isGoBuyResource}}"
               ></learn-resource>
 
               <tree
@@ -286,7 +287,7 @@
                 bind:updateCloudLearning="updateCloudLearning"
               ></tree>
             </view>
-            <view wx:if="{{noResources}}" class="noData">
+            <view wx:if="{{noResources && !loading}}" class="noData">
               <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" />
             </view>
           </t-tab-panel>
@@ -381,7 +382,7 @@
     <view
       class="{{!bookBuy && bookDetail.isSell ? 'bottom-btn tryRead' : 'bottom-btn try'}}"
       bind:tap="goRead"
-      wx:if="{{ applicationState == 'overdue' ? true :!bookBuy}}"
+      wx:if="{{!bookBuy}}"
     >
       <view>
         <t-image src="/static/images/bookService/detail/shidu.png"></t-image>
@@ -392,7 +393,7 @@
     <view
       class="shopCar shopCarColor"
       bind:tap="addBookShopcCar"
-      wx:if="{{!bookBuy && bookDetail.price !== '0.00' && bookDetail.isSell == '1'}}"
+      wx:if="{{!bookBuy &&  bookDetail.price !== '0.00' && bookDetail.isSell == '1'}}"
       >鍔犲叆璐墿杞�</view
     >
     <view
@@ -407,7 +408,7 @@
       wx:if="{{!bookBuy && bookDetail.price == '0.00' && bookDetail.isSell == '1'}}"
       >鍏嶈垂棰嗗彇</view
     >
-    <view class="buy read" bind:tap="goRead" wx:if="{{ applicationState == 'Normal' ? true : bookBuy}}">绔嬪嵆鏌ョ湅</view>
+    <view class="buy read" bind:tap="goRead" wx:if="{{bookBuy}}">绔嬪嵆鏌ョ湅</view>
   </view>
 </view>
 

--
Gitblit v1.9.1