• 庭好城市
  • 您好,欢迎来到庭好的家装平台!
  • 更新公告
  • 登录
  • 注册
  • 商户入口
    • 设计师
    • 材料商
    • 设计机构
    • 装饰公司
  • 城运中心
  • 客户端下载
    • 庭好的家装APP
    • 庭好的设计师APP
    • 庭好的小程序

      庭好的小程序

      微信扫码找自家设计方案,找全网设计师

    • THD设计软件

庭好的提示

操作成功。

庭好的提示

取消 确定

庭好的提示

我知道了

庭好的提示

稍后再说 立即认证
  • 首页
  • 找我家
  • 找设计
    • 设计师
    • VR方案
  • 家居商城
    • 找商品
    • 全景店铺
    • 找商家
  • 找装修
    • 选装企
    • 选套餐
  • 庭好看社区
    • 推荐
    • 图文攻略
    • 优选方案
    • 晒图晒家
    • 装修日记
    • }; var timeout2; var qrCodeId = null; var checkScanStatus = function(interval, timeout){ if(qrCodeId){ $.post('/member/checkScanStatus',{qrCodeId:qrCodeId},function (resp) { if(resp.state == 1100){ // window.location.href='/index'; window.location.reload() } else if(resp.state == 9999){ clearTimeout(timeout); $('.scancode>img').attr('src', '/Public/pc/img/thdQrcodeLoginExpired.png'); $('.scancode').after('

      刷新二维码

      ') //$('.scantip').html('打开庭好的APP客户端
      扫一扫登录'); return; } else{ if(resp.state == 1102){ if(!$('.scantip').hasClass('scaned')){ $('.scantip').html('扫描成功
      请在"庭好的"APP中点击确认即可登录').addClass('scaned'); } } timeout = setTimeout(function(){ checkScanStatus(interval,timeout); }, interval); } }); } else{ timeout = setTimeout(function(){ checkScanStatus(interval,timeout); }, interval); } } checkScanStatus(1000, timeout2); $('.ajaxFormSms .vcode-get').on('click', function(){ if(!!$(this).attr('disabled')){ return false; } var tel = $('#tel').val(); var that = this; $.post('/member/sendSmsbd',{smsMobile:tel},function (resp) { if(resp.state == 1100){ // console.log(resp); // console.log(resp.state); // console.log(resp.message); BtnCount(that, 60, timeout); } else{ $(that).attr('disabled',false); // console.log(resp); // console.log(resp.state); // console.log(resp.message); $.alertMsg('alert1', resp.message, 2000, true, '.loginall_box'); } }); }) $('.eye').on('click', function(){ if($(this).hasClass('closed')){ $(this).siblings('input[type=password]').attr('type', 'text'); $(this).removeClass('closed').addClass('open'); } else{ $(this).siblings('input[type=text]').attr('type', 'password'); $(this).removeClass('open').addClass('closed'); } }); $('.ajaxFormSms').ajaxForm({ dataType: 'json', beforeSubmit: function () { if(!$('.part_vcode').ValidateRules(true)){ return false; } }, success: function (result) { if(result.state == '1100'){ // window.location.href=result.cityUrl; window.location.reload(); }else{ $.alertMsg('alert1', result.message, 2000, true, '.loginall_box'); } }, error: function () { } }); $('.ajaxFormPass').ajaxForm({ dataType: 'json', beforeSubmit: function () { if(!$('.part_psd').ValidateRules(true)) { return false; } }, success: function (result) { if(result.state == '1100'){ // window.location.href=result.cityUrl; window.location.reload(); }else{ $.alertMsg('alert1', result.message, 2000, true, '.loginall_box'); } }, error: function () { } }); //微信扫码登录 function weixinLogin() { var obj = new WxLogin({ self_redirect:true, id:"js-weixin-login", appid: "wxc27d40bac058da1d", scope: "snsapi_login", redirect_uri: "https%3A%2F%2Fwww.thd99.com%2Fmember%2FwechatQrLoginCode", state: "", style: "black", href: "" }); } })(jQuery, template);