litian
2024-07-05 2f9305515c7264637164c9e03c2840f4219ca1e3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!-- 资源购买页面 -->
 
<import src="index.skeleton.wxml" />
<template is="skeleton" wx:if="{{loading}}" />
 
<view wx:if="{{haider}}">
  <!--导航区域 -->
  <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 class="navbar-title">资源购买</view>
    </view>
    <view bind:tap="checkAll"> {{checkAllState ? '全选' : '取消'}} </view>
  </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"
    />
    <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>