...
|
...
|
@@ -40,7 +40,8 @@ document.addEventListener('DOMContentLoaded', function() { |
|
|
}, false)
|
|
|
// 删除按钮
|
|
|
aDel[i].index = i;
|
|
|
aDel[i].addEventListener('touchstart', function() {
|
|
|
aDel[i].addEventListener('touchstart', function(e) {
|
|
|
e.preventDefault();
|
|
|
this.innerHTML = '';
|
|
|
this.style.height = '0';
|
|
|
this.style.display = 'none';
|
...
|
...
|
@@ -49,12 +50,14 @@ document.addEventListener('DOMContentLoaded', function() { |
|
|
aDiv[this.index].style.height = '0';
|
|
|
aDiv[this.index].style.display = 'none';
|
|
|
aDiv[this.index].innerHTML = '';
|
|
|
this.addEventListener('transitionend', function() {
|
|
|
this.addEventListener('transitionend', function(e) {
|
|
|
e.preventDefault();
|
|
|
oUl.removeChild(aLi[this.index]);
|
|
|
}, false)
|
|
|
}, false);
|
|
|
aMo[i].index = i;
|
|
|
aMo[i].addEventListener('touchstart', function() {
|
|
|
aMo[i].addEventListener('touchstart', function(e) {
|
|
|
e.preventDefault();
|
|
|
// var adName = document.querySelectorAll('.ad_conMo');
|
|
|
$('.ad_conMo').eq(this.index).css('display', 'block').parents('li').siblings().find('.ad_conMo').css('display', 'none')
|
|
|
|
...
|
...
|
|