CINXE.COM

Register - ECHEMI

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Register - ECHEMI</title> <link rel="canonical" href="https://i.echemi.com/register.html" /> <script> const isGoNative = navigator.userAgent.indexOf("gonative") >= 0; if (isGoNative) { const elements = document.getElementsByClassName("browser-only") while(elements.length > 0) { elements[0].parentNode.removeChild(elements[0]); } } else { const elements = document.getElementsByClassName("native-only") while(elements.length > 0) { elements[0].parentNode.removeChild(elements[0]); } } function googleLoginCallback(response) { console.log("Google Login Callback"); let idToken; if (response.credential) { // browser-only idToken = response.credential; } else { // native-only idToken = response.idToken; } if (idToken) { const { payloadObj } = KJUR.jws.JWS.parse(idToken); if (payloadObj) { const { given_name, family_name, email, sub } = payloadObj; const payload = { email, first_name: given_name, last_name: family_name, provider_type: "google", provider_token: idToken, provider_uid: sub, } var googleUserId = "" $.ajax({ url: "https://www.googleapis.com/oauth2/v3/tokeninfo?id_token="+idToken, dataType:"jsonp", type:"get", success:function(data){ if (data!=null) { googleUserId = data.sub; if (googleUserId!=""){ var email_verified = data.email_verified; if (email_verified == "true"){ snsLoginCheck("4", googleUserId, email, ""); }else{ errorInfoDisplay("EMAIL_IS_NOT_VERIFIED"); } } }else{ errorInfoDisplay("GOOGLE_USER_ID_GET_FAIL"); } } }) // fetch("users/register", { // method: "POST", // headers: { // "Content-Type": "application/json", // }, // body: JSON.stringify(payload), // }).then((data) => data.json() // ).then((data) => { // handleResponse(data); // }).catch((error) => { // console.error(error); // }); } } else { console.log("User cancelled login or did not fully authorize."); } } </script> <link rel="shortcut icon" href="https://static-i.echemi.com/static/common/images/favicon.ico"/> <link rel="bookmark" href="https://static-i.echemi.com/static/common/images/favicon.ico"/> <link rel="icon" href="https://static-i.echemi.com/static/common/images/favicon.ico" type="image/gif" /> <link rel="stylesheet" href="https://static-i.echemi.com/static/pc/css/common.min_v52bdce.css"> <link rel="stylesheet" href="https://static-i.echemi.com/static/pc/css/lc_common_v23f2b2.css"> <link rel="stylesheet" href="https://static-i.echemi.com/static/common/css/public_v82ce45.css"> <link href="https://static-i.echemi.com/static/common/css/fonts/iconfont.min_vb243ee.css" rel="stylesheet"> <script src="https://static-i.echemi.com/static/common/js/jquery-3.3.1.min_v4b57cf.js" type="text/javascript"></script> <script src="https://static-i.echemi.com/static/common/js/loading_v69bb30.js" type="text/javascript"></script> <script src="https://static-i.echemi.com/static/common/js/html5_v0ce8f3.js" type="text/javascript"></script> <script src="https://static-i.echemi.com/static/common/js/i18n_vac29a8.js" type="text/javascript"></script> <script src="https://static-i.echemi.com/static/pc/js/func.min_vc69a7e.js" type="text/javascript"></script> <script src="https://static-i.echemi.com/static/common/js/jquery-ui-1.10.4.min_ve47eed.js"></script> <script src="https://static-i.echemi.com/static/common/js/lazysizes.min_v0812d0.js"></script> <script type="text/javascript"> var webRoot = "https://i.echemi.com"; var webRootAjax = "https://i.echemi.com"; var webRootStaticCdn = "https://static-i.echemi.com/static"; var webRootFileCdn = "https://file.echemi.com/fileManage"; var webRootEn = "https://www.echemi.com"; var webRootZh = "https://zh.echemi.com"; var webRootSupplier = "https://supplier.echemi.com"; var echemiNowLang = "en"; var regExpEmail = "^[a-zA-Z0-9\\.\\-\\+\\_\\&]+@([A-Za-z0-9\\-]+\\.)+[A-Za-z0-9]+$"; var regExpNumber = "^[0-9]+(\\.[0-9]+)?$"; var regExpNotChinese = "^[^\\u4e00-\\u9fa5]*$"; var regExpCasno = "^[0-9]{2,7}-[0-9]{1,2}-[0-9]{1}$"; var regExpPassword = "(?=.*([a-zA-Z].*))(?=.*[0-9].*)[a-zA-Z0-9-*/+.~!@#$%^&*()]{8,18}$"; var regExpTelephone = "^[+]?[\\-0-9]+[0-9]$"; </script> <!-- Google Tag Manager start --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-652012140"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-652012140'); gtag('config', 'UA-163721333-1'); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-PGNVPDK'); </script> <!-- Google Tag Manager end --><!-- Google Tag Manager (noscript) start --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PGNVPDK" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- Google Tag Manager (noscript) end --> <script> //获取用户customerId $.ajax({ url: webRootAjax + "/getUserProfileInfo.do", type: "post", data: { url: window.location.href }, dataType: "json", success: function (json) { if (json.success) { var map = json.map var browseChannelInfo = map.browseChannelInfo var userProfileInfo = map.userProfileInfo if (userProfileInfo.customerType != null && userProfileInfo.customerType != '') { var customerType = userProfileInfo.customerType var customerTypeName = userProfileInfo.customerTypeName var customerTypes = customerType.split(',') var customerTypeNames = customerTypeName.split(',') for (var i = 0; i < customerTypes.length; i++) { var param = { 'event': 'add_user_profile', user_profile: { main_category_id: userProfileInfo.mainCategoryId == null ? '' : userProfileInfo.mainCategoryId, main_category_name: userProfileInfo.mainCategoryName == null ? '' : userProfileInfo.mainCategoryName, channel_type: browseChannelInfo.channel_type == null ? '' : browseChannelInfo.channel_type, channel_name: browseChannelInfo.channel_name == null ? '' : browseChannelInfo.channel_name } } if (i == 0) { param.page_view = 1; } else { param.page_view = 0; } param.customer_id = map.userId == null ? '' : map.userId; if (map.userId != null && map.userId != '') { param.user_id = map.userId; } param.user_profile.customer_type = customerTypes[i]; param.user_profile.customer_type_name = customerTypeNames[i]; dataLayer.push(param); } } else { var param = { 'event': 'add_user_profile', user_profile: { main_category_id: userProfileInfo.mainCategoryId == null ? '' : userProfileInfo.mainCategoryId, main_category_name: userProfileInfo.mainCategoryName == null ? '' : userProfileInfo.mainCategoryName, channel_type: browseChannelInfo.channel_type == null ? '' : browseChannelInfo.channel_type, channel_name: browseChannelInfo.channel_name == null ? '' : browseChannelInfo.channel_name } } param.page_view = 1; param.customer_id = map.userId == null ? '' : map.userId; if (map.userId != null && map.userId != '') { param.user_id = map.userId; } param.user_profile.customer_type = ''; param.user_profile.customer_type_name = ''; dataLayer.push(param); } } } }); </script><link rel="stylesheet" href="https://static-i.echemi.com/static/pc/css/register1_v72377c.css"> </head> <body> <div class="container"> <div class="top_logo_box"> <a href="https://www.echemi.com"> <img src="https://static-i.echemi.com/static/pc/images/common/logo_v0e95fd.svg" alt="logo"> </a> <select id="pageLang" onchange="changeLang()"> <option value="en">English</option> <option value="zh-cn">中文</option> </select> </div> <script type="text/javascript"> function changeLang() { var pageLang = $("#pageLang").val(); $.ajax({ type : "POST", dataType : "JSON", url : webRootAjax + "/common/changeLang.do", data : { lang : pageLang }, success : function(data) { if (data.success) { //reload this page location.reload(); } } }); } </script> <div class="middle_cont"> <div class="img_box"> <img src="https://static-i.echemi.com/static/pc/images/common/login_banner_v1b1251.png" alt="banner"> </div> <div class="form_box"> <div class="for_padding"> <div class="input_item"> <input type="text" placeholder="Email" id="email" value=""> </div> <div class="error_msg" id="email_error_div" style="display: none"> <i class="iconfont">&#xe6ce;</i> <span id="email_error_span"></span> <a href="https://i.echemi.com/repwd/password1.html" style="display: none" id="forget_pass">Forgot Password</a> </div> <div class="flex"> <input type="checkbox" id="registerAgree"> <p>Upon creating my account, I agree to ECHEMI &nbsp;<a href="https://www.echemi.com/conditions.html">The Conditions of Use &nbsp;</a>and &nbsp;<a href="https://www.echemi.com/privacy.html">Privacy Notice</a></p> </div> <div class="sign_btn" onclick="checkEmail()">Join Free</div> </div> <div class="for_padding for_border"> <p>Or you can &nbsp;<a href="https://i.echemi.com/login.html">Sign in &nbsp;</a>ECHEMI</p> </div> <div class="other_login"> <div id="g_id_onload" data-client_id="918828252277-47inl8mddcp3uajdckg3fv5h452jftop.apps.googleusercontent.com" data-context="signin" data-ux_mode="popup" data-callback="googleLoginCallback" data-login_uri="https://i.echemi.com/login.html" data-prompt_parent_id="g_id_onload" style="position: absolute; top: 100px; right: 30px; width: 0; height: 0; z-index: 1001;" ></div> <div class="g_id_signin" data-type="standard" data-shape="rectangular" data-theme="outline" data-text="signin_with" data-size="large" data-width=200 data-logo_alignment="left" ></div> <button hidden class="google-login native-only" onclick="gonative.socialLogin.google.login({ 'callback' : googleLoginCallback });"> Log in With Google </button> <div class="other_item" onclick="facebookLogin();return false;" href="javascript:void(0);"> <div><i class="facebook"></i> <span>Continue with Facebook</span></div> </div> <div class="other_item" onclick="window.location.href='https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=8140teur4z0bfb&redirect_uri=https://i.echemi.com/snsLogin/linkedInCallBack.html&state=987654321&scope=r_liteprofile%20r_emailaddress%20w_member_social'"> <div><i class="linkedin"></i> <span>Continue with Linkedin</span></div> </div> <div class="other_item" onclick="window.location.href='https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=101965910&redirect_uri=https://i.echemi.com/snsLogin/qqCallBack.html&scope=get_user_info&state=register target=_blank'"> <div><i class="qq"></i> <span>Continue with QQ</span></div> </div> <div class="other_item" onclick="wechatLogin()"> <div><i class="wechat"></i> <span>Continue with WeChat</span></div> </div> </div> </div> </div> <div class="bottom_box"> <div class="flex"> <a href="https://www.echemi.com/echemi.html">About ECHEMI</a> <a href="https://www.echemi.com/helpCenter-registering.html">Commmon Questions</a> <a href="https://www.echemi.com/trade-service/suppliers.html">For Suppliers</a> <a href="https://www.echemi.com/trade-service/buyers.html">For Buyers</a> <a href="https://www.echemi.com/contactinfo.html">Contact Us</a> </div> <div class="flex"> <a href="https://www.echemi.com/conditions.html">Terms of Use</a> <a href="https://www.echemi.com/privacy.html">Privacy Notice</a> </div> <p><a href="http://beian.miit.gov.cn" style="color: #AAB7CC;" target="_blank">鲁ICP备16009155号-1</a> | Copyright@Qingdao ECHEMI Digital Technology Co., Ltd.</p> </div></div> <script type="text/javascript"> var returnUrl = ""; var googleClientId = "918828252277-47inl8mddcp3uajdckg3fv5h452jftop.apps.googleusercontent.com"; var facebookAppid = "2642643859094547"; var facebookKey = "d9e684b88fc71f12843c14262a67b864"; var qq_client_id = "101965910"; function checkEmail() { var email = $("#email").val().trim(); if (email == "") { $("#email_error_div").css("display", "block"); $("#email_error_span").text("Please enter email address."); $("#forget_pass").css("display", "none"); return false; }else{ var reg = new RegExp(regExpEmail); var result = reg.test(email); if (result == false){ $("#email_error_div").css("display", "block"); $("#email_error_span").text("Please enter a valid email."); $("#forget_pass").css("display", "none"); return false; }else{ $("#email_error_div").css("display", "none"); $("#email_error_span").text(""); $("#forget_pass").css("display", "none"); } } if(!$('#registerAgree').is(':checked')) { $("#email_error_div").css("display", "block"); $("#email_error_span").text("Please agree The Conditions of Use and Privacy Notice."); $("#forget_pass").css("display", "none"); return false; } $.ajax({ url: webRootAjax + "/register/ajaxEmailCheck.do", data:{ email:$("#email").val().trim() }, dataType:"json", type:"post", async : false, success:function(json){ if(json.success == true){ var flag = json.obj; if (flag == "buyer") { //已是激活买家 $("#email_error_div").css("display", "block"); $("#email_error_span").text("The email has been occupied."); $("#forget_pass").css("display", "inline-block"); return false; }else{ //非注册用户 $("#email_error_div").css("display", "none"); $("#email_error_span").text(""); $("#forget_pass").css("display", "none"); location.href = webRoot + "/register2.html?customerMail=" + $("#email").val().trim(); } } } }); return true; } </script> <script type="text/javascript" src="https://static-i.echemi.com/static/common/js/snsLogin_vab9ada.js"></script> <script src="https://accounts.google.com/gsi/client" async defer></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jsrsasign/8.0.20/jsrsasign-all-min.js"></script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10