Commit 8e845ae9f21546ad6c352aa9952c6dd597ed7c34

Authored by liuqimichale
1 parent ae9b7fff

默认第一个选中

Showing 1 changed file with 1 additions and 0 deletions
js/index.js
... ... @@ -106,6 +106,7 @@ var fun={
106 106 menuList+='<div class="clearfix"></div>';
107 107 $('#box').append(imgList);
108 108 $('#controls').append(menuList);
  109 + $('#controls').find('li').eq(0).addClass('active')
109 110 }
110 111  
111 112  
... ...