修改搜索显示

master
于肖磊 2026-03-11 11:51:57 +08:00
parent 3ff8c60f1e
commit ac30ac18cc
2 changed files with 7 additions and 7 deletions

View File

@ -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;
}
</style>

View File

@ -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;
}