Authored by 梁志锋

update

framework @ 119c247f
Subproject commit 75bbc3b075de19f239532f60c5995d06c5f814e2
Subproject commit 119c247f5cf929aa1e059e40609bb16dd6b58f05
... ...
... ... @@ -69,3 +69,13 @@ ccHammer.on('tap', function(e) {
$subLevel.eq(index).removeClass('hide');
}
});
$('.sub-level').bind('touchstart', function(e) {
var $cur = $(e.target);
$cur.addClass('a-highlight');
if ($curClickSubLevel) {
$curClickSubLevel.removeClass('a-highlight');
}
$curClickSubLevel = $cur;
});
\ No newline at end of file
... ...
... ... @@ -99,7 +99,6 @@
background: #fff;
width: 60%;
height: 100%;
overflow: auto;
}
.sub-level {
... ... @@ -126,4 +125,8 @@
color: #000;
}
}
.a-highlight {
text-decoration: underline;
}
}
\ No newline at end of file
... ...