<div id="scroll" class="scroll">
<div id="modal-body" class="modal-body">內容</div>
</div>.scroll { position: relative; line-height: 1.6; height: 5rem;
} .modal-body { line-height: 1.6; padding: 10px 0; font-size: 120%; overflow-y: scroll; -webkit-overflow-scrolling: touch;
}$("#rule").on("click", function () {
$(".modal").show(); if (!haveScroll) { new IScroll("#scroll", { mouseWheel: true, scrollY: true, tap: true
});
haveScroll = true;
}
});安卓沒問題可以滑動,可是IOS滑不動,請問是怎么回事呀,求指導
iscroll IOS無法滑動
交互式愛情
2018-09-02 09:09:53