Commit f5dc5d5f by doszhang

dos

parent 0fe214c0
......@@ -176,7 +176,7 @@ input::-webkit-input-placeholder {
background-size: 100%;
}
.question-page .btn-submit {
.question-page .btn-submit:active {
background: url(../image2/question-btn-submit-active.png) left top no-repeat;
background-size: 100%;
}
......
......@@ -137,26 +137,8 @@ $(document).ready(function () {
$('.rule-page .btn-back').on('click', hideRule);
//滚动条
$('.rule-block').on('scroll', ruleScroll);
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);
//解决移动端:active伪类失效
document.body.addEventListener('touchstart', function () {}, false);
$(".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