From 04c7b0163caeae4ab1c5da62e301fa993101cfad Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期一, 31 三月 2025 10:40:45 +0800
Subject: [PATCH] bug修改

---
 packageBookService/pages/bookServices/detail/index.wxml |   45 ++++++++++++++++++++++++++++++++++-----------
 1 files changed, 34 insertions(+), 11 deletions(-)

diff --git a/packageBookService/pages/bookServices/detail/index.wxml b/packageBookService/pages/bookServices/detail/index.wxml
index 75e12b4..d8164b8 100644
--- a/packageBookService/pages/bookServices/detail/index.wxml
+++ b/packageBookService/pages/bookServices/detail/index.wxml
@@ -52,7 +52,16 @@
                     src="/static/images/bookService/detail/suggest.png"
                   />
                 </view>
-                <view class="use-title">鎴戣寤鸿</view>
+                <view class="use-title">寤鸿</view>
+              </view>
+              <view class="suggest" bindtap="editPhone">
+                <t-icon
+                  class="editIcon"
+                  style="color: rgb(194, 194, 194)"
+                  name="calendar-edit"
+                  size="40rpx"
+                />
+                <view class="use-title">鑱旂郴</view>
               </view>
             </view>
           </view>
@@ -205,7 +214,7 @@
                 rejectCause="{{rejectCause}}"
                 deadline="{{deadline}}"
                 bind:applyResource="applyResource"
-                treeList="{{teach}}"
+                md5List="{{md5List}}"
                 applyResourceLoading="{{applyResourceLoading}}"
                 bind:uploadFile="uploadFile"
               ></teach-resource>
@@ -225,12 +234,6 @@
                 bind:updateCloudLearning="updateCloudLearning"
               ></tree>
             </view>
-            <!-- <t-loading
-              theme="circular"
-              size="60rpx"
-              class="loading"
-              loading="{{loading }}"
-            /> -->
             <view wx:if="{{loading}}" style="width: 100%; height: min-content">
               <t-skeleton
                 row-col="{{rowCol}}"
@@ -238,6 +241,9 @@
                 animation="gradient"
                 loading="{{loading}}"
               ></t-skeleton>
+            </view>
+            <view wx:if="{{noResources && !loading}}" class="noData">
+              <empty />
             </view>
           </t-tab-panel>
           <t-tab-panel
@@ -259,6 +265,7 @@
                 isShowBuyCloundMenu="{{isShowBuyCloundMenu}}"
                 isShowBuyCloundBtn="{{isShowBuyCloundBtn}}"
                 bind:buyCloudLearnClass="buyCloudLearnClass"
+                learnTaskData="{{learnTaskData}}"
               ></learn-resource>
 
               <tree
@@ -267,16 +274,18 @@
                 bookInfo="{{bookDetail}}"
                 tab="{{tabValue}}"
                 treeList="{{learn}}"
+                learnList="{{learn}}"
                 buyIds="{{buyIdList}}"
                 openLearnids="{{openLearnids}}"
                 cloundMenuIsBuy="{{cloundMenuIsBuy}}"
+                learnMenu="{{learnMenu}}"
+                isCloundHaveSaleMethod="{{isCloundHaveSaleMethod}}"
                 bind:updateShoppingCartHidden="updateShoppingCartHidden"
                 bind:updateCloudLearning="updateCloudLearning"
                 bind:getCloundIsBuy="getCloundIsBuy"
               ></tree>
             </view>
             <view wx:if="{{noResources && !loading}}" class="noData">
-              <!-- <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" /> -->
               <empty />
             </view>
           </t-tab-panel>
@@ -290,6 +299,9 @@
               <test-resource
                 id="test-resource"
                 list="{{test}}"
+                bankSaleData="{{bankSaleData}}"
+                isBuyBank="{{isBuyBank}}"
+                isShoppingBank="{{isShoppingBank}}"
                 bookInfo="{{bookDetail}}"
                 openIds="{{openLearnids}}"
                 mockData="{{mockData}}"
@@ -297,6 +309,8 @@
                 storeInfo="{{options.storeInfo}}"
                 jslx="{{jslx}}"
                 bind:buyMock="buyMock"
+                bind:buyBank="buyBank"
+                bind:handleShoppingBank="handleShoppingBank"
               ></test-resource>
             </view>
           </t-tab-panel>
@@ -337,6 +351,13 @@
       </view>
     </movable-view>
   </movable-area>
+  <!-- 鑱旂郴缂栬緫寮圭獥 -->
+  <t-dialog visible="{{editDialog}}" close-btn bind:close="closeEditDialog">
+    <view slot="content" class="editContent">
+      <view class="editText">鍥句功缂栬緫锛歿{bookDetail.bookEditor}}</view>
+      <view class="editText">鑱旂郴鏂瑰紡锛歿{bookDetail.contactInformation}}</view>
+    </view>
+  </t-dialog>
   <!-- 鎴戣寤鸿寮圭獥 -->
   <suggest
     class="suggest-component"
@@ -373,8 +394,9 @@
       <view class="btn-text">绾歌川鏍蜂功鐢宠</view>
     </view>
     <view
-      class="{{!bookBuy && bookDetail.isSell ? 'bottom-btn tryRead' : 'bottom-btn try'}}"
+      class="{{!bookBuy  ? 'bottom-btn tryRead' : 'bottom-btn try'}}"
       bind:tap="goRead"
+      data-type="freeFile"
       wx:if="{{!bookBuy || applicationState == 'overdue'}}"
     >
       <view>
@@ -404,6 +426,7 @@
     <view
       class="buy read"
       bind:tap="goRead"
+      data-type="file"
       wx:if="{{bookBuy || applicationState == 'Normal'}}"
       >绔嬪嵆鏌ョ湅</view
     >
@@ -491,7 +514,7 @@
                 wx:if="{{!isShowUp && fileList.length > 0}}"
                 class="fileList"
               >
-                <text>{{fileList[0].name}}</text>
+                <text class="fileName">{{fileList[0].name}}</text>
                 <image
                   src="/static/images/bookService/detail/deleteHover.png"
                   class="deleteBtn"

--
Gitblit v1.9.1