From dce885689d308043450f199981722b5c80360fe7 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 28 十一月 2024 10:21:29 +0800
Subject: [PATCH] 题库购买

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

diff --git a/packageBookService/pages/bookServices/detail/index.wxml b/packageBookService/pages/bookServices/detail/index.wxml
index 27016f9..6288aa1 100644
--- a/packageBookService/pages/bookServices/detail/index.wxml
+++ b/packageBookService/pages/bookServices/detail/index.wxml
@@ -205,7 +205,7 @@
                 rejectCause="{{rejectCause}}"
                 deadline="{{deadline}}"
                 bind:applyResource="applyResource"
-                treeList="{{teach}}"
+                md5List="{{md5List}}"
                 applyResourceLoading="{{applyResourceLoading}}"
                 bind:uploadFile="uploadFile"
               ></teach-resource>
@@ -225,12 +225,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 +232,9 @@
                 animation="gradient"
                 loading="{{loading}}"
               ></t-skeleton>
+            </view>
+            <view wx:if="{{noResources && !loading}}" class="noData">
+              <empty />
             </view>
           </t-tab-panel>
           <t-tab-panel
@@ -268,16 +265,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>
@@ -291,6 +290,8 @@
               <test-resource
                 id="test-resource"
                 list="{{test}}"
+                bankSaleData="{{bankSaleData}}"
+                isBuyBank="{{isBuyBank}}"
                 bookInfo="{{bookDetail}}"
                 openIds="{{openLearnids}}"
                 mockData="{{mockData}}"
@@ -298,6 +299,7 @@
                 storeInfo="{{options.storeInfo}}"
                 jslx="{{jslx}}"
                 bind:buyMock="buyMock"
+                bind:buyBank="buyBank"
               ></test-resource>
             </view>
           </t-tab-panel>
@@ -492,7 +494,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