From 1f781ae92dcf080449878d7a84a6539a85508b94 Mon Sep 17 00:00:00 2001 From: Dongxian Gu Date: Fri, 12 Jun 2020 23:17:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(Play.vue):=E6=92=AD=E6=94=BE=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E8=87=AA=E9=80=82=E5=BA=94=E7=AA=97=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Play.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/Play.vue b/src/components/Play.vue index 9623143..ff06a5b 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -125,8 +125,8 @@ export default { id: 'xg', lang: 'zh-cn', url: '', - width: 900, - height: 500, + width: '100%', + height: '100%', autoplay: false, videoInit: true, screenShot: true, @@ -501,8 +501,9 @@ export default { align-items: center; } .xgBox{ - width: 900px; + width: 100%; height: 500px; + flex: 1; } .more{ width: 100%;