闫增涛
2024-04-03 6d8464c9524c1c8550450615bc9c47fb298d424d
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>
  <t-button theme="primary" size="large" class="btn-buy" bindtap="batchPurchase"
    >批量购买</t-button
  >
</view>