跟新教程,dome视频

This commit is contained in:
X1627315083
2024-10-21 09:38:46 +08:00
parent c7d5f25366
commit 1a363799a8
2 changed files with 6 additions and 4 deletions

View File

@@ -79,9 +79,11 @@ export default defineComponent({
transform: translate(-50%,-50%); transform: translate(-50%,-50%);
width: 80%; width: 80%;
height: auto; height: auto;
max-height: 80vh;
position: absolute; position: absolute;
video{ video{
width: 100%; width: 100%;
max-height: 80vh;
height: 100%; height: 100%;
object-fit: contain; object-fit: contain;
} }

View File

@@ -494,12 +494,12 @@ export default defineComponent({
}, },
//教程 //教程
getTutorial(){ 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'){ if(this.locale == 'ENGLISH'){
url = 'https://code-create.com.hk/wp-content/uploads/2024/08/aida_3.0-Manual-0705-EN.pdf' 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/07/AiDA-demo-video_0709_EN.webm'}) showViewVideo({url:'https://code-create.com.hk/wp-content/uploads/2024/10/AiDA-demo-video_10_21_EN.mp4'})
}else{ }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'); const a = document.createElement('a');