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