闫增涛
2024-07-29 af2e38d1d72633d03afdb6e75f8d30b7ef0d0aee
packageDomain/pages/resourceDetails/myVideo/index.wxml
@@ -1,7 +1,4 @@
<import src="index.skeleton.wxml" />
<template is="skeleton" wx:if="{{loading}}" />
<view wx:if="{{!hidden}}">
<view>
  <!-- <view style="width: 100%; height: {{barHeight}}px; "></view>
  <view class="nacigationBar" style="width: 100%; height: {{navBarHeight}}px;">
    <view>
@@ -13,7 +10,23 @@
  <view class="videoBox" wx:if="{{videoChange}}">
    <!-- autoplay='false' 是否自动播放 -->
    <!-- <video binderror="videoErrorCallback" src="{{showData}}" play-btn-position='center' object-fit='fill' controls enable-play-gesture enable-auto-rotation></video> -->
    <video src="{{showData}}"></video>
    <view wx:if="{{videoLoaidng}}" class="video-loading">
      <t-loading
        theme="circular"
        size="60rpx"
        class="wrapper"
        loading="{{videoLoaidng}}"
      />
    </view>
    <!-- <video show-center-play-btn="{{false}}" src="{{showData}}" bindloadedmetadata="loadedmetadata" bindtimeupdate="timeUpdate"></video> -->
    <t-video
      id="tvd"
      src="{{showData}}"
      style="width: 100%"
      bindvideoloaded="loadedmetadata"
      bindtimeupdate="timeUpdate"
    >
    </t-video>
  </view>
  <view wx:if="{{!videoChange}}" class="videoSubsidiaryBox">
@@ -26,7 +39,6 @@
    <t-tabs
      defaultValue="{{0}}"
      bind:change="onTabsChange"
      bind:click="onTabsClick"
      t-class="custom-tabs"
      t-class-content="custom-panel"
      split="{{false}}"
@@ -38,7 +50,14 @@
        style="{{tabPanelstyle}}"
        style="width: 750rpx"
      >
        <view class="wrapper">
        <view class="demo-section__content" wx:if="{{loading}}">
          <t-skeleton
            theme="paragraph"
            animation="gradient"
            loading="true"
          ></t-skeleton>
        </view>
        <view class="wrapper" wx:if="{{!loading}}">
          <view class="outsideDetailsName">
            <view class="titleBox">{{parentName}}</view>
            <view
@@ -62,7 +81,8 @@
      <t-tab-panel label="笔记" value="1" style="{{tabPanelstyle}}">
        <view class="wrapper">
          <view wx:if="{{!noteList.length}}" class="noData">
            <t-empty icon="folder-open" description="暂无数据" />
            <!-- <t-empty icon="folder-open" description="暂无数据" /> -->
            <empty />
          </view>
          <t-collapse value="{{activeValues}}" bind:change="handleChange">
            <t-collapse-panel