Commit be72cfdb authored by xishifeng's avatar xishifeng

优化

parent 080d094e
...@@ -701,5 +701,5 @@ p{margin: 0;} ...@@ -701,5 +701,5 @@ p{margin: 0;}
align-items: center; align-items: center;
} }
#preview_big_img_div>img{ #preview_big_img_div>img{
height: 98%; max-height: 98%;
} }
...@@ -96,7 +96,7 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function ...@@ -96,7 +96,7 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
e.preventDefault(); e.preventDefault();
e.stopPropagation(); e.stopPropagation();
var _this = $(this); var _this = $(this);
_this.toggleClass('open').addClass('active-main-li').siblings().removeClass('active-main-li'); _this.toggleClass('open').addClass('active-main-li').siblings().removeClass('active-main-li open');
}); });
//隐藏菜单 显示菜单 //隐藏菜单 显示菜单
_doc.on('click', '.width-136-hide', function(e){ _doc.on('click', '.width-136-hide', function(e){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment