//点击展开、收起
window.onload=function(){
var current=document.getElementsByTagName('li')[0];
document.body.addEventListener('touchend', function(e) {
var src = e.target;
var reg = /toggle/gi;
var upReg = /up/gi;
if(reg.test(src.className)) {
src.className = upReg.test(src.className) ? 'toggle down' : 'toggle up';
src=src.parentNode;
src.className = src.className === 'height' ? '' : 'height';
}
});
}