diff --git a/src/component/HomePage/scaleVideo.vue b/src/component/HomePage/scaleVideo.vue index 647c4832..a2c4abb2 100644 --- a/src/component/HomePage/scaleVideo.vue +++ b/src/component/HomePage/scaleVideo.vue @@ -79,9 +79,11 @@ export default defineComponent({ transform: translate(-50%,-50%); width: 80%; height: auto; + max-height: 80vh; position: absolute; video{ width: 100%; + max-height: 80vh; height: 100%; object-fit: contain; } diff --git a/src/views/HomeMain.vue b/src/views/HomeMain.vue index fd00c75c..28d6b87e 100644 --- a/src/views/HomeMain.vue +++ b/src/views/HomeMain.vue @@ -494,12 +494,12 @@ export default defineComponent({ }, //教程 getTutorial(){ - let url = 'https://code-create.com.hk/wp-content/uploads/2024/08/aida_3.0-Manual-0705-CN.pdf' + let url = 'https://code-create.com.hk/wp-content/uploads/2024/10/aida_3.1-Manual-10_21-CN.pdf' if(this.locale == 'ENGLISH'){ - url = 'https://code-create.com.hk/wp-content/uploads/2024/08/aida_3.0-Manual-0705-EN.pdf' - showViewVideo({url:'https://code-create.com.hk/wp-content/uploads/2024/07/AiDA-demo-video_0709_EN.webm'}) + url = 'https://code-create.com.hk/wp-content/uploads/2024/10/aida_3.1-Manual-10_21-EN.pdf' + showViewVideo({url:'https://code-create.com.hk/wp-content/uploads/2024/10/AiDA-demo-video_10_21_EN.mp4'}) }else{ - showViewVideo({url:'https://code-create.com.hk/wp-content/uploads/2024/07/AiDA-demo-video_0709_CN.webm'}) + showViewVideo({url:'https://code-create.com.hk/wp-content/uploads/2024/10/AiDA-demo-video_10_21_CN.mp4'}) } //打开视频 const a = document.createElement('a');