init
This commit is contained in:
538
app/us/view/group/dist.phtml
Executable file
538
app/us/view/group/dist.phtml
Executable file
@@ -0,0 +1,538 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Become a Distributor</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/distributor.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
|
||||
<!--top End-->
|
||||
<div class="Swt-Banner"><img src="__PUBLIC__/weben/images/distributor/smarty_life2.jpg"></div>
|
||||
<!--第二屏-->
|
||||
<div class="distributor_bg_black">
|
||||
<div class="swt-Container distributor_two img-responsives">
|
||||
<div class="swt-Table">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell swt-Table-border-r">
|
||||
<div class="left m-bottom"><img src="__PUBLIC__/web/images/distributor/distributor_01_one.png"></div>
|
||||
<div class="right m-bottom">
|
||||
<p class="title"><span>Innovative Digital Manufacturer</span></p>
|
||||
<p class="des">With 12 years’ specializing in the in the field of USB data transmission and charging, ORICO’s products have been sold to over 80 countries and regions offline and online.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="Table-Cell">
|
||||
<div class="left m-bottom"><img src="__PUBLIC__/web/images/distributor/distributor_01_two.png"></div>
|
||||
<div class="right m-bottom">
|
||||
<p class="title"><span>The Design Concept of “Easy Your PC”</span> </p>
|
||||
<p class="des">ORICO keeps investing in R&D and develops innovative products to provide a better user experience. </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Table swt-Table-border-b">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell swt-Table-border-r">
|
||||
<div class="left m-top"><img src="__PUBLIC__/web/images/distributor/distributor_01_three.png"></div>
|
||||
<div class="right m-top">
|
||||
<p class="title"><span>Matured Industrial Chain</span></p>
|
||||
<p class="des">ORICO’s business scope covers integrated industry chain including R&D, manufacture, marketing and sales center which enables great production capacity.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="Table-Cell">
|
||||
<div class="left m-top"><img src="__PUBLIC__/web/images/distributor/distributor_01_four.png"></div>
|
||||
<div class="right m-top">
|
||||
<p class="title"><span>Diversified Brand Planning </span></p>
|
||||
<p class="des">7 product lines have been implemented with over 2000 SKU for storage expanding products, mobile & PC peripheral, electronics and more.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!--保障-->
|
||||
<div class="distributor_faq">
|
||||
<div class="Swt-Banner position-r">
|
||||
<img src="__PUBLIC__/web/images/distributor/distributor_faq_01.jpg" alt=""/>
|
||||
<div class="one">
|
||||
<div class="swt-Container bg_black">
|
||||
<div class="content">
|
||||
<p class="distributor_subtitle distributor_text_white">Your Perfect Partner</p>
|
||||
<p class="distributor_des distributor_text_white margin-t">Infinite Possibility and Unique Creativity</p>
|
||||
<div class="line"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Swt-Banner position-r">
|
||||
<img src="__PUBLIC__/web/images/distributor/distributor_faq_02.jpg" alt=""/>
|
||||
<div class="one">
|
||||
<div class="swt-Container contents">
|
||||
<ul>
|
||||
<li>
|
||||
<p class="distributor_subtitle distributor_text_white">Strong Production Capacity</p>
|
||||
<p class="distributor_des distributor_text_white margin-t">8 factories and 16 industrial chains make ORICO a reliable manufacturer. Its hardware mold factory, plastic mold factory, SMT factory, assembly factory and packaging factory easily contribute a capacity of over 4 billion yuan.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="distributor_subtitle distributor_text_white">Advanced Technical Support</p>
|
||||
<p class="distributor_des distributor_text_white margin-t">Established over 10 million square meters business incubator and introduced advanced product development system, product supply system and Factory to Business 211 system for efficient and comprehensive management. </p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!--八大生产线-->
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/weben/images/distributor/produce2.jpg" usemap="#Map">
|
||||
<map name="Map">
|
||||
<area shape="rect" coords="418,522,650,578" class="cursor" href="https://www.orico.cc/us/product/category/521.html" target="_blank">
|
||||
<area shape="rect" coords="726,525,919,574" class="cursor" href="https://www.orico.cc/us/product/category/528.html" target="_blank">
|
||||
<area shape="rect" coords="970,520,1138,575" class="cursor" href="https://www.orico.cc/us/product/category/529.html" target="_blank">
|
||||
<area shape="rect" coords="418,606,624,656" class="cursor" href="https://www.orico.cc/us/product/category/631.html" target="_blank">
|
||||
<area shape="rect" coords="709,610,905,665" class="cursor" href="https://www.orico.cc/us/product/category/532.html" target="_blank">
|
||||
<area shape="rect" coords="969,599,1230,667" class="cursor" href="https://www.orico.cc/us/product/category/933.html" target="_blank">
|
||||
<area shape="rect" coords="1266,520,1478,572" class="cursor" href="https://www.orico.cc/us/product/category/530.html" target="_blank">
|
||||
|
||||
</map>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="distributor_Beltline">
|
||||
<div class="distributor_title distributor_text_black text-c">Featured Products</div>
|
||||
<div class="distributor_des distributor_text_gray text-c">Leading The Trend</div>
|
||||
<div class="swt-Container">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/4039.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/TCM2-C3.jpg">
|
||||
<p class="distributor_text_black distributor_des">NVMe M.2 SSD Enclosure (10Gbps)</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO TCM2-C3 </p>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/3237.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/NS500U3.jpg">
|
||||
<p class="distributor_text_black distributor_des">3.5 inch 5 Bay USB3.0 Hard Drive Enclosure</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO NS500U3</p></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/3244.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/WS200RC3.jpg">
|
||||
<p class="distributor_text_black distributor_des">3.5 inch 2 Bay Type-C Hard Drive Enclosure</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO WS200RC3</p></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/6775.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/9558U3.jpg">
|
||||
<p class="distributor_text_black distributor_des">3.5-Inch External Hard Drive Enclosure</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO 9558U3</p></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/7214.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/M2PV-C3.jpg">
|
||||
<p class="distributor_text_black distributor_des">M.2 NVMe SSD Enclosure</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO M2PV-C3</p></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/3348.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/M3H4-V1.jpg">
|
||||
<p class="distributor_text_black distributor_des">Aluminum Alloy 4 Port USB3.0 HUB</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO M3H4-V1</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/7296.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/PA500-2A4U.jpg">
|
||||
<p class="distributor_text_black distributor_des">Portable Power Station 500W</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO PA500-2A4U</p></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/3374.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/DUK-10P.jpg">
|
||||
<p class="distributor_text_black distributor_des">120W 10 Port USB Smart Desktop Charging Station</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO DUK-10P </p></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/7433.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/LST-2AS.jpg">
|
||||
<p class="distributor_text_black distributor_des">Notebook heighten folding bracket</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO LST-2AS</p></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!--div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/weben/images/distributor/seize.jpg">
|
||||
<div class="distributor_title text-c"><A HREF="#agentForm">Become an authorized distributor/reseller of ORICO! </A></div>
|
||||
</div-->
|
||||
<div class="distributor_faq">
|
||||
<div class="Swt-Banner position-r">
|
||||
<img src="__PUBLIC__/weben/images/distributor/seize2.jpg" alt="">
|
||||
<div class="one" style="bottom:30%;">
|
||||
<div class="swt-Container" style="text-align:center;">
|
||||
<div class="content">
|
||||
<p class="distributor_desc distributor_text_white" style="color:#fff;font-size: 1.3em;">Seize the opportunity, now!</p>
|
||||
<p class="distributor_subtitle distributor_text_white margin-t"><a class="animateForm distributor_title cursor" style="color:#fff;font-size: 1.3em;">Become an authorized distributor/reseller of Orico!</a></p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!--div class="distributor_Big_Data">
|
||||
<div class="Swt-Banner"><img src="/frontend/web/images/distributor/distributor_Big_Data.jpg"></div>
|
||||
</div-->
|
||||
|
||||
<!--大记事-->
|
||||
<div class="distributor_Chronicle">
|
||||
<div class="distributor_title distributor_text_white text-c">Honor The History, Witness The Victory</div>
|
||||
<div class="distributor_des distributor_text_white text-c">For the past 12 years, every step we took found an echo in the purpose – ‘Made in China, Innovated from China’.</div>
|
||||
<div class="Chronicle">
|
||||
<div class="swt-Container position-r">
|
||||
<div class="Chronicle-l position-r">2021<span></span></div>
|
||||
<div class="Chronicle-r">Joined Xinchuang Alliance Industry Association and incubated subsidiary brand – IAMAKER.</div>
|
||||
</div>
|
||||
<div class="swt-Container position-r">
|
||||
<div class="Chronicle-l position-r">2020<span></span></div>
|
||||
<div class="Chronicle-r">Being selected as the 18th Shenzhen Famous Brands and the 7th Credible Global Brand; incubated subsidiary brand IDSONIX and achieved strategic cooperation with Lenovo on personal cloud storage and drive enclosures. </div>
|
||||
<div class="Chronicle-l position-r">2019<span></span></div>
|
||||
<div class="Chronicle-r " >Celebrated ORICO’s 10th anniversary and incubated subsidiary brand – Yottamaster.</div>
|
||||
<div class="Chronicle-l position-r">2018<span></span></div>
|
||||
<div class="Chronicle-r">Listed on the China’s top 30 cross-border e-commerce overseas brands in 2018 and started overall brand upgrade.</div>
|
||||
<div class="Chronicle-l position-r">2017<span></span></div>
|
||||
<div class="Chronicle-r">New industrial chain incubation platform of ORICO Internet & Creativity Industrial Park was established officially.</div>
|
||||
<div class="Chronicle-l position-r">2016<span></span></div>
|
||||
<div class="Chronicle-r">Quality Control Center was established by PICC IWS and Dongguan Quality Inspection while built up the strategic partner relationship with Fresco.</div>
|
||||
<div class="Chronicle-l position-r">2015<span></span></div>
|
||||
<div class="Chronicle-r">ORICO branch in Hunan Province was established, which marked the officially operation of brand’s global e-commerce center. At the same time, ORICO Internet & Creativity Industrial Park was founded in Dongguan. The subsidiary brand – NTONPOWER started to incubate.</div>
|
||||
<div class="Chronicle-l position-r">2014<span></span></div>
|
||||
<div class="Chronicle-r">Kept improving industrial chain and maintained high development speed with 6 factories.</div>
|
||||
<div class="Chronicle-l position-r">2013<span></span></div>
|
||||
<div class="Chronicle-r">ORICO was awarded “National High-tech Enterprise” certification.</div>
|
||||
<div class="Chronicle-l position-r">2012<span></span></div>
|
||||
<div class="Chronicle-r">Started to develop self-industrial chain and optimize packaging, injection molding technologies. Products entered into global markets covering America, Spain, Britain, French and others.</div>
|
||||
<div class="Chronicle-l position-r">2011<span></span></div>
|
||||
<div class="Chronicle-r">Developed offline channels in Thailand, Korea and Germany. Meanwhile the headquarter moved in Shenzhen Zhonghaixin Science & Technology Park.</div>
|
||||
<div class="Chronicle-l position-r">2010<span></span></div>
|
||||
<div class="Chronicle-r">ORICO officially landed on Tmall, JD, Yixun, Newegg, Amazon, Suning, Gome and more mainstream e-commerce platforms, expanding online markets.</div>
|
||||
<div class="Chronicle-l position-r">2009<span></span></div>
|
||||
<div class="Chronicle-r">ORICO was founded formally and first released the ‘Tool Free’ drive enclosure.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--招商对象-->
|
||||
<div class="distributor_Attract">
|
||||
<div class="swt-Container">
|
||||
<div class="distributor_title distributor_text_white text-c">Join Us</div>
|
||||
<div class="list">
|
||||
<ul>
|
||||
<li><a class="animateForm cursor" style="color:#fff;">
|
||||
<div class=""><img src="__PUBLIC__/web/images/distributor/distributor_Attract_01.jpg"></div>
|
||||
<div class="des_text">Global Distributors</div></a>
|
||||
</li>
|
||||
<li><a class="animateForm cursor" style="color:#fff;">
|
||||
<div class=""><img src="__PUBLIC__/web/images/distributor/distributor_Attract_02.jpg"></div>
|
||||
<div class="des_text">Global Resellers </div></a>
|
||||
</li>
|
||||
<li><a class="animateForm cursor" style="color:#fff;">
|
||||
<div class=""><img src="__PUBLIC__/web/images/distributor/distributor_Attract_03.jpg"></div>
|
||||
<div class="des_text">Global Wholesalers </div></a>
|
||||
</li>
|
||||
<li><a class="animateForm cursor" style="color:#fff;">
|
||||
<div class=""><img src="__PUBLIC__/web/images/distributor/distributor_Attract_04.jpg"></div>
|
||||
<div class="des_text">Global Retailers</div></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--加盟流程-->
|
||||
|
||||
<div class="distributor_bg_black02">
|
||||
<div class="swt-Container">
|
||||
<div class="distributor_join">
|
||||
<div class="distributor_title distributor_text_white text-c">Cooperation Process</div>
|
||||
<ul>
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title"><a class="animateForm cursor" style="color:#fff;">Application Form</a></span>
|
||||
<span class="subtitle">step:1</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_01.jpg"></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title">Quick Meeting</span>
|
||||
<span class="subtitle">step:2</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_02.jpg"></div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title">Application in Review</span>
|
||||
<span class="subtitle">step:3</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_03.jpg"></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title">Sign Agreement</span>
|
||||
<span class="subtitle">step:4</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_04.jpg"></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title">First Order</span>
|
||||
<span class="subtitle">step:5</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_05.jpg"></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title">Follow-up Service</span>
|
||||
<span class="subtitle">step:6</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_06.jpg"></div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--联系方式-->
|
||||
<div id="agentForm">
|
||||
<a name="agentForm"> </a>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/style2.css">
|
||||
<!-- 详情页 s -->
|
||||
<div class="apply_content" style="margin-top: 80px;">
|
||||
<div class="form_title">Become a Distributor</div>
|
||||
<div class="apply_form">
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Company name</p>
|
||||
<input class='companyName' type="text" placeholder="Legal business name" name="company" id="company" />
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Official website</p>
|
||||
<input type="text" placeholder="Please paste the URL" name="url" class="url" id="url" />
|
||||
</div>
|
||||
<div class="name clearfix" style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Your name</p>
|
||||
<div style="margin-right: 1.25rem;">
|
||||
<input type="text" class="first" placeholder="First name" name="firstname" id="firstname"/>
|
||||
</div>
|
||||
<div>
|
||||
<input type="text" class="last" placeholder="Last name" name="lastname" id="lastname"/>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Email</p>
|
||||
<input type="email" class="email" name="email" id="email"/>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Phone number</p>
|
||||
<input type="text" class="phone" name="phone" id="phone"/>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Products you are interested in?</p>
|
||||
<div class="check_boxs">
|
||||
<ul>
|
||||
<li><input type="checkbox" name="interested" value="Computer Peripheral">Computer Peripheral</li>
|
||||
<li><input type="checkbox" name="interested" value="Phone Peripheral">Phone Peripheral</li>
|
||||
<li><input type="checkbox" name="interested" value="Electronics">Electronics</li>
|
||||
<li><input type="checkbox" name="interested" value="SSD">SSD</li>
|
||||
<li><input type="checkbox" name="interested" value="Entertainment Series">Entertainment Series</li>
|
||||
<li><input type="checkbox" name="interested" value="Smart Life Series">Smart Life Series</li>
|
||||
<li><input type="checkbox" name="interested" value="Outdoor Power Station">Outdoor Power Station</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Are you willing to keep inventory?</p>
|
||||
<div class="radio_box">
|
||||
<ul>
|
||||
<li><input type="radio" name="inventory" value="YES" checked>YES</li>
|
||||
<li><input type="radio" name="inventory" value="NO">NO</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Distribution region</p>
|
||||
<input type="text" class="region" placeholder="Country,or area within a country" name="distribution" id="distribution"/>
|
||||
</div>
|
||||
<div class="submit_btn">SUBMIT</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 详情页 e -->
|
||||
<script>
|
||||
// 输入框失去焦点
|
||||
$('.companyName').blur(function(){
|
||||
if($('.companyName').val() != ''){
|
||||
$('.companyName').removeClass('error');
|
||||
$('.companyName').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.companyName').addClass('error');
|
||||
$('.companyName').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.first').blur(function(){
|
||||
if($('.first').val() != ''){
|
||||
$('.first').removeClass('error');
|
||||
$('.first').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.first').addClass('error');
|
||||
$('.first').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.last').blur(function(){
|
||||
if($('.last').val() != ''){
|
||||
$('.last').removeClass('error');
|
||||
$('.last').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.last').addClass('error');
|
||||
$('.last').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.email').blur(function(){
|
||||
if($('.email').val() != ''){
|
||||
$('.email').removeClass('error');
|
||||
$('.email').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.region').blur(function(){
|
||||
if($('.region').val() != ''){
|
||||
$('.region').removeClass('error');
|
||||
$('.region').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.region').addClass('error');
|
||||
$('.region').next('span').removeClass('hide');
|
||||
}
|
||||
});
|
||||
|
||||
try {
|
||||
k_win_ref = window.parent.document.referrer;
|
||||
} catch(e) {
|
||||
k_win_ref = '';
|
||||
};
|
||||
|
||||
// 提交表单
|
||||
$('.submit_btn').click(function(){
|
||||
var companyName = $('.companyName').val();
|
||||
var firstName = $('.first').val();
|
||||
var lastName = $('.last').val();
|
||||
var email = $('.email').val();
|
||||
var region = $('.region').val();
|
||||
|
||||
var checkItem = new Array();
|
||||
|
||||
$("input[name='interested']:checked").each(function() {
|
||||
checkItem.push($(this).val());// 在数组中追加元素
|
||||
});
|
||||
var interesteds = checkItem.join(",");
|
||||
|
||||
var inventory = $("input[name='inventory']:checked").val();
|
||||
|
||||
|
||||
if(companyName == ''){
|
||||
$('.companyName').addClass('error');
|
||||
$('.companyName').next('span').removeClass('hide');
|
||||
}
|
||||
if(firstName == ''){
|
||||
$('.first').addClass('error');
|
||||
$('.first').next('span').removeClass('hide');
|
||||
}
|
||||
if(lastName == ''){
|
||||
$('.last').addClass('error');
|
||||
$('.last').next('span').removeClass('hide');
|
||||
}
|
||||
if(email == ''){
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
}
|
||||
if(region == ''){
|
||||
$('.region').addClass('error');
|
||||
$('.region').next('span').removeClass('hide');
|
||||
}
|
||||
|
||||
|
||||
//点击创建申请块
|
||||
if(companyName && firstName && lastName && email && region) {
|
||||
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "add",
|
||||
data: {'company':companyName, 'email':email,'country':region,'name':firstName,'last_name':lastName,'phone':$('.phone').val(),'interested':interesteds,'is_inventory':inventory,'uri':$('.url').val(),'refer':k_win_ref},
|
||||
dataType: "json",
|
||||
|
||||
success: function(data){
|
||||
if(data.code == 200) {
|
||||
//alert(data.msg);
|
||||
//window.location.href='/us/agents/agents.html';
|
||||
location.href = '/us/Group/submission.html';
|
||||
}
|
||||
else{
|
||||
if(data.code == 403 || data.code == 201) {
|
||||
alert(data.msg);
|
||||
}
|
||||
else{
|
||||
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
})
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function(){
|
||||
$('.animateForm').click(function() {
|
||||
$('html,body').animate({ scrollTop: $("#agentForm").offset().top - 100 }, 200)
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!--查找经销商-->
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
|
||||
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user