// 禁用双指放大 document.documentElement.addEventListener('touchstart', function (event) {if (event.touches.length > 1) {event.preventDefault()} }, { passive: false })// 禁用双击放大 var lastTouchEnd = 0 document.documentElement.addEventListener('touchend', function (event) {var now = Date.now()if (now - lastTouchEnd <= 300) {event.preventDefault()}lastTouchEnd = now }, { passive: false })
号码验证
var myPhone = $.trim(18888888888); var tel = /^1[3456789]{1}[0-9]{9}$/; if(!tel.test(myPhone)){layer.msg('手机号码格式不正确!'); return false; }
倒计时
// 调用 getCountTime($('#sendyzm_top_btn'));//倒计时 函数 $('#sendyzm_top_btn').css('background', '#ec842f'); function getCountTime(obj) {if (countdown == 0) {obj.attr('disabled', false);obj.html("发送验证码");countdown = 60;$('#sendyzm_top_btn').css('background', '#ec842f');return;} else {obj.attr('disabled', true);obj.html("(" + countdown + ")秒后重试");countdown--;$('#sendyzm_top_btn').css('background', '#a9abac')}setTimeout(function () {getCountTime(obj)}, 1000) };
官网维修点查询地址
官方维修服务点
维修点售后服务中心
售后服务网点
售后维修需要多久
手表维修地址在哪