init
This commit is contained in:
75
app/index/view/fake/fake_result.phtml
Executable file
75
app/index/view/fake/fake_result.phtml
Executable file
@@ -0,0 +1,75 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<title>防伪码查询结果</title>
|
||||
{include file="include/head" /}
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/web/css/subject/Anti-Fake.css">
|
||||
</head>
|
||||
|
||||
<body class="bg-gray">
|
||||
<!--top-->
|
||||
<header class="header-PC header-Product">
|
||||
<div id="header" class="theme-black">
|
||||
|
||||
{include file="include/top-header2023" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<div class="indexbox-product">
|
||||
<div class="swt-Container overflow-f">
|
||||
<div class="product_address "><a href="__ORICOROOT__" class="f-black">首页</a><span class="icon-arrow arrow_address"></span><a href="__ORICOROOT__/index/fake">验证服务</a><span class="icon-arrow arrow_address"></span>真伪信息查询</div>
|
||||
<div class="bg-white overflow-f text-c font-11 f_blue f_weight_600 fw_result_title ">防伪码{$data.fake}查询结果</div>
|
||||
<?php if($data['result']==1){?>
|
||||
<?php if($data['chicktime']!=date("Y-m-d H:i:s")){?>
|
||||
<div class="bg-white overflow-f text-l font-11 f-black fw_result_title"><div class="fw_l">尊敬的用户您好:<br>{$data.made_up_articles_name}产品防伪码已查询过,查询时间:{$data.chicktime}。谨防假冒!如有疑问请拨打服务热线 400-6696-298查问咨询。
|
||||
</div></div>
|
||||
<?php }else{?>
|
||||
<div class="bg-white overflow-f text-l font-11 f-black fw_result_title"><div class="fw_l">尊敬的用户您好:您查询的产品:{$data.made_up_articles_name}为ORICO正品,感谢您的使用,谢谢! </div></div>
|
||||
<?php }?>
|
||||
<div class="bg-white overflow-f" style="margin-bottom: 4vw;">
|
||||
<div class="fw_result">
|
||||
<div class="f-black font-11 f-black">产品信息</div>
|
||||
<ul>
|
||||
<li>
|
||||
<div class="left img-responsive"><img src="https://www.orico.com.cn/uploads/product/3169U3/3169U3-L2.jpg"></div>
|
||||
<div class="right">
|
||||
<p class="padding-t-5vw">产品名称:<?php echo $data['made_up_articles_name']; ?></p>
|
||||
<p class="padding-t-5vw">产品型号:<?php echo $data['specifications_and_models']; ?></p>
|
||||
<p class="padding-t-5vw">出厂日期:<?php echo $data['production_date']; ?></p>
|
||||
<p class="padding-t-5vw">保修日期至:<?php echo $data['mendtime']; ?></p>
|
||||
<p class="padding-t-5vw">ORICO为本产品提供五年质保和免费技术支持服务,如产品出现故障,您可联系购买平台或ORICO客服服务中心,享受质保服务。</p>
|
||||
<div class="padding-t-5vw"><a href="__PUBLIC__/web/images/Anti-Fake/SSD-Warranty.pdf" target="_blank"><span class="fw_button font-16 bg_blue pop_check cursor_p">质保详情</span></a></div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="img-responsive margin-t-50 padding-t-8vw">
|
||||
<img src="__PUBLIC__/web/images/Anti-Fake/fake_02.jpg">
|
||||
<p class="padding-t-8vw">*注:铭牌贴贴纸不要撕毁或者损坏,否则将无法进行保修。</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?PHP }else{?>
|
||||
<div class="bg-white overflow-f text-l font-11 f-black fw_result_title" style="margin-bottom: 2vw;"><div class="fw_l">尊敬的用户您好:您查询的产品不是ORICO正品,请联系销售方! </div></div>
|
||||
<?php }?>
|
||||
</div>
|
||||
<div></div>
|
||||
<script src="__PUBLIC__/adminlte/plugins/iCheck/icheck.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("#verifyimg, #averifyimg").click(function(event) {
|
||||
event.preventDefault();
|
||||
$img = $("#verifyimg");
|
||||
$img.attr("src", "<?php echo url('/captcha/authcode');?>?t=" + Math.random());
|
||||
//$img.attr("src", $img.attr("src").substring(0, 21) + "?" + Math.random());
|
||||
//jQuery(this).attr("src", "<?php echo url('/admin/authcode/verify');?>?" + Math.random());
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom2023" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
138
app/index/view/fake/index.phtml
Executable file
138
app/index/view/fake/index.phtml
Executable file
@@ -0,0 +1,138 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<title>防伪码查询页</title>
|
||||
{include file="include/head" /}
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/web/css/subject/Anti-Fake.css">
|
||||
</head>
|
||||
|
||||
<body class="bg-gray">
|
||||
<!--top-->
|
||||
<header class="header-PC header-Product">
|
||||
<div id="header" class="theme-black">
|
||||
|
||||
{include file="include/top-header2023" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<div class="indexbox-product">
|
||||
<div class="swt-Container overflow-f padding-b-80">
|
||||
<div class="product_address "><a href="__ORICOROOT__" class="f-black">首页</a><span class="icon-arrow arrow_address"></span>验证服务</div>
|
||||
<div class="overflow-f text-c f-black font-11">
|
||||
<div class="fw_fw_title fw_on"><span class="cursor_p">请输入防伪码</span></div><div class="fw_sn_title"><span class="cursor_p">请输入S/N码</span></div>
|
||||
</div>
|
||||
<div class="bg-white overflow-f">
|
||||
<div class="fw_01 fw_one">
|
||||
<ul>
|
||||
<li>
|
||||
<p class="fw_search img-responsive"><img src="__PUBLIC__/web/images/Anti-Fake/fw_01.jpg"></p>
|
||||
<p class="font-11 f-black">请输入防伪码</p>
|
||||
<p class="font-9 f-l-gray padding-t-5vw">输入产品铭牌贴上二维码下方防伪码查询真伪以及质保信息</p>
|
||||
<form action="<?php echo url('fake/fake_result');?>" method="post" class="fw_form">
|
||||
<p class="padding-t-8vw"><input placeholder="请输入防伪码" name="fake" id="sn" class="w-65"></p>
|
||||
<p class="padding-t-8vw"><input placeholder="请输入验证码" name="captcha" class="w-25"> <img id="verifyimg" src="<?php echo url('/captcha/authcode');?>" class="img-responsive margin-l-1" style="height: 2.5em;"><button type="button" class="f-gray font-16 btn-primary margin-l-1" id="averifyimg">换一个</button></p>
|
||||
<p class="padding-t-8vw"><span class="fw_button font-16 bg_blue pop_check cursor_p">立即查询</span></p>
|
||||
<!--弹出框-->
|
||||
<div class="Popup_all" style="display: none;">
|
||||
<div class="Popup">
|
||||
<div class="close"><span class="cursor_p"><img src="__PUBLIC__/web/images/Anti-Fake/close.jpg"></span></div>
|
||||
<div class="Popup_content">
|
||||
<div class="font-11 f-black text-c">温馨提示</div>
|
||||
<div class="font-9 f-l-gray margin-t-10vw">产品防伪码只可查询一次,如产品被二次查询,谨防假冒!如有疑问请拨打服务热线 400-6696-298查问咨询。</div>
|
||||
|
||||
<p class="text-c margin-t-20vw"><button class="fw_button font-16 bg_blue" type="submit">立即查询</button></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</li>
|
||||
<li>
|
||||
<p class="font-11 f-black">如何获取防伪码</p>
|
||||
<p class="font-9 f-l-gray padding-t-5vw">可在固态硬盘上找到铭牌贴:</p>
|
||||
<p class="padding-t-5vw img-responsive"><img src="__PUBLIC__/web/images/Anti-Fake/fake.jpg"></p>
|
||||
<p class="font-9 f-l-gray padding-t-5vw">注:铭牌贴贴纸不要撕毁或者损坏,否则将无法进行保修。</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="fw_01 fw_two" style="display: none">
|
||||
<ul>
|
||||
<li>
|
||||
<p class="fw_search img-responsive"><img src="__PUBLIC__/web/images/Anti-Fake/fw_01.jpg"></p>
|
||||
<p class="font-11 f-black">请输入S/N码</p>
|
||||
<p class="font-9 f-l-gray padding-t-5vw">输入产品铭牌贴上S/N码查询真伪以及质保信息</p>
|
||||
<form action="<?php echo url('fake/sn_result');?>" method="post" class="fw_form">
|
||||
<p class="padding-t-8vw"><input placeholder="请输入S/N码" name="sn" id="sn" class="w-65"></p>
|
||||
<p class="padding-t-8vw"><input placeholder="请输入验证码" name="captcha" class="w-25"> <img id="verifyimg1" src="<?php echo url('/captcha/authcode');?>" class="img-responsive margin-l-1" style="height: 2.5em;"><button type="button" class="f-gray font-16 btn-primary margin-l-1" id="averifyimg1">换一个</button></p>
|
||||
<p class="padding-t-8vw"><button class="fw_button font-16 bg_blue" type="submit">立即查询</button></p>
|
||||
</form>
|
||||
</li>
|
||||
<li>
|
||||
<p class="font-11 f-black">如何获取S/N码</p>
|
||||
<p class="font-9 f-l-gray padding-t-5vw">可在固态硬盘上找到铭牌贴:</p>
|
||||
<p class="padding-t-5vw img-responsive"><img src="__PUBLIC__/web/images/Anti-Fake/sn_01.jpg"></p>
|
||||
<p class="font-9 f-l-gray padding-t-5vw">注:铭牌贴贴纸不要撕毁或者损坏,否则将无法进行保修。</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
</div>
|
||||
<script src="__PUBLIC__/adminlte/plugins/iCheck/icheck.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
/*验证码*/
|
||||
$(function() {
|
||||
$("#verifyimg, #averifyimg").click(function(event) {
|
||||
event.preventDefault();
|
||||
$img = $("#verifyimg");
|
||||
$img.attr("src", "<?php echo url('/captcha/authcode');?>?t=" + Math.random());
|
||||
//$img.attr("src", $img.attr("src").substring(0, 21) + "?" + Math.random());
|
||||
//jQuery(this).attr("src", "<?php echo url('/admin/authcode/verify');?>?" + Math.random());
|
||||
});
|
||||
});
|
||||
/*验证码1*/
|
||||
$(function() {
|
||||
$("#verifyimg1, #averifyimg1").click(function(event) {
|
||||
event.preventDefault();
|
||||
$img = $("#verifyimg1");
|
||||
$img = $("#verifyimg1");
|
||||
$img.attr("src", "<?php echo url('/captcha/authcode');?>?t=" + Math.random());
|
||||
//$img.attr("src", $img.attr("src").substring(0, 21) + "?" + Math.random());
|
||||
//jQuery(this).attr("src", "<?php echo url('/admin/authcode/verify');?>?" + Math.random());
|
||||
});
|
||||
}); /*切换效果*/
|
||||
$(document).ready(function(){
|
||||
$(".fw_fw_title").click(function(){
|
||||
$(this).addClass("fw_on");
|
||||
$(this).siblings().removeClass("fw_on");
|
||||
$(".fw_one").show();
|
||||
$(".fw_two").hide();
|
||||
|
||||
});
|
||||
$(".fw_sn_title").click(function(){
|
||||
$(this).addClass("fw_on");
|
||||
$(this).siblings().removeClass("fw_on")
|
||||
$(".fw_one").hide();
|
||||
$(".fw_two").show();
|
||||
});
|
||||
|
||||
/*点击弹出效果*/
|
||||
$(".Popup_all").hide();
|
||||
$(".pop_check").click(function(){
|
||||
$(".Popup_all").show();
|
||||
});
|
||||
$(".close").click(function(){
|
||||
$(".Popup_all").hide();
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom2023" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
68
app/index/view/fake/sn_result.phtml
Executable file
68
app/index/view/fake/sn_result.phtml
Executable file
@@ -0,0 +1,68 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<title>SN码查询结果</title>
|
||||
{include file="include/head" /}
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/web/css/subject/Anti-Fake.css">
|
||||
</head>
|
||||
|
||||
<body class="bg-gray">
|
||||
<!--top-->
|
||||
<header class="header-PC header-Product">
|
||||
<div id="header" class="theme-black">
|
||||
|
||||
{include file="include/top-header2023" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<div class="indexbox-product">
|
||||
<div class="swt-Container overflow-f padding-b-80">
|
||||
<div class="product_address "><a href="__ORICOROOT__" class="f-black">首页</a><span class="icon-arrow arrow_address"></span><a href="__ORICOROOT__/index/fake">技本支持</a><span class="icon-arrow arrow_address"></span>保修信息查询</div>
|
||||
<div class="bg-white overflow-f text-c font-11 f_blue f_weight_600 fw_result_title">S/N码<?php echo $data['sn']; ?>查询结果</div>
|
||||
<?php if($data['result']==1){?>
|
||||
<div class="bg-white overflow-f">
|
||||
<div class="fw_result">
|
||||
<div class="f-black font-11 f-black">产品信息</div>
|
||||
<ul>
|
||||
<li>
|
||||
<div class="left img-responsive"><img src="https://www.orico.com.cn/uploads/product/3169U3/3169U3-L2.jpg"></div>
|
||||
<div class="right">
|
||||
<p class="padding-t-5vw">产品名称:<?php echo $data['made_up_articles_name']; ?></p>
|
||||
<p class="padding-t-5vw">产品型号:<?php echo $data['specifications_and_models']; ?></p>
|
||||
<p class="padding-t-5vw">出厂日期:<?php echo $data['production_date']; ?></p>
|
||||
<p class="padding-t-5vw">保修日期至:<?php echo $data['mendtime']; ?></p>
|
||||
<p class="padding-t-5vw">ORICO为本产品提供五年质保和免费技术支持服务,如产品出现故障,您可联系购买平台或ORICO客服服务中心,享受质保服务。</p>
|
||||
<div class="padding-t-5vw"><a href="__PUBLIC__/web/images/Anti-Fake/SSD-Warranty.pdf" target="_blank"><span class="fw_button font-16 bg_blue pop_check cursor_p">质保详情</span></a></div> </div>
|
||||
</li>
|
||||
<li class="img-responsive margin-t-50 padding-t-8vw">
|
||||
<img src="__PUBLIC__/web/images/Anti-Fake/sn_02.jpg">
|
||||
<p class="padding-t-8vw">*注:S/N码只能查询到产品信息并不能查询到产品真伪,如需查询产品真伪输入二维码下方序列码进行查询。</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?PHP }else{?>
|
||||
<div class="bg-white overflow-f text-l font-11 f-black fw_result_title"><div class="fw_l">尊敬的用户您好:您查询的产品不是ORICO正品,请联系销售方! </div></div>
|
||||
<?php }?>
|
||||
</div>
|
||||
<div></div>
|
||||
<script src="__PUBLIC__/adminlte/plugins/iCheck/icheck.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("#verifyimg, #averifyimg").click(function(event) {
|
||||
event.preventDefault();
|
||||
$img = $("#verifyimg");
|
||||
$img.attr("src", "<?php echo url('/captcha/authcode');?>?t=" + Math.random());
|
||||
//$img.attr("src", $img.attr("src").substring(0, 21) + "?" + Math.random());
|
||||
//jQuery(this).attr("src", "<?php echo url('/admin/authcode/verify');?>?" + Math.random());
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom2023" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user