From 929e0a70374722c6005937dd58318c0806f9a289 Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Mon, 18 Sep 2023 16:31:23 +0800
Subject: [PATCH] 飞行器视频功能完善

---
 src/components/Jessibuca/Jessibuca.vue |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/src/components/Jessibuca/Jessibuca.vue b/src/components/Jessibuca/Jessibuca.vue
index 3591523..dd383e2 100644
--- a/src/components/Jessibuca/Jessibuca.vue
+++ b/src/components/Jessibuca/Jessibuca.vue
@@ -1,11 +1,5 @@
 <template>
-    <div>
-        <div class="root">
-            <div class="container-shell">
-                <div id="container" ref="container" style="width:200px;height:200px"></div>
-            </div>
-        </div>
-    </div>
+    <div id="container" ref="container" :style="{width,height}"></div>
 </template>
 
 <script setup lang="ts">
@@ -15,6 +9,14 @@
   videoUrl: {
     type: String,
     required: true
+  },
+  width: {
+    type: String,
+    default: '300px'
+  },
+  height: {
+    type: String,
+    default: '200px'
   }
 })
 let jessibuca: null | Jessibuca = null
@@ -171,4 +173,4 @@
 }
 </script>
 
-<style scoped></style>
+<style scoped lang="scss"></style>

--
Gitblit v1.9.3