Commit f46939df by doszhang

dos

parent 30fac786
......@@ -138,14 +138,26 @@ $(document).ready(function () {
//滚动条
$('.rule-block').on('scroll', ruleScroll);
//首页按钮
$('.home-page .btn-next').on('touchstart', {
pic: picUrl + 'home-btn-next-active.png'
}, changeBtnBg);
$('.home-page .btn-next').on('touchend', {
pic: picUrl + 'home-btn-next.png'
}, changeBtnBg);
document.body.addEventListener('touchstart', function () {}, false)
// //首页按钮
// $('.home-page .btn-next').on('touchstart', {
// pic: picUrl + 'home-btn-next-active.png'
// }, changeBtnBg);
// $('.home-page .btn-next').on('touchend', {
// pic: picUrl + 'home-btn-next.png'
// }, changeBtnBg);
// //规则返回按钮
// $('.rule-page .btn-back').on('touchstart', {
// pic: picUrl + 'btn-back-active.png'
// }, changeBtnBg);
// $('.rule-page .btn-back').on('touchend ', {
// pic: picUrl + 'btn-back.png'
// }, changeBtnBg);
$(".index-scroll").on("touchstart", function (e) {
// 判断默认行为是否可以被禁用
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment