111
QYF-GitLab1
2024-12-23 c99f9976a5ef9d8974105feb8fc0580a10adf98c
packageDomain/pages/resourceDetails/myAudio/index.wxml
@@ -1,15 +1,19 @@
<import src="index.skeleton.wxml" />
<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 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> -->
  <view class="audioPlayerBox">
    <view class="audioBackground" style="background-image: url('https://jsek.bnuic.com/home/image/video-bg.png');">
@@ -18,10 +22,7 @@
    <!-- 视频播放的按钮 -->
    <view class="bigFunctionBox">
      <view class="functionBox">
        <!-- 左切换 -->
        <!-- <view class="leftSwitchBox  color" bind:tap="onLeftSwitch">
        <t-icon name="previous" size="24" />
      </view> -->
        <!-- 暂停播放 -->
        <view class="audioIconBox color" style="margin-left: 30rpx; margin-right: 10rpx">
@@ -35,10 +36,7 @@
          </view>
        </view>
        <slider style="width: 300rpx" activeColor="#FF6C00" class="mp-slider-bar" block-size="16" value="{{myAudioPos}}" bindchange="hanle_slider_change"></slider>
        <!-- 右切换 -->
        <!-- <view class="rightSwitchBox color" bind:tap="onRightSwitch">
        <t-icon name="next" size="24" />
      </view> -->
        <!-- 时间 -->
        <view class="timeBox">
@@ -46,7 +44,6 @@
          <view class="color" style="margin: 0 10rpx">/</view>
          <view class="duration-time color"> {{myAudioDuration}} </view>
        </view>
        <!-- bind:tap="onSpeed" -->
        <view class="publicBtn color">
@@ -56,10 +53,10 @@
            <t-icon style="margin-top: 10rpx" wx:else name="caret-down-small" size="14" bind:click="onIconTap" />
          </view>
          <view class="multipleBox" wx:if="{{showDropdown}}">
            <view style="margin: 10rpx 0;" wx:if="{{speed != 0.5}}" bind:tap="smallSpeed">x0.5</view>
            <view style="margin: 10rpx 0;" wx:if="{{speed != 1}}" bind:tap="smallSpeeDmultiple">x1</view>
            <view style="margin: 10rpx 0;" wx:if="{{speed != 1.5}}" bind:tap="centreSpeed">x1.5</view>
            <view style="margin: 10rpx 0;" wx:if="{{speed != 2}}" bind:tap="bigSpeed">x2</view>
            <view style="margin: 10rpx 0" wx:if="{{speed != 0.5}}" bind:tap="smallSpeed">x0.5</view>
            <view style="margin: 10rpx 0" wx:if="{{speed != 1}}" bind:tap="smallSpeeDmultiple">x1</view>
            <view style="margin: 10rpx 0" wx:if="{{speed != 1.5}}" bind:tap="centreSpeed">x1.5</view>
            <view style="margin: 10rpx 0" wx:if="{{speed != 2}}" bind:tap="bigSpeed">x2</view>
          </view>
        </view>
      </view>
@@ -73,18 +70,17 @@
      <!-- 资源列表 -->
      <t-tab-panel label="资源列表" value="0" style="{{tabPanelstyle}}" style="width: 750rpx">
        <view class="wrapper">
          <t-collapse value="{{activeValues}}" bind:change="handleChange">
          <!-- <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>
          </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}}">
              <view style="color: {{selectedId == index ? '#ff6c00' : '#000'}} ">{{item.name}}</view>
            </view>
          </view>
        </view>
      </t-tab-panel>
      <!-- 笔记展示 -->
@@ -92,7 +88,8 @@
        <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 value="{{item.id}}" expandIcon wx:for="{{noteList}}">
@@ -120,7 +117,8 @@
    <!-- 记笔记 -->
    <view class="takeNotes" data-key="showCloseBtn" bind:tap="showDialog">
      <view class="takeNotesLining">
        <image src="/static/images/resourceDetails/jibiji/icon@2x.png" mode="" /> 记笔记
        <image src="/static/images/resourceDetails/jibiji/icon@2x.png" mode="" />
        记笔记
      </view>
    </view>
    <view class="buttonBox"></view>