CINXE.COM
Professional Online Trade Platform for API, Preparation and Pharmaceutical Machinery and Equipment PharmaSources.com
<!DOCTYPE html> <html lang="en"> <head> <title>Professional Online Trade Platform for API, Preparation and Pharmaceutical Machinery and Equipment PharmaSources.com</title> <meta name="description" content=""/> <meta name="keywords" content=""/> <meta charset="utf-8"> <meta name="baidu-site-verification" content="yCtEyi4NzS" /> <meta name="google-site-verification" content="t4BHy4QbsMJKnNYIaBL_3sq_MnkLcnk7qrl-1J24slQ" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="csrf-token" content="35AutkoDwLXFH97mbWjg0nnv05mP37Wz4rYlvTlB"> <link rel="shortcut icon" href="/img/favicon.ico"> <!-- Bootstrap --> <link rel="stylesheet" href="https://www.pharmasources.com/static/web/css/bootstrap.min.css?1744380748" type="text/css"> <link rel="stylesheet" href="https://www.pharmasources.com/static/web/css/bootstrap-theme.min.css?1744380748" type="text/css"> <link rel="stylesheet" href="https://www.pharmasources.com/static/web/css/base.css?1744380748" type="text/css"> <script src="https://www.pharmasources.com/static/web/js/jquery.min.js?1744380748"></script> <script src="https://www.pharmasources.com/static/web/js/common.min.js?1744380748"></script> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-164521382-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-164521382-1'); </script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?17644c035fe7482daf90144f1ff2f247"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <link rel="stylesheet" href="https://www.pharmasources.com/static/web/css/fonts.css" type="text/css"> <!-- Global site tag (gtag.js) - Google Ads: 947853199 --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-947853199"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-947853199'); </script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-MVK0C784Q4"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-MVK0C784Q4'); </script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-M38VCXVV5K"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-M38VCXVV5K'); </script> <!-- iiris --> <script src="https://a-iiris.imsharecenter.com/cbe/collect?tid=1411413961&at=0&h=web"></script> <script> clab_tracker.ready(function(){ this.push({"pageType":"web"}); this.track("open_page", {}); }); </script> <!-- cookie弹框 --> <style type="text/css"> .alert-box-ck{ min-width: 1200px; width: 1200px; height: 111px; border:3px #4fc2b8 solid ; background: #29858D; position: fixed; /*top: 0px;*/ left: 0px; right: 0px; bottom: -111px; margin: auto; z-index: 9999; max-width: 90%; } .alert-box-content-ck{ /*border: 1px solid blue;*/ width: 76.5%; height: 52px; float: left; margin-top: 29.5px; margin-left: 70px; color: white; font-size: 14px; line-height: 25px; } .alert-box-content-ck a{ color: #8BF8EF; } #yes-ck{ /*border: 1px solid blue;*/ width: 8%; height: 30px; text-align: center; float: right; margin-right: 70px; margin-top: 40.5px; background-color: #F79134; } #yes-ck span{ color: white; font-size: 14px; line-height: 27px; } @media only screen and (min-width: 1480px) { .alert-box-ck { min-width: 1440px; width: 1440px; } } @media only screen and (max-width: 1200px) { .alert-box-ck{ min-width: auto; width: 85%; height: 270px; border:3px #4fc2b8 solid ; background: #29858D; position: fixed; /*top: 0px;*/ left: 0px; right: 0px; bottom: 0px; margin: auto; z-index: 9999; max-width: 90%; } .alert-box-content-ck{ /*border: 1px solid blue;*/ width: 90%; margin-top: 6%; margin-left: 5%; color: white; font-size: 14px; line-height: 25px; height: auto; float: none; } .alert-box-content-ck a{ color: #8BF8EF; } #yes-ck{ /*border: 1px solid blue;*/ width: 30%; height: 30px; text-align: center; margin-left: 35%; margin-top: 20px; background-color: #F79134; float: none; margin-right: auto; } #yes-ck span{ color: white; font-size: 14px; line-height: 27px; } } @media only screen and (max-width: 320px){ .alert-box-ck{ height: 320px; } } </style> <script> // window.onload = function () { if(!getCookieNew('is_agree')) { $(".alert-box-ck").animate({ bottom:"0",opacity:1},1000).show() } // } // $("#yes-ck").click(function () { // document.cookie = 'is_agree=1;path=/'; // $(".alert-box-ck").hide(); // }); $("body").on('click','#yes-ck',function () { document.cookie = 'is_agree=1;path=/'; $(".alert-box-ck").hide(); }); function getCookieNew(key){ var arr1=document.cookie.split("; "); for(var i=0;i<arr1.length;i++){ var arr2=arr1[i].split("="); if(arr2[0]==key){ return decodeURI(arr2[1]); } } } </script> <link rel="stylesheet" href="https://www.pharmasources.com/static/web/css/index.min.css?1744380748" type="text/css"> <link rel="stylesheet" href="https://www.pharmasources.com/static/web/css/zc.css" type="text/css"> <link rel="stylesheet" href="https://www.pharmasources.com/static/web/css/bootstrapValidator.min.css" type="text/css"> <!-- 同意cookie --> </head> <script type="text/javascript" charset="utf-8" src="//g.alicdn.com/sd/ncpc/nc.js?t=2015052012"></script> <style> .has-success .form-control { border-color: #ddd; } .has-success .form-control:focus { border-color: #4fc2b8; box-shadow: 0 0 white; } .ny_zc { background: white; } dt { color: #0f0f0f; } .zc_fo1 { padding: 0px; } .send_btn { float: left; width: 120px; height: 40px; font-size: 16px; line-height: 40px; margin-left: 20px; text-align: center; background: #ccc; cursor: pointer; } .send_btn_hover { background: #f29124; color: white; } </style> <style type="text/css"> #nav_li_a_on { color: #4fc2b8; } .pharmacy_header_search i { top: 40px; right: 0px; } .pharmacy_header_Sourcing a:last-child { background-color: #108391; } .pharmacy_header_Sourcing a:last-child:hover { background-color: #047381; } .association,.association_product,.association_supplier{ background-color: #fff; position: absolute; z-index: 9999; height:auto!important; width:100%; display:none; } .association_supplier li ,.association_product li{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .assli:hover{ background-color: #eee; } .tophot_keyword{width:100%;height:36px;line-height:30px;color:#646464;} .tophot_keyword a{margin-right:5px;margin-left:5px;color:#646464;} /*电子杂志*/ .pharmacy_header_menu ul li.on>a{ color:#4fc2b8; } .pharmacy_header_menu ul li.on .industry_insights{ display:block; } /*屏蔽首页按钮*/ /*.pharmacy_header_menu ul li.zazhi>a::before {*/ /* content: '';*/ /* background: url(/static/web/image/images/img_4_03.png);*/ /* background-repeat: no-repeat;*/ /* background-size: 100% 100%;*/ /* position: absolute;*/ /* left: 467px;*/ /* top: 15px;*/ /* width: 8px;*/ /* height: 7px;*/ /*}*/ .service_membership{ /*color:#fff!important;*/ /*background-color: #4fc2b8;*/ display: inline-block; border-radius:25px; /*padding:0 15px;*/ height:22px; line-height:22px; } .etrade_season{ /*background-color: #F79134;*/ /*color: #ffffff !important;*/ display: inline-block; border-radius:25px; /*padding:0 15px;*/ height:22px; line-height:22px; /*letter-spacing:*/ } .pharmacy_header_menu ul li.zazhi.on>a::before{ color:#333; transform: rotate(180deg); } .pharmacy_header_buyer span::before { background-image: url(/static/web/image/images/img_4_03.png); } .industry_insights{ margin-top: 10px; width: 200px; position: absolute; left:30%; top: 25px; background-color: white; z-index: 9999; border: 1px solid #ccc; } @media (min-width: 1479px){ .industry_insights{ left:34%; } .pharmacy_header_menu ul li.zazhi>a::before{ left:612px; /*left:467px;*/ } } .industry_insights a{ display: block; width:100%; height:24px; padding-left: 20px; line-height: 24px; margin-bottom: 5px; } .pharmacy_header_Sourcing a { width: 200px; background: #4fc2b8; margin-right: 20px; } /*公共导航栏样式问题*/ .pharmacy_w, .pharmacy_w1 { width: 1200px; margin: 0 auto; position: relative; height: 100%; } .pharmacy_header_menu ul li a { color: #333; margin-right: 20px; } .pharmacy_header_menu ul li a.vec_url{ margin-right: 20px; } .pharmacy_header_select { background-image: url(/static/web/image/images/search_tipe.png); } @media only screen and (min-width: 1480px) { .pharmacy_header_menu ul li a { color: #333; margin-right: 55px; } .pharmacy_header_menu ul li a.vec_url{ margin-right: 55px; } .pharmacy_w, .pharmacy_w1, .pharmacy_w2 { width: 1440px; } } .phs_new ul{ list-style: none; padding: 0; margin: 0; } .phs_new ul li{ float: right; margin-left: 26px; } .l1 img{ width: 30px; height: 30px; } .l2{ height: 20px; line-height: 20px; margin-top: 5px; } </style> <div class="pharmacy_banners" style="padding-bottom: 0;"> <div class="pharmacy_w2"> </div> </div> <header class="pharmacy_header"> <div class="pharmacy_w"> <div class="pharmacy_top"> <a href="https://www.pharmasources.com"> <img class="pharmacy_header_logo clearfix" src="https://www.pharmasources.com/static/web/image/images/logo.png" alt="CPHI logo" onClick="javascript:window.open('https://www.pharmasources.com', '_self')"> </a> <div class="pharmacy_header_search clearfix"> <ul class="pharmacy_header_select_all"> <li data-value="product" data-place="Products or CAS No." class="pharmacy_header_select"> Products </li> <li data-value="suppliers" data-place="Suppliers" class=""> Suppliers </li> <li data-value="ezs" data-place="Sourcing Requests" class=""> Sourcing Requests </li> </ul> <input value="" type="text" id="search-input" placeholder=""> <i> <img class="search-img" src="https://www.pharmasources.com/static/web/image/images/search_img.png" alt=""> </i> <ul class="association"> </ul> <ul class="association_product"> </ul> <ul class="association_supplier"> </ul> </div> <div class="pharmacy_header_user clearfix"> <ul> <li> <a href="https://www.cphi.cn/"> <img src="/static/images/countryimg/0042.jpg" alt=""> </a> <a href="https://www.cphi.cn/" style="margin-left: 6px;">中文站</a> </li> <li style="margin-right: 40px" class="pharmacy_header_sign"> <img src="https://www.pharmasources.com/static/web/image/images/img_3_03.png" alt=""> <a href="https://www.pharmasources.com/login" rel="nofollow">Sign in</a> <a href="https://www.pharmasources.com/register" rel="nofollow">Join free</a> </li> </ul> <div class="pharmacy_header_Sourcing" > <a hidden href="https://www.pharmasources.com/buyerSession" id="web-public-pharmacy-header-Sourcing-buyer">Post Sourcing Request</a> <a href="https://www.pharmasources.com/psr" id="web-public-pharmacy-header-Sourcing-psr">Post Sourcing Request</a> <a hidden href="https://www.pharmasources.com/buy" id="web-public-pharmacy-header-Sourcing-suppplier">Sourcing Request List </a> <a href="https://www.pharmasources.com/cphi-china" target="_blank">Exhibition</a> </div> </div> <div class="pharmacy_header_menu"> <ul> <li><a id="nav_li_a_on" href="https://www.pharmasources.com">Home</a> </li> <li><a id="" href="https://www.pharmasources.com/products">Products</a></li> <li><a id="" href="https://www.pharmasources.com/suppliers">Supplier</a></li> <li><a class="etrade_season" href="https://www.pharmasources.com/zt/cphi-etrade-season" target="_blank">E-Trade Season</a></li> <li><a id="" href="https://www.pharmasources.com/content/">Content Hub</a></li> <li class="zazhi"> <a id="" href="https://www.pharmasources.com/industryinsights" style="display:block;height:auto;" class="zazhi_a"> <span>Industry Insights</span> </a> </li> <li style="position: relative"> <a target="_blank" class="vec_url" href="https://www.pharmasources.com/zt/cphichinawebinar"> <img src="https://www.pharmasources.com/static/web/image/images/E-Learn.png" style="vertical-align:top;display: inline;" alt=""> </a> </li> <li><a class="service_membership" href="https://www.pharmasources.com/service/overview" target="_blank">Service & Membership</a></li> <li class="pharmacy_header_buyer" id="suppliers" style="float: right;margin-right: 50px"> <span>For Supplier</span> <div class="pharmacy_header_buy" style="margin-top:10px"> <p class="text-left" style="font-weight: 600;margin-bottom: 5px;"> <a href="https://www.pharmasources.com/member/update-contact">My Account</a> </p> <p class="text-left" style="font-weight: 600;margin-bottom: 5px;"> <a href="https://www.pharmasources.com/member/style">My Online Store</a> </p> <p class="text-left" style="font-weight: 600;margin-bottom: 5px;"> <a href="https://www.pharmasources.com/member/buy-reply">My EZSourcing</a> </p> <p class="text-left" style="font-weight: 600;margin-bottom: 5px;margin-right: 0"> <a href="https://www.pharmasources.com/buy" style="margin-right: 0">View Sourcing Requests</a> </p> <p class="text-left" style="font-weight: 600;margin-bottom: 5px;"> <a href="https://www.pharmasources.com/member/customerService">Customer Service</a> </p> </div> </li> <li class="pharmacy_header_buyer" id="buyer" style="float: right;margin-right: 50px;cursor: pointer;"> <span>For Buyer</span> <div class="pharmacy_header_buy" style="margin-top:10px;width: 250px;"> <p class="text-left" style="font-weight: 600;margin-bottom: 5px;margin-right: 0px">Search Products & Suppliers</p> <a style="margin-right: 0px" href="https://www.pharmasources.com/products">Products Directory</a> <a style="margin-right: 0px" href="https://www.pharmasources.com/suppliers">Suppliers Discovery</a> <a style="margin-right: 0px" href="https://www.pharmasources.com/psr">Post EZSourcing</a> <p class="text-left" style="font-weight: 600;margin-top: 30px;margin-bottom: 5px"> Service</p> <a style="margin-right: 0px" href="https://www.pharmasources.com/buy/supplier.html">Buyer Sourcing Event</a> <a style="margin-right: 0px" href="https://www.pharmasources.com/buyer/customerService">Contact Us</a> <p class="text-left" style="font-weight: 600;margin-top: 30px;margin-bottom: 5px">Quick links</p> <a style="margin-right: 0px" href="https://www.pharmasources.com/buyer/favoriteProducts">My Favorites</a> <a style="margin-right: 0px" href="https://www.pharmasources.com/buyer/tracks">Recent Visit History</a> </div> </li> </ul> </div> </div> </div> </header> <script> $(document).ready(function(){ var hm = document.createElement("script"); hm.src = "https://log.jiagle.com/tongJi/web/browser/visit"; var s = document.getElementsByTagName("script")[0]; // s.parentNode.insertBefore(hm, s); $.ajax({ url:"https://www.pharmasources.com/getUsername", type:"post", data:{'_token': '35AutkoDwLXFH97mbWjg0nnv05mP37Wz4rYlvTlB'}, success:function(res){ if(res && $.parseJSON(res)) { var res = $.parseJSON(res) if (res.code == 200) { $('.pharmacy_header_sign').children('a').remove(); var log_out = "https://www.pharmasources.com/login/out"; var a_link = '<a class="temp_a" style="color:#4fc2b8;text-decoration: underline" href="' + res.data.url + '" >' + res.data.username + '</a><a href="' + log_out + '">Log out</a>'; $('.pharmacy_header_sign').append(a_link) } else if (res.code == 201) { } } } }) $.ajax({ url:"https://www.pharmasources.com/slog", type:"post", data:{'_token': '35AutkoDwLXFH97mbWjg0nnv05mP37Wz4rYlvTlB'}, success:function(res){ if(res && $.parseJSON(res)) { var res = $.parseJSON(res) if (res.code == 200) { $('.association_product,.association_supplier').html(''); if (res.data.pm.length){ // var html_pm = '<li disabled style="color: #F79131;height: 26px;line-height: 26px;margin-bottom: -10px;cursor: auto">Hot Search</li>'; var html_pm = ''; $.each(res.data.pm,function(i,v){ html_pm += "<li class='assli' style='width:100%;height:26px;line-height: 16px;padding: 5px 12px;vertical-align:middle;'><span style='float:left;display:inline-block;z-index:-1;'>"+v.content+"</span></li>"; }) $('.association_product').append(html_pm); } if (res.data.sm.length){ // var html_sm = '<li disabled style="color: #F79131;height: 26px;line-height: 26px;margin-bottom: -10px;cursor: auto">Hot Search</li>'; var html_sm = ''; $.each(res.data.sm,function(i,v){ html_sm += "<li class='assli' style='width:100%;height:26px;line-height: 16px;padding: 5px 12px;vertical-align:middle;'><span style='float:left;display:inline-block;z-index:-1;'>"+v.content+"</span></li>"; }) $('.association_supplier').append(html_sm); } } else if (res.code == 201) { } } } }) }) $(".zazhi").mouseover(function(){ $(this).addClass('on'); $('.zazhi_a').css('color','#4fc2b8') }) $(".zazhi").mouseout(function(){ $(this).removeClass('on'); $('.zazhi_a').css('color','#333') }) var type = ""; if (type){ }else{ $('#suppliers #buyer').show(); } $("#search-input").bind("input propertychange",function(event){ var search_data = $('#search-input').val(); var search_type = $('.pharmacy_header_select').html(); //去除两端空格 search_data = search_data.replace(/^\s+|\s+$/g,''); if (search_data){ $(".association_product,.association_supplier").hide(); getSearchData(search_data,search_type); }else{ $('.association').html('').css('border',''); var dv = $(".pharmacy_header_select").attr("data-value"); if (dv == "product") { $(".association_product").show(); $(".association_supplier").hide(); } if (dv == "suppliers") { $(".association_product").hide(); $(".association_supplier").show(); } if (dv == "ezs") { $(".association_product").show(); $(".association_supplier").hide(); } } }); $('.association,.association_product,.association_supplier').on('click','li',function(e){ var text = $(this).children('span').text(); $("#search-input").val(text).focus(); var search_type = $('.pharmacy_header_select').html(); e.stopPropagation(); searchIcon(text); }) $('.cphi_search').on('click',function(e){ var data_value = $(this).attr("data-value"); searchIcon(data_value); }) function getSearchData(search_data,search_type){ $.ajax({ url: "https://www.pharmasources.com/getAssociationSearch", data: { search_data: search_data,search_type:search_type}, type:"post", headers: { "X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr('content') }, dataType: 'json', success: function (res) { $('.association').html('') if(res.code==200){ var html = ""; $.each(res.data,function(i,v){ if(search_data != v){ html += "<li class='assli' style='width:100%;height:26px;line-height: 16px;padding: 5px 12px;vertical-align:middle;'><span style='float:left;display:inline-block;z-index:-1;'>"+v+"</span></li>"; } }) if (!$(".association_supplier").is(':visible') && !$(".association_product").is(':visible')) { $('.association').append(html); } }else{ alert(data.msg); return false; } } }) } $('#search-input').focus(function(){ $('.association').show().css('border','1px solid #ccc'); }) $('body').click(function(e){ if(($(e.target).attr('id')!='search-input')){ $('.association').hide().css('border','') $('.association_product,.association_supplier').hide(); } }); $('.pharmacy_header_select_all li').click(function(){ $('.association').html('').css('border',''); $('.association_product,.association_supplier').hide(); }) function phs(str) { var url = ''; if (str != null){ switch (str) { case ('Visitor'): url = 'https://www.cphi.com/china/en/attend/attend/why-attend.html'; break; case ('Exhibior'): url = 'https://www.cphi.com/china/en/Exhibit/exhibit/Why-exhibit.html'; break; case ('Advertiser'): // url = 'https://efile.imsinoexpo.com/efile/CPhI/Yingqi/PharmaSources%20Sponsorship%20Package%20final.pdf'; url = 'https://efile.imsinoexpo.com/efile/CPhI/PharmaSources%20Sponsorship%20Package%202023.pdf'; break; case ('Suppliers'): url = ' https://www.pharmasources.com/service/supplier-membership'; break; case ('Buyer'): url = 'https://www.pharmasources.com/service/buyer-membership'; break; case ('psr'): url = "https://www.pharmasources.com/psr"; break; case ('psrl'): url = "https://www.pharmasources.com/buy"; break; } } if (url){ window.open(url); } } </script> <form action="" class=""> <input type="hidden" name="_token" value="35AutkoDwLXFH97mbWjg0nnv05mP37Wz4rYlvTlB"> <input type="hidden" id="sc" name="sc" value > <div class="ny_zc "> <div class="w"> <div class="zc_k "> <h3 class="h3_bt">Forgot Password</h3> <div class="zc_fo1 form-group" style="padding-top: 30px;"> <dl> <dt>Your Email Address:</dt> <dd> <input name="email" class="form-control zc_tx1" value=""> </dd> </dl> <dl> <dt></dt> <dd> <div id="your-dom-id" class="nc-container code-box"></div> <div class="send_btn">Send Code</div> </dd> </dl> </div> <div class="clear"></div> <div class="zc_fo1 form-group"> <dl> <dt>Verification Code:</dt> <dd> <input name="code" class="form-control zc_tx1" value=""> </dd> </dl> </div> <div class="zc_fo1 form-group"> <dl> <dt>New Password:</dt> <dd> <input name="password" type="password" class="form-control zc_tx1" value=""> <p>8-15 characters (A-Z, a-z, 0-9); Passwords must be the combination of capitals, lowercases and numbers.</p> </dd> </dl> </div> <div class="zc_anq "> <input type="button" disabled="disabled" id="btn-submit" value="Submit & Continue" style="width: 300px;" class="btn an_h btn-block"> </div> </div> <div class="clearfix"></div> </div> </div> </form> <script src="https://www.pharmasources.com/static/web/js/bootstrapValidator.min.js"></script> <script> var rj_data = {}; $('form').bootstrapValidator({ message: 'This value is not valid', submitHandler: function (validator, form, submitButton) { }, fields: { 'email': { message: ' ', validators: { notEmpty: { message: '' }, emailAddress: { message: '' }, } }, 'password': { message: ' ', validators: { notEmpty: { message: '' }, regexp: { regexp: /^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])[a-zA-Z0-9]{8,15}$/, message: '' } } }, 'code': { message: ' ', validators: { notEmpty: { message: '' } } } }, }); $("#btn-submit").click(function () { rbl(); var bootstrapValidator = $("form").data('bootstrapValidator').validate(); bootstrapValidator.validate(); if (bootstrapValidator.isValid()) { var form = $("form").serialize(); var url = 'https://www.pharmasources.com/forget-password-submit'; common.requests(url, form, 'post', {}, function (res) { if(res.code == 200){ alert(res.msg); var sc = $("#sc").val(); if(sc){ location.href = 'https://www.pharmasources.com/login?sc='+sc; }else{ location.href = 'https://www.pharmasources.com/login'; } }else{ bl(); alert(res.msg); } }, function () { }) } else { } }); var jt = 0; var mailjt = false; var codejt = false; $("input[name=email]").blur(function () { if ($(this).val()) { mailjt = true; if (mailjt && codejt) { $(".send_btn").addClass("send_btn_hover"); } jt += 1; } else { jt = jt - 1 < 0 ? 0 : jt - 1; rbl(); } }); $("input[name=code]").blur(function () { if ($(this).val()) { jt += 1; bl(); } else { jt = jt - 1 < 0 ? 0 : jt - 1; rbl(); } }); $("input[name=password]").blur(function () { if ($(this).val()) { jt += 1; bl(); } else { jt = jt - 1 < 0 ? 0 : jt - 1; rbl(); } }); function bl() { if (jt >= 3) { $("#btn-submit").removeAttr('disabled'); } } function rbl() { $("#btn-submit").attr('disabled', 'disabled'); } var nc_token = ["FFFF0N0000000000A78E", (new Date()).getTime(), Math.random()].join(':'); var NC_Opt = { renderTo: "#your-dom-id", appkey: "FFFF0N0000000000A78E", scene: "nc_login", token: nc_token, customWidth: 300, trans: {"key1": "code0"}, elementID: ["usernameID"], is_Opt: 0, language: "en", isEnabled: true, timeout: 3000, times: 5, apimap: {}, callback: function (data) { rj_data = data; rj_data.scene = NC_Opt.scene; codejt = true; if (mailjt && codejt) { $(".send_btn").addClass("send_btn_hover").css({'cursor':'pointer','background':'#f29124'}); } if (!$("input[name=email]").val()) { alert('Please enter a valid e-mail address.'); return false; } bl(); } } var nc = new noCaptcha(NC_Opt) nc.upLang('en', { _startTEXT: "Please drag the slider to the right side", _yesTEXT: "Verified", // _error300: "哎呀,出错了,点击<a href=\"javascript:__nc.reset()\">刷新</a>再来一次", // _errorNetwork: "网络不给力,请<a href=\"javascript:__nc.reset()\">点击刷新</a>", }); $(".send_btn").click(function () { if(!$(this).hasClass('not_click')){ if ($(this).hasClass('send_btn_hover')) { var count = 60; var countdown = setInterval(CountDown, 1000); function CountDown() { $('.send_btn_hover').attr("disabled", true); $('.send_btn_hover').css({ 'width': '200px', 'background': '#ccc', 'cursor': 'no-drop' }).html("Please wait " + count + " seconds!"); $('.send_btn_hover').addClass("not_click"); if (count == 0) { $('.send_btn_hover').css({'width': '120px'}).html("Send Code").removeAttr("disabled").removeClass("not_click"); clearInterval(countdown); var nc = new noCaptcha(NC_Opt); nc.upLang('en', { _startTEXT: "Please drag the slider to the right side", _yesTEXT: "Verified", // _error300: "哎呀,出错了,点击<a href=\"javascript:__nc.reset()\">刷新</a>再来一次", // _errorNetwork: "网络不给力,请<a href=\"javascript:__nc.reset()\">点击刷新</a>", }); } count--; } var url = 'https://www.pharmasources.com/forget-password-mail'; common.requests(url, {email: $("input[name=email]").val(), rj: rj_data}, 'post', {}, function (res) { alert(res.msg); }, function () { }); } } }) $("input[name=email]").change(function () { if ($(this).val()) { mailjt = true; if (mailjt && codejt) { $(".send_btn").addClass("send_btn_hover"); } jt += 1; bl(); } else { jt = jt - 1 < 0 ? 0 : jt - 1; rbl(); } }); </script> <style> .nc-container { float: left; } .nc-container, .nc-container #nc_1_wrapper, .nc-container.tb-login #nc_1_wrapper { width: 400px; } .nc_scale { height: 40px; } .nc-container .nc_scale span { height: 40px; line-height: 40px } .nc-container .nc_scale .scale_text { line-height: 40px } .nc-container .nc_scale .btn_ok { line-height: 40px; } </style> <script> // 頂部點擊事件 $('.pharmacy_top input').attr('placeholder', 'Search ' + $(".pharmacy_header_select").attr('data-place')); $('.pharmacy_header_select_all li').on('click', function () { if (!$(this).hasClass('pharmacy_header_select')) { $(this).addClass('pharmacy_header_select') .siblings('li').removeClass('pharmacy_header_select'); $('.pharmacy_top input').attr('placeholder', 'Search ' + $(this).attr('data-place')); } }); // $(".pharmacy_tabs_select li").click(function () { // $(this).addClass("pharmacy_tabs_selects"); // $(this).siblings().removeClass("pharmacy_tabs_selects"); // var index = $(this).index(); // $(".pharmacy_tabs_content").hide().eq(index).show(); // $(".pharmacy_tabs_content").removeClass("on").eq(index).addClass("on"); // }); var searchList = { 'areaCountry': 1, 'areaProvince': 1, 'type': 1, 'shopLimit': 1, 'orders': 1, 'medicine': 1, 'catid': 1, 'areaids': 1, 'page': 1, 'limits': 1, 'userType': 1, 'searchKey': 1 }; //首页搜索 $("#search-input").keydown(function (e) { var vals = $("#search-input").val(); // vals = vals.replace('/%/g','%25',vals) var reg = new RegExp('%','g'); vals = vals.replace(reg,'%25'); if(vals.substr(vals.length-1,1) == '-'){ vals= vals.substring(0, vals.length - 1); } searchKeyup(vals, e); }); $(".search-img").click(function () { var vals = $("#search-input").val(); // vals = vals.replace('%','%25',vals) vals = vals.replace(/%/g, '%25'); if(vals.substr(vals.length-1,1) == '-'){ vals= vals.substring(0, vals.length - 1); } searchIcon(vals); }); $("#search-input").click(function () { var search_data = $('#search-input').val(); //去除两端空格 search_data = search_data.replace(/^\s+|\s+$/g,''); if (search_data){ return; } var data_value = $(".pharmacy_header_select").attr("data-value"); if (data_value == "product") { $(".association_product").show(); $(".association_supplier").hide(); } if (data_value == "suppliers") { $(".association_product").hide(); $(".association_supplier").show(); } if (data_value == "ezs") { $(".association_product").show(); $(".association_supplier").hide(); } }) function searchKeyup(val, e, searchClass) { if (e.keyCode == 13) { var vals = val; if (vals) { // common.setCookie("searchKey", vals, 10000); // document.cookie = "searchKey="+vals; var data_value = $(".pharmacy_header_select").attr("data-value"); if (data_value == "product" || searchClass == 'product') { window.location.href = "https://www.pharmasources.com/products/searchKey-" + vals; } if (data_value == "suppliers") { window.location.href = "https://www.pharmasources.com/suppliers/searchKey-" + vals; } if (data_value == "ezs") { var html = "/searchKey-" + vals; window.location.href = "https://www.pharmasources.com/buy" + html; } } else { return false; } } } function searchIcon(val, searchClass) { var vals = encodeURIComponent(val); if (vals) { //清除cookie common.setCookie("selectPid", null, 0); common.setCookie("selectSid", null, 0); // common.setCookie("searchKey", vals, 10000); //document.cookie = "searchKey="+vals; // vals = vals.slice(0, 1).toUpperCase() + vals.slice(1); // vals = common.replaceAll('-','_',vals); var data_value = $(".pharmacy_header_select").attr("data-value"); if (data_value == "product" || searchClass == 'product') { var url = "https://www.pharmasources.com/products/searchKey-" + vals; window.location.href = "https://www.pharmasources.com/products/searchKey-" + vals; } if (data_value == "suppliers") { window.location.href = "https://www.pharmasources.com/suppliers/searchKey-" + vals; } if (data_value == "ezs") { var html = "/searchKey-" + vals; window.location.href = "https://www.pharmasources.com/buy" + html; } } else { return false; } } function removePage() { var prams = ""; var currPage = ""; if (prams && currPage) { prams = prams.replace('-page-' + currPage, ''); prams = prams.replace('page-' + currPage, ''); } return prams; } // 下拉框 $('.sel_dx1').on('click', function () { $('.pharmacy_select_1 ').toggleClass('dis_none'); }); $(".pharmacy_select_1 ul li").on('click', function () { $('.pharmacy_select_1 ').toggleClass('dis_none'); $('.sel_dx1').val($(this).text()) }); // 下拉框 $('.pharmacy_input4').on('click', function () { $('.pharmacy_select_1 ').toggleClass('dis_none'); }); $('.pharmacy_input3').on('click', function () { $('.pharmacy_select_1 ').toggleClass('dis_none'); }); $(document).click(function (event) { var _con = $('.sel_dx'); if (!_con.is(event.target) && _con.has(event.target).length === 0) { $('.pharmacy_select_1 ').addClass('dis_none'); } }); $(function () { if ($(".pharmacy_header_select").attr("data-value") == "ezs") { var vals = $("#search-input").val(); if (vals) { var strings = common.getCookie('searchKey') if (strings) { if (strings.indexOf(vals != -1)) { $("#search-input").val(strings) } } } } }) </script>