From 483219758640876f468a8c5909a4cf407f2430ab Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Wed, 9 Oct 2024 10:50:00 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=A7=A3=E5=86=B3=E8=A7=86=E9=A2=91=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 8 ++++---- components/diy/video.vue | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/App.vue b/App.vue index e3a9bff7..c0ae5a28 100644 --- a/App.vue +++ b/App.vue @@ -7,12 +7,12 @@ data: { // 基础配置 // 数据接口请求地址 - // request_url: 'http://shopxo.com/', - request_url:'https://new.shopxo.vip/', + request_url: 'http://shopxo.com/', + // request_url:'https://new.shopxo.vip/', // 静态资源地址(如系统根目录不在public目录下面请在静态地址后面加public目录、如:https://d1.shopxo.vip/public/) - // static_url: 'http://shopxo.com/', - static_url:'https://new.shopxo.vip/', + static_url: 'http://shopxo.com/', + // static_url:'https://new.shopxo.vip/', // 系统类型(默认default、如额外独立小程序、可与程序分身插件实现不同主体小程序及支付独立) system_type: 'default', diff --git a/components/diy/video.vue b/components/diy/video.vue index 60ad57cb..04d1606c 100644 --- a/components/diy/video.vue +++ b/components/diy/video.vue @@ -41,6 +41,8 @@ init() { const new_content = this.propValue.content || {}; const new_style = this.propValue.style || {}; + // 视频比例 + this.get_video_height(new_content.video_ratio); this.setData({ video_img: new_content.video_img.length > 0 ? new_content.video_img[0].url : '', video: new_content.video.length > 0 ? new_content.video[0].url : '',