Browse Source

显示加载中

liushengqiang 1 year ago
parent
commit
4de9fd04bb
1 changed files with 8 additions and 1 deletions
  1. 8 1
      src/views/courseware-play/index.tsx

+ 8 - 1
src/views/courseware-play/index.tsx

@@ -868,7 +868,14 @@ export default defineComponent({
 
                     {m.type === 'VIDEO' && (
                       <Transition name="van-fade">
-                        {!m.isprepare && (
+                        {/* {!m.isprepare && (
+                          <div class={styles.loadWrap}>
+                            <Vue3Lottie
+                              style={{ width: '100%', height: '100%' }}
+                              animationData={playLoadData}></Vue3Lottie>
+                          </div>
+                        )} */}
+                        {data.videoState !== 'play' && (
                           <div class={styles.loadWrap}>
                             <Vue3Lottie
                               style={{ width: '100%', height: '100%' }}