From c99f9976a5ef9d8974105feb8fc0580a10adf98c Mon Sep 17 00:00:00 2001
From: QYF-GitLab1 <1940665526@qq.com>
Date: 星期一, 23 十二月 2024 14:58:49 +0800
Subject: [PATCH] 111

---
 packageDomain/pages/resourceDetails/myVideo/index.wxml |   43 ++++++++++++++++++++++++++++---------------
 1 files changed, 28 insertions(+), 15 deletions(-)

diff --git a/packageDomain/pages/resourceDetails/myVideo/index.wxml b/packageDomain/pages/resourceDetails/myVideo/index.wxml
index 6216b31..6046aab 100644
--- a/packageDomain/pages/resourceDetails/myVideo/index.wxml
+++ b/packageDomain/pages/resourceDetails/myVideo/index.wxml
@@ -1,19 +1,25 @@
-<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: 100%; height: {{navBarHeight}}px;">
-    <view>
-      <t-icon name="chevron-left" size="30" data-name="{{item}}" bind:click="goBack" />
-    </view>
-    <view class="navbar-title">璧勬簮璇︽儏-瑙嗛</view>
-  </view> -->
+<view>
   <!-- 瑙嗛  -->
   <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="{{videoLoading}}" class="video-loading">
+      <t-loading
+        theme="circular"
+        size="60rpx"
+        class="wrapper"
+        loading="{{videoLoading}}"
+      />
+    </view>
+    <t-video
+      id="tvd"
+      src="{{showDataVod}}"
+      style="width: 100%"
+      bindvideoloaded="loadedmetadata"
+      bindtimeupdate="timeUpdate"
+      wx:if="{{!videoLoading}}"
+    >
+    </t-video>
   </view>
 
   <view wx:if="{{!videoChange}}" class="videoSubsidiaryBox">
@@ -26,7 +32,6 @@
     <t-tabs
       defaultValue="{{0}}"
       bind:change="onTabsChange"
-      bind:click="onTabsClick"
       t-class="custom-tabs"
       t-class-content="custom-panel"
       split="{{false}}"
@@ -38,7 +43,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 +74,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

--
Gitblit v1.9.1