287 lines
12 KiB
PHTML
Executable File
287 lines
12 KiB
PHTML
Executable File
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
{include file="include/head" /}
|
||
<meta charset="UTF-8">
|
||
<title>Honor|Orico USB storage|charging</title>
|
||
<!-- <link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/honor.css"> -->
|
||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/style2.css">
|
||
|
||
</head>
|
||
|
||
<body>
|
||
<!--top-->
|
||
<header class="header-PC header-Product">
|
||
<div id="header" class="theme-black">
|
||
{include file="include/top" /}
|
||
{include file="include/top-header" /}
|
||
</div>
|
||
</header>
|
||
{include file="include/top-header-mobile" /}
|
||
|
||
<!--Bult Buy-->
|
||
<div class="apply_content" style="margin-top: 80px;">
|
||
<div class="form_title">Bulk Buy</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><strong style="color: red; margin-right: 0.3125rem;">*</strong>Message</p>
|
||
<textarea rows="6" cols="20" class="first detail-w01 region" placeholder="Methods used" /></textarea>
|
||
</div>
|
||
<div class="submit_btn">SUBMIT</div>
|
||
</div>
|
||
</div>
|
||
<!-- Bult Buy e -->
|
||
<!--top End-->
|
||
<!-- <div class="honor">
|
||
<div class="Swt-Banner"><img src="__PUBLIC__/weben/images/honor/Honor-banner.jpg"></div>
|
||
</div>
|
||
<div class="honner_01">
|
||
<div class="swt-Container">
|
||
<div class="honner_01_all">
|
||
<div class="honner_01_text">
|
||
<p>ORICO is a brand that is deeply rooted in the exploration and application of USB technology. It has achieved remarkable results in fields of USB storage, charging and transmission for many years.</p>
|
||
<p>Honor is both acceptance and responsibility;</p>
|
||
<p>We are aiming to bring consumers around the world the freedom to pursue a better life.</p>
|
||
</div>
|
||
<div class="honner_01_list">
|
||
<ul>
|
||
<li>
|
||
<div class="big_text">20+</div>
|
||
<div class="small_text">Core technology and independent invention patent</div>
|
||
</li>
|
||
<li>
|
||
<div class="big_text">300+</div>
|
||
<div class="small_text">Product appearance design patent</div>
|
||
</li>
|
||
<li>
|
||
<div class="big_text">100+</div>
|
||
<div class="small_text">Product utility model patent</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="honner_02">
|
||
<div class="honner_title">Patent Licences</div>
|
||
<div class="honner_des">20+ Invention patent,300+ Design patent,100+ Utility model patent.</div>
|
||
<div class="swt-Container">
|
||
<img src="__PUBLIC__/weben/images/honor/honner_02.png">
|
||
</div>
|
||
</div>
|
||
|
||
<div class="honner_03">
|
||
<div class="honner_title">Intellectual Property</div>
|
||
<div class="honner_des">Our products, books, trademarks, etc. have independent intellectual property rights in many countries and regions, marking the brand's marching to the international step by step.</div>
|
||
<div class="swt-Container">
|
||
<img src="__PUBLIC__/weben/images/honor/honner_03.png">
|
||
</div>
|
||
</div>
|
||
|
||
<div class="honner_04">
|
||
<div class="honner_title">Certification & Testing </div>
|
||
<div class="honner_des">Strict quality control and access to authoritative certifications in various countries and regions are just our starting point.</div>
|
||
<div class="swt-Container">
|
||
<img src="__PUBLIC__/weben/images/honor/honner_04.png">
|
||
</div>
|
||
</div>
|
||
|
||
<div class="honner_05">
|
||
<div class="honner_title">Your Trust, Our Motivation</div>
|
||
<div class="honner_des">We maintain deep cooperation with many hardware vendors and well-known brands.</div>
|
||
<div class="swt-Container">
|
||
<img src="__PUBLIC__/weben/images/honor/honner_05.png">
|
||
</div>
|
||
</div> -->
|
||
<!-- bottom s -->
|
||
{include file="include/bottom" /}
|
||
<!-- bottom e -->
|
||
<script>
|
||
try {
|
||
k_win_ref = window.parent.document.referrer;
|
||
} catch(e) {
|
||
k_win_ref = '';
|
||
};
|
||
/*弹出框关闭*/
|
||
$(function() {
|
||
// 输入框失去焦点
|
||
$('.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');
|
||
}
|
||
})
|
||
// 提交表单
|
||
$('.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');
|
||
}
|
||
else{
|
||
if (/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(email) == false) {
|
||
$('#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: "/us/bulk_inquiry/create",
|
||
data: {'company':companyName, 'email':email,'country':region,'name':firstName,'last_name':lastName,'phone':$('.phone').val(),'interested':interesteds,'message':region,'refer':k_win_ref},
|
||
dataType: "json",
|
||
success: function(data){
|
||
if(data.code == 200) {
|
||
//alert(data.msg);
|
||
|
||
$("input[ type='text']").val('');
|
||
$(":input[name='interested']").attr("checked",false);
|
||
$('.region').val('');
|
||
|
||
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>
|
||
<style>
|
||
.csunbmit{height: 35px;margin-top: 10px;margin-bottom: 5px;}
|
||
.submitBtn{width: 75px;height: 30px;line-height: 26px;background-color: #339b53;text-align: center;display: block; color: #FFFFFF;font-size: 12px;border-radius: 6px;float: left;}
|
||
.cli{border-bottom: 1px dashed #ccc;text-align: left;font-size: 12px;}
|
||
.ccontent{width: 98%;padding: 10px; background: #f6f9fb;border:1px solid #ccc;margin-bottom: 10px}
|
||
</style>
|
||
</body>
|
||
</html> |