Commit 81a83604 by doszhang

dos

parent 1f4fe18a
......@@ -57,8 +57,20 @@ $(document).ready(function () {
$("input").on("blur",function(){
window.scroll(0,0);//失焦后强制让页面归位
});
//显示活动规则
$('.btn-rule').on('click',showRule);
//隐藏活动规则
$('.page1 .btn-close').on('click',hideRule);
});
function hideRule () {
$('.dialog-rule').hide();
}
function showRule () {
$('.dialog-rule').show();
}
function getTranslateDistance(cardinal = 0) {
var wrapInnerTransform = $('.wrap-inner').css('transform');
var wrapInnertop = parseFloat($('.wrap-inner').css('top'));
......
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