From 6d8464c9524c1c8550450615bc9c47fb298d424d Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期三, 03 四月 2024 09:51:03 +0800
Subject: [PATCH] 图书详情页、答题器bug修改

---
 packageBookService/pages/bookServices/detail/buyResource/index.wxml |   26 +++++++++++++++++++++-----
 1 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/packageBookService/pages/bookServices/detail/buyResource/index.wxml b/packageBookService/pages/bookServices/detail/buyResource/index.wxml
index 4c34e85..664b0c6 100644
--- a/packageBookService/pages/bookServices/detail/buyResource/index.wxml
+++ b/packageBookService/pages/bookServices/detail/buyResource/index.wxml
@@ -4,17 +4,31 @@
 <view class="nacigationBar" style="width: 70%; height: {{navBarHeight}}px;">
   <view class="flex">
     <view>
-      <t-icon name="chevron-left" size="30" data-name="{{item}}" bind:click="goBack" />
+      <t-icon
+        name="chevron-left"
+        size="30"
+        data-name="{{item}}"
+        bind:click="goBack"
+      />
     </view>
     <view class="navbar-title">璧勬簮璐拱</view>
   </view>
-  <view bind:tap="checkAll"> 鍏ㄩ�� </view>
+  <view bind:tap="checkAll"> {{checkAllState ? '鍙栨秷' : '鍏ㄩ��'}} </view>
 </view>
 
 <!-- 鍐呭 -->
 
 <view class="buy-resource" wx:if="{{!loading}}">
-  <tree id="tree" paymentPage="{{paymentPage}}" superior="{{superior}}" treeList="{{learn}}" tab="{{'jsek_cloudLearning'}}" isShowCheck="{{true}}" openIds="{{openLearnids}}" />
+  <tree
+    id="tree"
+    paymentPage="{{paymentPage}}"
+    superior="{{superior}}"
+    treeList="{{learn}}"
+    tab="{{'jsek_cloudLearning'}}"
+    isShowCheck="{{true}}"
+    openIds="{{openLearnids}}"
+    bind:changeCheckAll="changeCheckAll"
+  />
 </view>
 
 <view class="noData" wx:if="{{loading}}">
@@ -22,5 +36,7 @@
 </view>
 
 <view class="page-bottom">
-  <t-button theme="primary" size="large" class="btn-buy" bindtap="batchPurchase">鎵归噺璐拱</t-button>
-</view>
\ No newline at end of file
+  <t-button theme="primary" size="large" class="btn-buy" bindtap="batchPurchase"
+    >鎵归噺璐拱</t-button
+  >
+</view>

--
Gitblit v1.9.1