彩世界

  • <tr id='yK7u2K'><strong id='yK7u2K'></strong><small id='yK7u2K'></small><button id='yK7u2K'></button><li id='yK7u2K'><noscript id='yK7u2K'><big id='yK7u2K'></big><dt id='yK7u2K'></dt></noscript></li></tr><ol id='yK7u2K'><option id='yK7u2K'><table id='yK7u2K'><blockquote id='yK7u2K'><tbody id='yK7u2K'></tbody></blockquote></table></option></ol><u id='yK7u2K'></u><kbd id='yK7u2K'><kbd id='yK7u2K'></kbd></kbd>

    <code id='yK7u2K'><strong id='yK7u2K'></strong></code>

    <fieldset id='yK7u2K'></fieldset>
          <span id='yK7u2K'></span>

              <ins id='yK7u2K'></ins>
              <acronym id='yK7u2K'><em id='yK7u2K'></em><td id='yK7u2K'><div id='yK7u2K'></div></td></acronym><address id='yK7u2K'><big id='yK7u2K'><big id='yK7u2K'></big><legend id='yK7u2K'></legend></big></address>

              <i id='yK7u2K'><div id='yK7u2K'><ins id='yK7u2K'></ins></div></i>
              <i id='yK7u2K'></i>
            1. <dl id='yK7u2K'></dl>
              1. <blockquote id='yK7u2K'><q id='yK7u2K'><noscript id='yK7u2K'></noscript><dt id='yK7u2K'></dt></q></blockquote><noframes id='yK7u2K'><i id='yK7u2K'></i>
                西安菲格︻美安全防护装备有限公司欢迎您。
                咨询热线:13720778794

                案例展示

                联系我们
                友情链接:
                77515 效果监测
                最近浏览记录:
                • 加载中
                有效记录 77515
                在线咨询

                快速留言

                QQ咨询

                咨询热线

                13720778794

                您→正与客服西安菲格美安全防护装备有限公司对话中 
                发送

                点击免费通话

                ' }); }); setTimeout(function () { var chat_s = '
                 23:13:18

                亲,您好,非常高兴为您服ω 务,有什么需要咨询的,我们在线为您解答,24小时人工服务?

                '; $('.stoll').append(chat_s); },2000); } function showmessage(w){ layui.use(['layer', 'form','jquery','element'], function() { var layer = layui.layer , form = layui.form , $ = layui.jquery , element = element; layer.open({ title:'', type: 1, skin: 'showmessage-form', //加上边框 area: ['510px', '200px'], //宽高 content: '

                * 请在此输入您的联系电话,我们将尽快与您联系。

                ' }); }) } function phone_wechat(p) { var phone = $('#'+p).val(); if(!checkphone(phone)){ errorMsg('请检查手机号'); return false; } ajax('phone='+phone, '/index/index/message.html', function (res) { if (typeof res === "undefined") { errorMsg('服务器↓错误'); } else { if (res.code) { rightMsg(res.msg); $("input[name='phone']").val(''); } else { errorMsg(res.msg); } } return false; }); return false; } function ajax(d,u,call) { if (typeof u === 'undefined'){ u = '/member/post.php'; } $.ajax({ type: 'post', url: u, dataType: 'json', data: d, success: function (data) { if (typeof call === "function") { call(data); } else { if (data.code) { rightMsg(data.msg,data.url); } else { errorMsg(data.msg); } } }, error: function (xhr, type) { if (typeof call === "function") { call(); } else { errorMsg('出错了'); } } }); } function errorMsg(m,u) { showmsg(m,u,2); } function rightMsg(m,u) { showmsg(m,u,1); } function showmsg(m,u,i) { layui.use(['layer'], function() { var layer = layui.layer; layer.ready(function () { layer.msg(m, {icon: i}); if (u) { setTimeout(function () { location.href = u; }, 2000) } }) }) } var kid = 1; function send_now(){ var con = $('#editor').val(); if($.trim(con) == ''){ return false; } if($('.send-btn').text() === '发送...'){ return false; } $('.send-btn').addClass('on'); $('.send-btn').text('发送...'); var myDate = new Date(); var h = myDate.getHours(); //获取当前小时数(0-23) var m = myDate.getMinutes(); //获取当【前分钟数(0-59) var s = myDate.getSeconds(); //获取当前秒数(0-59) var hms = h+':'+m+':'+s; var chat_str ='
                 '+hms+'
                '+con+'
                ' $('.stoll').append(chat_str); ($('#stoll').children(".message:last-child")[0]).scrollIntoView(); ajax({'content':con,'kid':kid}, '/index/index/chat.html', function (res) { $('.send-btn').text('发送'); $('.send-btn').removeClass('on'); if (typeof res === "undefined") { errorMsg('服务器错误◎'); } else { if (res.code == 1) { kid ++; $('#editor').val(' '); setTimeout(function () { $('.stoll').append(res.data); },5000); setTimeout(function () { ($('#stoll').children(".message:last-child")[0]).scrollIntoView(); },5300); //rightMsg(res.msg); } else if(res.code == -1){ //layer.closeAll(); win1(); }else{ errorMsg(res.msg); } } }); return false; } function win1() { if ($(".extra-1").length > 0) return false; layui.use(['layer', 'form','jquery','element'], function() { var form = layui.form; layer.open({ type: 1, anim: 5, title: '', closeBtn: 1, skin: 'tc tc-1', shade: 0, area: ['480px', '316px'], content: '
                提交微信
                提交手机
                ' }); form.render(); $(".tc-1 .layui-layer-content").fadeIn(); setTimeout(function () { $(".layui-layer-close").fadeIn(); }, 1500); //animateCSS('.extra-1', 'fadeInDown'); //animateCSS('.extra-2', 'fadeInDown'); }); } function wechatForm(o) { var v = $("#tc_wechat").val(); if (v === '') { errorMsg('请输入微信号'); return false; } if (isChinese(v)) { errorMsg('微信号不能含有中文'); return false; } ajax($(o).serialize(), '/index/index/message.html', function (res) { if (typeof res === "undefined") { errorMsg('服务器错误'); } else { if (res.code) { rightMsg(res.msg); $('#tc_wechat').val(''); } else { errorMsg(res.msg); } } }); return false; } document.onkeydown = function (event) { var e = event || window.event; if (e && e.keyCode == 13) { //回车键的键值为13 send_now() } }; function phoneForm(o) { var v = $("#tc_phone").val(); if (v === '') { errorMsg('请输入手机号'); return false; } if (!checkphone(v)) { errorMsg('请输入正确的手机号'); return false; } ajax($(o).serialize(), '/index/index/message.html', function (res) { if (typeof res === "undefined") { errorMsg('服务器错误'); } else { if (res.code) { rightMsg(res.msg); $('#tc_phone').val(''); } else { errorMsg(res.msg); } } }); return false; } /** * 检测手〗机号 * @param m string 手机号 * @returns {boolean} */ function checkphone(m){ var pattern = /^13[0-9]{9}$|14[0-9]{9}|15[0-9]{9}$|16[0-9]{9}$|17[0-9]{9}$|18[0-9]{9}|19[0-9]{9}$/; if(!pattern.test(m)){ return false; } return true; } function isChinese(str){ if(/^[\u3220-\uFA29]+$/.test(str)){ return true; }else{ return false; } } $(function () { $(window).scroll(function(){ if ($(window).scrollTop()>100){ $("#back-to-top").fadeIn(1500); } else { $("#back-to-top").fadeOut(1500); } }); //当点击跳转链接后,回到页面顶部位置 $("#back-to-top").click(function(){ $('body,html').animate({scrollTop:0},1000); return false; }); })