From 8aeddcf766df9f7e3061d4d098b57afdf53db896 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期四, 19 十二月 2024 15:28:07 +0800
Subject: [PATCH] 骨架屏及选择选中后自动跳转

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

diff --git a/packageBookService/pages/bookServices/detail/index.wxml b/packageBookService/pages/bookServices/detail/index.wxml
index 75e12b4..5d4d56a 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
@@ -259,6 +256,7 @@
                 isShowBuyCloundMenu="{{isShowBuyCloundMenu}}"
                 isShowBuyCloundBtn="{{isShowBuyCloundBtn}}"
                 bind:buyCloudLearnClass="buyCloudLearnClass"
+                learnTaskData="{{learnTaskData}}"
               ></learn-resource>
 
               <tree
@@ -267,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>
@@ -290,6 +290,9 @@
               <test-resource
                 id="test-resource"
                 list="{{test}}"
+                bankSaleData="{{bankSaleData}}"
+                isBuyBank="{{isBuyBank}}"
+                isShoppingBank="{{isShoppingBank}}"
                 bookInfo="{{bookDetail}}"
                 openIds="{{openLearnids}}"
                 mockData="{{mockData}}"
@@ -297,6 +300,8 @@
                 storeInfo="{{options.storeInfo}}"
                 jslx="{{jslx}}"
                 bind:buyMock="buyMock"
+                bind:buyBank="buyBank"
+                bind:handleShoppingBank="handleShoppingBank"
               ></test-resource>
             </view>
           </t-tab-panel>
@@ -491,7 +496,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