From e40b46a888c16de9407b2df295ea08722ff81636 Mon Sep 17 00:00:00 2001 From: jinhhanhan <1683105490@qq.com> Date: Thu, 13 Aug 2026 10:20:27 +0800 Subject: [PATCH 1/7] =?UTF-8?q?chore=EF=BC=9A=E8=A7=86=E9=A2=91=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E6=92=AD=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .local.config.js | 6 +++- components-diy/diy-video-list.vue | 33 ++++++++++++------- components-diy/diy-video.vue | 7 ++-- .../ns-video-player-popup.vue | 10 ++++++ .../goods-detail-view/goods-detail-view.vue | 3 +- 5 files changed, 43 insertions(+), 16 deletions(-) diff --git a/.local.config.js b/.local.config.js index e78d1de..c272e47 100644 --- a/.local.config.js +++ b/.local.config.js @@ -160,6 +160,10 @@ const localDevConfig = ({ uniacid: 228, domain: 'https://5g.aigc-quickapp.com/', }, + '2797': { // + uniacid: 2797, + domain: 'https://xcx.aigc-quickapp.com/', + }, // })['5g-237']; // 商品分类,没有立即咨询文字 // })['5g-97']; // 大宗商品贸易,支持自定义字体大小、颜色 // })['5g-50']; // 燃气安全产品机器人,购物车无反应 @@ -173,7 +177,7 @@ const localDevConfig = ({ // })['2724']; // 生物菌肥 // })['2811']; // 选择要使用的环境配置 // })['local-11']; // 选择要使用的环境配置 -})['228']; // 本地 +})['2797']; // 本地 // })['local-2']; // 本地 // })['local-11']; // 本地 // })['1-test']; // test diff --git a/components-diy/diy-video-list.vue b/components-diy/diy-video-list.vue index 2b651f2..b21db73 100644 --- a/components-diy/diy-video-list.vue +++ b/components-diy/diy-video-list.vue @@ -54,17 +54,21 @@ - @@ -144,7 +148,7 @@ export default { // 弹窗视频容器样式 popupVideoStyle() { - let style = 'position:fixed;width:100%;left:0;'; + let style = 'position:fixed;width:60%;left:50%;margin-left:-30%;'; const defaultRatio = 9 / 16; let ratio = defaultRatio; @@ -157,15 +161,15 @@ export default { if (isPortrait) { style += 'top:50%;transform:translateY(-50%);'; } else { - style += 'top:20%;'; + style += 'top:25%;'; } // #ifdef H5 - style += 'padding-top: ' + (ratio * 100) + '%;'; + style += 'height:0;padding-top: ' + (ratio * 100) + '%;'; // #endif // #ifdef MP-WEIXIN - style += 'padding-top: ' + (ratio * 100) + '%;'; + style += 'height:0;padding-top: ' + (ratio * 100) + '%;'; // #endif // #ifdef MP-HARMONY @@ -178,7 +182,12 @@ export default { methods: { // 显示视频播放弹窗 showVideo(item) { - this.video_url = item.videoUrl; + let url = item.videoUrl || ''; + // 处理视频URL:完整链接直接使用,否则通过 $util.img() 转换 + if (url && url.indexOf('http://') !== 0 && url.indexOf('https://') !== 0) { + url = this.$util.img(url); + } + this.video_url = url; this.popupVideoWidth = 0; this.popupVideoHeight = 0; this.$refs.videoPopup.open(); diff --git a/components-diy/diy-video.vue b/components-diy/diy-video.vue index f770f7a..3638023 100644 --- a/components-diy/diy-video.vue +++ b/components-diy/diy-video.vue @@ -11,6 +11,9 @@ :style="videoWarpCss" controls preload="metadata" + playsinline + webkit-playsinline + x5-playsinline @loadedmetadata="onVideoLoaded" @click="handlerClick(videoUrl)" > @@ -106,11 +109,11 @@ export default { } // #ifdef H5 - style += 'padding-top: ' + (ratio * 100) + '%;'; + style += 'height:0;padding-top: ' + (ratio * 100) + '%;'; // #endif // #ifdef MP-WEIXIN - style += 'padding-top: ' + (ratio * 100) + '%;'; + style += 'height:0;padding-top: ' + (ratio * 100) + '%;'; // #endif // #ifdef MP-HARMONY diff --git a/components/ns-video-player-popup/ns-video-player-popup.vue b/components/ns-video-player-popup/ns-video-player-popup.vue index e698390..7854046 100644 --- a/components/ns-video-player-popup/ns-video-player-popup.vue +++ b/components/ns-video-player-popup/ns-video-player-popup.vue @@ -9,9 +9,13 @@ {{ $lang('components.ns-video-player-popup.videoUrlNotExist') }} @@ -22,6 +26,8 @@ diff --git a/pages_tool/form/formdata.vue b/pages_tool/form/formdata.vue index 2f371e6..9e6136c 100644 --- a/pages_tool/form/formdata.vue +++ b/pages_tool/form/formdata.vue @@ -420,9 +420,22 @@ page { background: #fff; } +// iOS 兼容:确保页面内容区域可滚动,避免提交按钮被推出屏幕后无法访问 +.page { + min-height: 100vh; + // iOS Safari / WebView 需要显式开启 overflow 才能正确滚动 + overflow-y: auto; + -webkit-overflow-scrolling: touch; // iOS 惯性滚动 + box-sizing: border-box; +} + .system-form-wrap { - overflow: hidden; + // 移除 overflow: hidden,避免 iOS 上 textarea 撑开高度时裁剪掉提交按钮 + // 改用 overflow-visible 让内容自然流动,提交按钮始终可见 + overflow: visible; margin: 0 0 60rpx 0; + // 确保 iOS 上表单区域有足够的底部空间显示提交按钮 + padding-bottom: env(safe-area-inset-bottom, 40rpx); } // 穿透 diy-form 包装层:消除其自带的 10rpx 圆角与白色背景, From 83b253bced864961586b170421a004c100d336d0 Mon Sep 17 00:00:00 2001 From: jinhhanhan <1683105490@qq.com> Date: Fri, 14 Aug 2026 11:21:05 +0800 Subject: [PATCH 5/7] =?UTF-8?q?chore=EF=BC=9A=E8=A1=A8=E5=8D=95=E9=B8=BF?= =?UTF-8?q?=E8=92=99=E5=81=9A=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .local.config.js | 2 +- pages_tool/form/formdata.vue | 59 +++++++++++++++++++++++++++++++----- 2 files changed, 53 insertions(+), 8 deletions(-) diff --git a/.local.config.js b/.local.config.js index 1430734..2a94f2a 100644 --- a/.local.config.js +++ b/.local.config.js @@ -181,7 +181,7 @@ const localDevConfig = ({ // })['2724']; // 生物菌肥 // })['2811']; // 选择要使用的环境配置 // })['local-11']; // 选择要使用的环境配置 -})['1']; // 本地 +})['192.168.8.118-1']; // 本地 // })['local-2']; // 本地 // })['local-11']; // 本地 // })['1-test']; // test diff --git a/pages_tool/form/formdata.vue b/pages_tool/form/formdata.vue index 9e6136c..dac9c20 100644 --- a/pages_tool/form/formdata.vue +++ b/pages_tool/form/formdata.vue @@ -1,5 +1,10 @@