Selaa lähdekoodia

Merge branch '2025北京诚祥-家政版' of https://gogs.mtavip.com/wangguoyu/uniProject into 2025北京诚祥-家政版

tanxue 3 viikkoa sitten
vanhempi
commit
e3a9eaac31
1 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. 4 2
      pages/client/Kecheng/study.vue

+ 4 - 2
pages/client/Kecheng/study.vue

@@ -6,7 +6,7 @@
 			@play-pause="onPause" @play-timeupdate="onTimeupdate"></videoPlayVue> -->
 
 		<video v-if="showVideo" :src="videoUrl" :poster="videoPoster" controls class="phone-video-box"
-			@play="onVideoPlay" @pause="onVideoPause" @ended="onVideoEnd" @error="onVideoError" id="myVideo"></video>
+			@play="onVideoPlay" @pause="onVideoPause" @ended="onVideoEnd" @error="onVideoError" id="myVideo" ></video>
 
 		<!-- 视频背景图 -->
 		<view v-else class="phone-video-box master-image" :style="{ backgroundImage: 'url(' + imgsArr.videoBj + ')' }">
@@ -293,10 +293,12 @@
 				}
 				console.log('data', data);
 				this.curPlayData = data;
+				
+				//this.videoUrl = 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/2minute-demo.mp4'
+				
 				kechengApi.getVideoId({
 					videoId: data.url
 				}).then(res => {
-
 					this.videoUrl = res.data
 					console.log('res', res);
 					// const progress = data.curProcess || 0;