闫增涛
2024-09-19 cfd502b3e4c27bf8d0d92002e918835dccb06e05
packageBookService/pages/bookServices/detail/index.wxml
@@ -1,8 +1,6 @@
<!--pages/bookServices/detail/index.wxml-->
<import src="index.skeleton.wxml" />
<template is="skeleton" wx:if="{{pageLoading}}" />
<!-- pageLoading -->
<!--导航区域 -->
<suggest-dialog
  class="suggest-dialog"
@@ -12,20 +10,6 @@
></suggest-dialog>
<!-- <popup showIndex="{{showIndex}}"></popup> -->
<view class="page-bookService" wx:if="{{!pageLoading}}">
  <!-- <view style="width: 100%; height: {{barHeight}}px; "></view>
  <view class="nacigationBar" style="width: 100%; height: {{navBarHeight}}px;">
    <view>
      <t-icon
        name="chevron-left"
        size="30"
        data-name="{{item}}"
        bind:click="goBack"
      />
    </view>
    <view class="navbar-title" style="width: 100%">
      <text>{{options.name}}</text>
    </view>
  </view> -->
  <t-toast id="t-toast" />
  <movable-area class="movable-area">
    <scroll-view
@@ -215,14 +199,13 @@
            value="jsek_teachingResources"
            class="{{loading ? 'loading': ''}}"
          >
            <view
              wx:if="{{!loading && teach.length && !noResources && applyState}}"
            >
            <view wx:if="{{!loading  && applyState}}">
              <teach-resource
                applyState="{{applyState}}"
                rejectCause="{{rejectCause}}"
                deadline="{{deadline}}"
                bind:applyResource="applyResource"
                treeList="{{teach}}"
                applyResourceLoading="{{applyResourceLoading}}"
                bind:uploadFile="uploadFile"
              ></teach-resource>
@@ -256,10 +239,6 @@
                loading="{{loading}}"
              ></t-skeleton>
            </view>
            <view wx:if="{{noResources && !loading}}" class="noData">
              <!-- <t-empty icon="folder-open" description="暂无数据" /> -->
              <empty />
            </view>
          </t-tab-panel>
          <t-tab-panel
            label="云学习"
@@ -277,6 +256,9 @@
                isshowDrawBtn="{{isshowDrawBtn}}"
                successOrderNumber="{{successOrderNumber}}"
                isGoBuyResource="{{isGoBuyResource}}"
                isShowBuyCloundMenu="{{isShowBuyCloundMenu}}"
                isShowBuyCloundBtn="{{isShowBuyCloundBtn}}"
                bind:buyCloudLearnClass="buyCloudLearnClass"
              ></learn-resource>
              <tree
@@ -287,8 +269,10 @@
                treeList="{{learn}}"
                buyIds="{{buyIdList}}"
                openLearnids="{{openLearnids}}"
                cloundMenuIsBuy="{{cloundMenuIsBuy}}"
                bind:updateShoppingCartHidden="updateShoppingCartHidden"
                bind:updateCloudLearning="updateCloudLearning"
                bind:getCloundIsBuy="getCloundIsBuy"
              ></tree>
            </view>
            <view wx:if="{{noResources && !loading}}" class="noData">
@@ -451,14 +435,30 @@
          <view class="from-item">
            <view class="label"> <text class="icon">*</text>资源类型: </view>
            <view class="item-content">
              <view class="inputBox1">
                <t-input
                  placeholder="输入资源类型"
                  borderless
                  value="{{resourceInfo.fileType}}"
                  bindchange="onFileTypeInput"
                />
              </view>
              <!-- <view class="inputBox1">
                <t-input placeholder="输入资源类型" borderless value="{{resourceInfo.fileType}}" bindchange="onFileTypeInput" />
              </view> -->
              <t-cell
                class="mb-16"
                title=""
                arrow
                hover
                note="{{resourceInfo.fileType}}"
                bind:click="onResourcePicker"
              />
              <t-picker
                visible="{{resourceVisible}}"
                value="{{resourceValue}}"
                data-key="resource"
                title="选择资源类型"
                cancelBtn="取消"
                confirmBtn="确认"
                usingCustomNavbar
                bindchange="onPickerChange"
                bindcancel="onPickerCancel"
              >
                <t-picker-item options="{{fileTypeList}}" />
              </t-picker>
            </view>
          </view>
          <view class="from-item">
@@ -522,6 +522,7 @@
    </view>
  </view>
</view>
<view class="popupBox">
  <t-popup
    visible="{{protocolShow}}"