diff --git a/pages/plugins/video/components/search.vue b/pages/plugins/video/components/search.vue index 380f5b45..77e7ee1f 100644 --- a/pages/plugins/video/components/search.vue +++ b/pages/plugins/video/components/search.vue @@ -85,7 +85,6 @@ export default { display: flex; flex-direction: row; align-items: center; - background: #fff; } /* 搜索框 */ .search-bar { @@ -124,17 +123,18 @@ input { color: #333333; line-height: 40rpx; padding: 16rpx 30rpx 16rpx 20rpx; - background: blue; } .search-mask { position: absolute; top: 0; left: 0; + //#ifdef APP-NVUE + width: 750rpx; + //#endif //#ifndef APP-NVUE width: 100%; //#endif height: 80rpx; z-index: 99; - background: red; } \ No newline at end of file diff --git a/pages/plugins/video/detail/detail.nvue b/pages/plugins/video/detail/detail.nvue index c094e904..c6d5322b 100644 --- a/pages/plugins/video/detail/detail.nvue +++ b/pages/plugins/video/detail/detail.nvue @@ -834,7 +834,7 @@ // 检查视频上下文是否存在 const videoContext = this.create_video_contexts[currentIndex] || this.video_contexts[currentIndex]; if (!videoContext) { - console.warn(`当前索引 ${currentIndex} 无可用视频上下文`); + console.warn(`当前索引 ${currentIndex} 无可用视频上下文`); e.stopPropagation(); return; } @@ -846,14 +846,14 @@ // 暂停当前视频 try { videoContext.pause(); - } catch (error) { + } catch (error) { e.stopPropagation(); console.warn('暂停视频失败:', error); } } else { // 播放当前视频 this.video_play_event(videoContext); - } + } e.stopPropagation(); } catch (error) { console.error('toggle_play_pause error:', error); @@ -1971,7 +1971,7 @@ .play-icon { position: absolute; - top: 0; + top: 0; left: 0; pointer-events: none; }