默认关闭预约模式、商品详情js优化

This commit is contained in:
devil 2020-05-09 22:42:12 +08:00
parent 91790f4a33
commit 9a7c582ae6
2 changed files with 9 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -677,11 +677,14 @@ $(function() {
// 浏览器窗口实时事件
$(window).resize(function()
{
// 规格显示/隐藏处理
if($(window).width() < 1025)
if($(document.activeElement).attr('id') != 'text_box')
{
PoptitClose();
} else {
PoptitPcShow();
// 规格显示/隐藏处理
if($(window).width() < 1025)
{
PoptitClose();
} else {
PoptitPcShow();
}
}
});