Authored by 毕凯

code review by liangzhifeng

... ... @@ -19,9 +19,9 @@ myImage.onload = function() {
$userAvatar.css('background-image', 'url(' + avatar + ')');
};
$('.yoho-page').on('touchstart', '.list-item, .type-item', function() {
$('.yoho-page').on('touchstart', '.list-item, .type-item, .order-title', function() {
$listItem.removeClass('highlight');
$(this).addClass('highlight');
}).on('touchend touchcancel', '.list-item, .type-item', function() {
}).on('touchend touchcancel', '.list-item, .type-item, .order-title', function() {
$(this).removeClass('highlight');
});
... ...
... ... @@ -136,6 +136,10 @@
color: #e0e0e0;
float: right;
}
&.highlight {
background: #eee;
}
}
.order-type {
... ...