From 1fa2461678d7f93b88f5666c4898e5b6c72080f3 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期一, 16 十二月 2024 10:21:06 +0800
Subject: [PATCH] 个人中心,班级、课程模块

---
 packageBookService/pages/bookServices/detail/buyResource/index.wxml |   74 ++++++++++++++++++++++++++-----------
 1 files changed, 52 insertions(+), 22 deletions(-)

diff --git a/packageBookService/pages/bookServices/detail/buyResource/index.wxml b/packageBookService/pages/bookServices/detail/buyResource/index.wxml
index 052aa35..9f03c28 100644
--- a/packageBookService/pages/bookServices/detail/buyResource/index.wxml
+++ b/packageBookService/pages/bookServices/detail/buyResource/index.wxml
@@ -1,26 +1,56 @@
-<!--packageBookService/pages/bookServices/detail/buyResource/index.wxml-->
-<!--瀵艰埅鍖哄煙 -->
-<view style="width: 100%; height: {{barHeight}}px; "></view>
-<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" />
+<!-- 璧勬簮璐拱椤甸潰 -->
+
+<view>
+  <!--瀵艰埅鍖哄煙 -->
+  <view style="width: 100%; height: {{barHeight}}px; "></view>
+  <view class="nacigationBar" style="width: 70%; height: {{navBarHeight}}px;">
+    <view class="flex">
+      <view class="back-icon">
+        <!-- <t-icon name="chevron-left" size="30" data-name="{{item}}" bind:click="goBack" /> -->
+        <image
+          src="/static/images/digitalTextbooks/chevron-left.png"
+          bind:tap="goBack"
+          mode="aspectFit"
+        />
+      </view>
+      <view class="navbar-title">璧勬簮璐拱</view>
     </view>
-    <view class="navbar-title">璧勬簮璐拱</view>
+    <view bind:tap="checkAll"> {{checkAllState ? '鍏ㄩ��' : '鍙栨秷'}} </view>
   </view>
-  <view bind:tap="checkAll"> 鍏ㄩ�� </view>
+
+  <!-- 鍐呭 -->
+
+  <view class="buy-resource" wx:if="{{!loading}}">
+    <tree
+      id="tree"
+      paymentPage="{{paymentPage}}"
+      superior="{{superior}}"
+      treeList="{{learn}}"
+      learnList="{{learn}}"
+      tab="{{'jsek_cloudLearning'}}"
+      isShowCheck="{{true}}"
+      openIds="{{openLearnids}}"
+      checkAllState="{{checkAllState}}"
+      bind:changeCheckAll="changeCheckAll"
+      bind:changeListChecked="changeListChecked"
+      bind:changeResourceChecked="changeResourceChecked"
+      bind:updateCloudLearning="updateCloudLearning"
+    />
+    <view class="noData" wx:if="{{noData}}">
+      <!-- <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" /> -->
+      <empty />
+    </view>
+  </view>
+  <view class="page-bottom">
+    <t-button
+      theme="primary"
+      size="large"
+      class="btn-buy"
+      bindtap="batchPurchase"
+      >鎵归噺璐拱</t-button
+    >
+  </view>
 </view>
 
-<!-- 鍐呭 -->
-
-<view class="buy-resource" wx:if="{{!loading}}">
-  <tree id="tree" treeList="{{learn}}" tab="{{'jsek_cloudLearning'}}" isShowCheck="{{true}}" openIds="{{openLearnids}}" />
-</view>
-
-<view class="noData" wx:if="{{loading}}">
-  <t-loading size="60rpx" loading="{{loading}}" />
-</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
+<import src="index.skeleton.wxml" />
+<template is="skeleton" wx:if="{{loading}}" />

--
Gitblit v1.9.1