This commit is contained in:
2024-10-29 14:04:59 +08:00
commit 48bf3e6f33
2839 changed files with 762707 additions and 0 deletions

View File

@@ -0,0 +1,146 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>举报_ORICO/奥睿科官网</title>
<meta name="Keywords" content=""/>
<meta name="Description" content=""/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/m_web/css/subject/report.css">
{include file="include/head" /}
<style>
</style>
<body style="background-color:#FFF;">
<div id="content">
<!--top-->
{include file="include/top" /}
<!--top End-->
<!--banner-->
<div class="img-responsive margin-top-90">
<img src="__PUBLIC__/m_web/images/report/banner.jpg">
</div>
<div class="m_Container margin-top-14 f-black">
<p class="text_24">谨防仿冒伪劣产品</p>
<p class="text_24 f_weight_100 line_height_38">为了保护您免受假货困扰以及ORICO的品牌形象我们提供了仿冒伪劣产品的举报渠道如发现或疑似假货的产品请立即举报并提供以下信息官方检测人员会立即进行审核谢谢您的配合。</p>
<p class="text_24 margin-top-14 f_weight_100 line_height_38"><span class="f_weight_400">请填写以下表格告知我们您看到的可能不是orico正品的产品</span><br>(注意带*为必填项)</p>
<div class="report_input text_24 margin-top-30 f_weight_100 ">
<ul>
<li>
<label>产品的名称是什么?<span>*</span></label>
<input type="text" name="product_name" id="product_name">
<span style="display: none; font-size: 0.875em">请输入产品名称</span>
</li>
<li>
<label>你的名字</label>
<input class="" type="text" name="customer_name" id="customer_name">
</li>
<li>
<label>产品型号什么?<span>*</span></label>
<input type="text" id="product_model" name="product_model">
<span style="display: none; font-size: 0.875em">请输入产品型号</span>
</li>
<li>
<label>您的邮件地址</label>
<input type="text" id="customer_email" name="customer_email">
</li>
<li>
<label>产品生产厂商是什么?<span>*</span></label>
<input type="text" id="product_manufacturer" name="product_manufacturer">
<span style="display: none; font-size: 0.875em">请输入产品生产厂商</span>
</li>
<li>
<label>你的电话号码</label>
<input type="text" id="customer_telephone" name="customer_telephone">
</li>
<li>
<label>产品价格是多少?</label>
<input class="" type="text" id="product_price" name="product_price">
</li>
<li>
<label>购买渠道是什么?</label>
<input type="text" id="buy_source" name="buy_source">
</li>
<li>
<label>你为什么认为这个产品是假冒的?它与价格、质量、包装或其他原因有关吗?</label>
<textarea id="description" rows="6" class="f_weight_100"></textarea>
</li>
</ul>
<button class="text_24 margin-top-30 margin-bottom-60" onclick="submit()">立即提交</button>
</div>
</div>
<!-- bottom -->
{include file="include/bottom" /}
<!-- bottom e -->
</div>
<script>
$(document).ready(function() {
$("input").focus(function(){
$(".report_input span").hide();
})
});
function submit() {
var product_name = $("#product_name").val(); // 产品名称
var customer_name = $("#customer_name").val(); // 名字
var product_model = $("#product_model").val(); // 产品型号
var customer_email = $("#customer_email").val(); // email
var product_manufacturer = $("#product_manufacturer").val(); // 生产厂商
var customer_telephone = $("#customer_telephone").val(); // 手机号码
var product_price = $("#product_price").val(); // 价格
var buy_source = $("#buy_source").val(); // 购买渠道
var description = $("#description").val(); //仿冒产品原因*/
var data = {
"product_name": product_name,
"customer_name": customer_name,
"product_model": product_model,
"customer_email": customer_email,
"product_manufacturer": product_manufacturer,
"customer_telephone": customer_telephone,
"product_price": product_price,
"buy_source": buy_source,
"description": description
};
if (product_name.length == 0) {
$("#product_name").next("span").show();
}
if (product_model.length == 0) {
$("#product_model").next("span").show();
}
if (product_manufacturer.length == 0) {
$("#product_manufacturer").next("span").show();
}
// Ajax提交数据
$.ajax({
url: "/index/group/create_report", // 提交到controller的url路径
type: "post", // 提交方式
data: data, // data为String类型必须为 Key/Value 格式。
dataType: "json", // 服务器端返回的数据类型
success: function (data) { // 请求成功后的回调函数其中的参数data为controller返回的map,也就是说,@ResponseBody将返回的map转化为JSON格式的数据然后通过data这个参数取JSON数据中的值
if (data.code == 200)
{
alert("已提交成功");
location.reload();
}
else if (data.code == -100)
{
alert(data.msg);
location.href = 'login.html';
}
else
alert(data.msg);
},
});
}
</script>
</body>
</html>