litian
2024-07-10 92a0bff4761945ea8fb7a682915ba342cbb51b8d
packageDomain/pages/resourceDetails/myAudio/index.wxml
@@ -1,18 +1,22 @@
<import src="index.skeleton.wxml" />
<template is="skeleton" wx:if="{{loading}}" />
<view wx:if="{{!hidden}}">
  <view style="width: 100%; height: {{barHeight}}px; "></view>
  <view class="nacigationBar" style="width: 70%; height: {{navBarHeight}}px;">
  <!-- <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('http://182.92.203.7:3007/jsek/website/image/video-bg.png');">
    <view class="audioBackground" style="background-image: url('https://jsek.bnuic.com/home/image/video-bg.png');">
      <image src="/static/images/resourceDetailsMyAudio/cd.png" alt="" />
    </view>
    <!-- 视频播放的按钮 -->
@@ -41,9 +45,11 @@
      </view> -->
        <!-- 时间 -->
        <view class="current-time color">{{myAudioCurrent}} </view>
        <view class="color" style="margin: 0 10rpx">/</view>
        <view class="duration-time color"> {{myAudioDuration}} </view>
        <view class="timeBox">
          <view class="current-time color">{{myAudioCurrent}} </view>
          <view class="color" style="margin: 0 10rpx">/</view>
          <view class="duration-time color"> {{myAudioDuration}} </view>
        </view>
        <!-- bind:tap="onSpeed" -->
        <view class="publicBtn color">
@@ -53,10 +59,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 wx:if="{{speed != 0.5}}" style="margin: 5rpx 0" bind:tap="smallSpeed">x0.5</view>
            <view wx:if="{{speed != 1}}" style="margin: 5rpx 0" bind:tap="smallSpeeDmultiple">x1</view>
            <view wx:if="{{speed != 1.5}}" style="margin: 5rpx 0" bind:tap="centreSpeed">x1.5</view>
            <view wx:if="{{speed != 2}}" style="margin: 5rpx 0" 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>
@@ -66,17 +72,21 @@
  <!-- 标题 -->
  <view class="titleBox">{{titleName}}</view>
  <view class="contentBox">
    <t-tabs defaultValue="{{0}}" bind:change="onTabsChange" bind:click="onTabsClick" t-class="custom-tabs" t-class-content="custom-panel">
    <t-tabs defaultValue="{{0}}" bind:change="onTabsChange" bind:click="onTabsClick" t-class="custom-tabs" t-class-content="custom-panel" split="{{false}}">
      <!-- 资源列表 -->
      <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="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>
            </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>
      <!-- 笔记展示 -->
@@ -84,7 +94,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}}">
@@ -112,9 +123,11 @@
    <!-- 记笔记 -->
    <view class="takeNotes" data-key="showCloseBtn" bind:tap="showDialog">
      <view class="takeNotesLining">
        <image src="/static/images/resourceDetails/jibijii.png" mode="" /> 记笔记
        <image src="/static/images/resourceDetails/jibiji/icon@2x.png" mode="" />
        记笔记
      </view>
    </view>
    <view class="buttonBox"></view>
  </view>
  <!-- 记笔记弹窗 -->