Commit 2137b070 by doszhang

dos

parent 060e76ec
......@@ -17,5 +17,6 @@
{:/block}
//js 文件导入
{:block name="js"}
<script src="__CDN__/js/iscroll.js"></script>
<script src="__CDN__/js/common.js"></script>
{:/block}
\ No newline at end of file
......@@ -70,6 +70,8 @@ let checkedRule = false;
//滚动防抖定时器
let timer;
let myScroll;
//记录初始状态下fontsize
const fontSize = parseFloat($('html').css('fontSize'));
......@@ -92,7 +94,7 @@ let posterCtx;
$('input[name=tel]').attr('type', 'tel');
$(document).ready(function () {
$('.page:not(.rule-page .rule-block)').on('touchmove', function () {
$('.page').on('touchmove', function () {
return false;
});
$("input").on("blur", function () {
......@@ -198,6 +200,10 @@ function ruleScroll() {
}
function loaded() {
myScroll = new IScroll('#wrapper');
}
function hideRule() {
$('.rule-page').hide();
}
......
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