双$$是因为用了framework7$$('.drop-menu-backdrop').on('click', function () {
$$('#open_drop_menu').removeClass('open').find('i').text('keyboard_arrow_down');
$$('.drop-menu').css('height', 0);
$$('.drop-menu-backdrop').hide();
});
$$('.drop-menu').on('click', 'ul>li', function () { var _this = $$(this);
_this.addClass('active');
_this.siblings().removeClass('active');
$$('.drop-menu-backdrop').click(); // $$('.drop-menu-backdrop').trigger('click');});就$$('.drop-menu-backdrop').click(); 这一句为什么执行不了呢,换成trigger也不行?在浏览器console里是能执行的。求前辈解惑~!感谢
添加回答
举报
0/150
提交
取消