闫增涛
昨天 d7b7435558c15789e9a2c650389cd28ce88d443b
packageDomain/pages/resourceDetails/myAudio/index.wxml
@@ -2,7 +2,7 @@
<template is="skeleton" wx:if="{{loading}}" />
<view wx:if="{{!hidden}}">
  <view style="width: 100%; height: {{barHeight}}px; "></view>
  <!-- <view style="width: 100%; height: {{barHeight}}px; "></view>
  <view class="nacigationBar" style="width: 100%; height: {{navBarHeight}}px;">
    <view>
      <t-icon
@@ -13,23 +13,18 @@
      />
    </view>
    <view class="navbar-title">资源详情-音频</view>
  </view>
  </view> -->
  <view class="audioPlayerBox">
    <view
      class="audioBackground"
      style="background-image: url('https://jsek.bnuic.com/home/image/video-bg.png');"
      style="background-image: url('https://jsek.bnuic.com/home/image/video-bg.png')"
    >
      <image src="/static/images/resourceDetailsMyAudio/cd.png" alt="" />
    </view>
    <!-- 视频播放的按钮 -->
    <view class="bigFunctionBox">
      <view class="functionBox">
        <!-- 左切换 -->
        <!-- <view class="leftSwitchBox  color" bind:tap="onLeftSwitch">
        <t-icon name="previous" size="24" />
      </view> -->
        <!-- 暂停播放 -->
        <view
          class="audioIconBox color"
@@ -58,10 +53,6 @@
          value="{{myAudioPos}}"
          bindchange="hanle_slider_change"
        ></slider>
        <!-- 右切换 -->
        <!-- <view class="rightSwitchBox color" bind:tap="onRightSwitch">
        <t-icon name="next" size="24" />
      </view> -->
        <!-- 时间 -->
        <view class="timeBox">
@@ -138,36 +129,46 @@
        style="{{tabPanelstyle}}"
        style="width: 750rpx"
      >
        <view class="wrapper">
          <t-collapse value="{{activeValues}}" bind:change="handleChange">
        <scroll-view
          style="height: 700rpx"
          scroll-y
          scroll-into-view="{{toView}}"
        >
          <view class="wrapper">
            <!-- <t-collapse value="{{activeValues}}" bind:change="handleChange">
            <t-collapse-panel header="{{parentName}}" value="{{0}}" expandIcon>
              <view class="outsideDetailsName">
                <view
                  class="detailsName"
                  wx:for="{{threeLeveData}}"
                  wx:key="index"
                  wx:for-item="item"
                  wx:for-index="index"
                  bind:tap="onVideo"
                  data-item="{{item}}"
                  data-index="{{index}}"
                >
                  <view
                    style="color: {{selectedId == index ? '#ff6c00' : '#000'}} "
                    >{{item.name}}</view
                  >
                </view>
              </view>
            </t-collapse-panel>
          </t-collapse>
        </view>
          </t-collapse> -->
            <view class="outsideDetailsName">
              <view class="titleBox"> {{parentName}}</view>
              <view
                class="detailsName"
                wx:for="{{threeLeveData}}"
                wx:key="index"
                wx:for-item="item"
                wx:for-index="index"
                bind:tap="onVideo"
                data-item="{{item}}"
                data-index="{{index}}"
                id="{{selectedId == index ? 'activeName'+index : ''}}"
              >
                <view
                  style="color: {{selectedId == index ? '#ff6c00' : '#000'}} "
                  >{{item.name}}</view
                >
              </view>
            </view>
          </view>
        </scroll-view>
      </t-tab-panel>
      <!-- 笔记展示 -->
      <t-tab-panel label="笔记" value="1" style="{{tabPanelstyle}}">
        <view class="wrapper">
          <t-collapse value="{{activeValues}}" bind:change="handleChange">
            <view wx:if="{{noteList.length == 0}}" class="noData">
              <t-empty icon="folder-open" description="暂无数据" />
              <!-- <t-empty icon="folder-open" description="暂无数据" /> -->
              <empty />
            </view>
            <t-collapse-panel
@@ -283,3 +284,12 @@
    />
  </t-popup>
</view>
<t-dialog
class="prompDialog"
  visible="{{promptVisable}}"
  title="提示"
  content="试听结束,请购买正式资源"
  confirm-btn="{{ confirmBtn }}"
  bind:confirm="closePromapDialog"
/>