Commit 06cb4d3d by yangbenyong

左侧tabnav弹性固定200

parent 503898b8
...@@ -119,6 +119,7 @@ layui.use(['table','layer','form','element'],function(){ ...@@ -119,6 +119,7 @@ layui.use(['table','layer','form','element'],function(){
navScroll = $(".tabTopCenter").width() - $(".tabScroll").width(); navScroll = $(".tabTopCenter").width() - $(".tabScroll").width();
if($(this).hasClass("btnleft")){ if($(this).hasClass("btnleft")){
navtop += 200; navtop += 200;
if(navtop>=200)navtop=200;
$(".tabScroll").animate({ $(".tabScroll").animate({
"left": navtop + 'px' "left": navtop + 'px'
......
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