init
This commit is contained in:
52
app/mobile/view/antifake/anti_fake.phtml
Executable file
52
app/mobile/view/antifake/anti_fake.phtml
Executable file
@@ -0,0 +1,52 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>防伪、S/N码查询入口页</title>
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/m_web/css/subject/fake.css">
|
||||
<style>
|
||||
|
||||
.fake_button_img{
|
||||
font-size: 12px !important;
|
||||
margin: 40px 0px 0px 0px !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<!--头部-->
|
||||
{include file="include/top_back1" /}
|
||||
<div class="margin-top-60"></div>
|
||||
<div class="m_Container margin-top-90 overflow-h">
|
||||
<div class="fake">
|
||||
<div class="text_38 text_center text_black title">防伪查询</div>
|
||||
</div>
|
||||
|
||||
<div class="fake01">
|
||||
<div class="fake_content text_22 text_black">
|
||||
<div class="fake_border">
|
||||
<div class="margin-top-50 line-height-50 margin-bottom-48">
|
||||
注:输入防伪码可查询到产品真伪和产品信息,输入S/N码只能查询到产品信息,不能查询到产品真伪,如果需要查询产品真伪建议点击输入防伪码查询进行查询。
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fake_content">
|
||||
<div class="fake_button fake_button_img">
|
||||
<button><a href="__ORICOROOT__/antifake/anti_fake_sninput"><img src="__PUBLIC__/m_web/images/anti_fake/sn_code2.png"></a></button>
|
||||
<button><a href="__ORICOROOT__/antifake/anti_fake_input"><img src="__PUBLIC__/m_web/images/anti_fake/anti_fake_code2.png"></a></button>
|
||||
</div>
|
||||
|
||||
<!--底部-->
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
91
app/mobile/view/antifake/anti_fake_inlet.phtml
Executable file
91
app/mobile/view/antifake/anti_fake_inlet.phtml
Executable file
@@ -0,0 +1,91 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>防伪查询</title>
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/m_web/css/subject/anti-fake.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<!--头部-->
|
||||
{include file="include/top_back1" /}
|
||||
<div class="margin-top-60"></div>
|
||||
<div class="m_Container margin-top-90 overflow-h">
|
||||
<div class="fake">
|
||||
<div class="text_38 text_center text_black title">防伪查询</div>
|
||||
</div>
|
||||
|
||||
<div class="fake01">
|
||||
<div class="fake_content text_22 text_black">
|
||||
<div class="fake_border">
|
||||
<div class="margin-top-50 line-height-50 margin-bottom-48">
|
||||
注:扫描二维码可查询到产品真伪和产品信息,扫描S/N码只能查询到产品信息,不能查询到产品真伪,如果需要查询产品真伪建议直接扫描二维码进行查询。
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fake_content">
|
||||
<div class="fake_button margin-top-80 fake_button_img">
|
||||
<button id="sn"><img src="__PUBLIC__/m_web/images/anti_fake/sn_code1.png"></button>
|
||||
<button id="code"><img src="__PUBLIC__/m_web/images/anti_fake/anti_fake_code1.png"></button>
|
||||
</div>
|
||||
<!--底部-->
|
||||
</div>
|
||||
</body>
|
||||
<script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
|
||||
<script>
|
||||
wx.config({
|
||||
debug: false,
|
||||
appId: '<?php echo $singpackage["appId"];?>',
|
||||
timestamp: <?php echo $singpackage["timestamp"];?>,
|
||||
nonceStr: '<?php echo $singpackage["nonceStr"];?>',
|
||||
signature: '<?php echo $singpackage["signature"];?>',
|
||||
jsApiList: [
|
||||
// 所有要调用的 API 都要加到这个列表中
|
||||
"scanQRCode"
|
||||
]
|
||||
});
|
||||
wx.ready(function () {
|
||||
// 在这里调用 API
|
||||
$("#sn").click(function(){
|
||||
//要执行的代码写在这里
|
||||
wx.scanQRCode({
|
||||
needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
|
||||
scanType: ["qrCode","barCode"], // 可以指定扫二维码还是一维码,默认二者都有
|
||||
success: function (res) {
|
||||
//alert(res.resultStr);
|
||||
window.location.href='anti_fake_scan_snresult?qrresult='+res.resultStr; //跳转链接
|
||||
/*for(i in res ){
|
||||
//alert(i); //获得属性
|
||||
alert(i + "---" + res[i]); //获得属性值
|
||||
}*/
|
||||
//var result = res.resultStr; // 当needResult 为 1 时,扫码返回的结果
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
$("#code").click(function(){
|
||||
//要执行的代码写在这里
|
||||
wx.scanQRCode({
|
||||
needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
|
||||
scanType: ["qrCode","barCode"], // 可以指定扫二维码还是一维码,默认二者都有
|
||||
success: function (res) {
|
||||
//alert(res.resultStr);
|
||||
window.location.href='anti_fake_scan_result?qrresult='+res.resultStr; //跳转链接
|
||||
/* for(i in res ){
|
||||
//alert(i); //获得属性
|
||||
alert(i + "---" + res[i]); //获得属性值
|
||||
}*/
|
||||
//var result = res.resultStr; // 当needResult 为 1 时,扫码返回的结果
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</html>
|
||||
45
app/mobile/view/antifake/anti_fake_inlet_old.phtml
Executable file
45
app/mobile/view/antifake/anti_fake_inlet_old.phtml
Executable file
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>防伪查询</title>
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/m_web/css/subject/anti-fake.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<!--头部-->
|
||||
{include file="include/top" /}
|
||||
|
||||
<div class="m_Container margin-top-90 overflow-h">
|
||||
<div class="fake">
|
||||
<div class="text_38 text_center text_black title">防伪查询</div>
|
||||
</div>
|
||||
|
||||
<div class="fake01">
|
||||
<div class="fake_content text_22 text_black">
|
||||
<div class="fake_border">
|
||||
<div class="margin-top-50 line-height-50 margin-bottom-48">
|
||||
注:扫描二维码可查询到产品真伪和产品信息,扫描S/N码只能查询到产品信息,不能查询到产品真伪,如果需要查询产品真伪建议直接扫描二维码进行查询。
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fake_content">
|
||||
<div class="fake_button margin-top-80 fake_button_img">
|
||||
<button><a href="http://sao315.com/w/api/saoyisao?redirect_uri=http://www.orico.com.cn/mobile/antifake/anti_fake_scan_snresult"><img src="__PUBLIC__/m_web/images/anti_fake/sn_code1.png"></a></button>
|
||||
<button><a href="http://sao315.com/w/api/saoyisao?redirect_uri=http://www.orico.com.cn/mobile/antifake/anti_fake_scan_result"><img src="__PUBLIC__/m_web/images/anti_fake/anti_fake_code1.png"></a></button>
|
||||
</div>
|
||||
|
||||
<!--底部-->
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
54
app/mobile/view/antifake/anti_fake_input.phtml
Executable file
54
app/mobile/view/antifake/anti_fake_input.phtml
Executable file
@@ -0,0 +1,54 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>防伪查询入口</title>
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/m_web/css/subject/anti-fake.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<!--头部-->
|
||||
{include file="include/top_back1" /}
|
||||
|
||||
<div class="m_Container margin-top-90 overflow-h">
|
||||
<div class="fake">
|
||||
<div class="text_38 text_center text_black title">防伪查询</div>
|
||||
</div>
|
||||
<form action="<?php echo url('antifake/anti_fake_result');?>" method="post" onsubmit="return check();">
|
||||
<div class="fake">
|
||||
<input placeholder="请输入防伪码" name="fake" class="text_28 text_left text_l_gray">
|
||||
</div>
|
||||
<div class="fake">
|
||||
<div class="fake_content">
|
||||
<p class="text_28 text_left text_black margin-top-20">如何获取防伪码</p>
|
||||
<p class="text_18 text_left text_l_gray margin-top-14">防伪码在产品铭牌贴上可见(如图所示:)</p>
|
||||
<p class="margin-top-50 fake_01 text_center margin-bottom-48"><img src="__PUBLIC__/m_web/images/anti_fake/anti_fake.jpg"></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text_center">
|
||||
<div class="fake_button img-responsive margin-top-80">
|
||||
<button type="submit"><img src="__PUBLIC__/m_web/images/anti_fake/inquiry.png" ></button>
|
||||
</div>
|
||||
</form>
|
||||
<!--底部-->
|
||||
</div>
|
||||
<script>
|
||||
|
||||
/*判断是否提交表单*/
|
||||
function check() {
|
||||
var sn = $("input[name='fake'").val().length;
|
||||
if(!sn ==8){
|
||||
alert('请输入8位数防伪码');
|
||||
return false; //return false; 时,表单不提交
|
||||
}else {
|
||||
return true; //return true; 时,表单提交
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
64
app/mobile/view/antifake/anti_fake_result.phtml
Executable file
64
app/mobile/view/antifake/anti_fake_result.phtml
Executable file
@@ -0,0 +1,64 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>防伪码查询结果页</title>
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/m_web/css/subject/anti-fake.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<!--头部-->
|
||||
{include file="include/top_back1" /}
|
||||
|
||||
<div class="m_Container margin-top-90 overflow-h">
|
||||
<div class="fake">
|
||||
<div class="text_38 text_center text_black title">查询结果</div>
|
||||
</div>
|
||||
<div class="fake01">
|
||||
<div class="fake_content text_22 text_black">
|
||||
<div class="fake_border">
|
||||
<div class="margin-top-50 fake_l_height_38 margin-bottom-48">
|
||||
<?php if($data['result']==1){
|
||||
if($data['chicktime']!=date("Y-m-d H:i:s")){?>
|
||||
<p>尊敬的用户您好:</p>
|
||||
<p>
|
||||
您所查询的防伪码已{$data.chicktime}被查询过。如有疑问可联系客服,谢谢。
|
||||
</p>
|
||||
<?php }else{?>
|
||||
<p>尊敬的用户您好:</p>
|
||||
<p>您所查询的产品是正品,请您放心使用。</p>
|
||||
<?php }?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fake">
|
||||
<!--<div class="fake_content margin-top-50">
|
||||
<div class="f_left img-responsive"><img src="/uploads/product/3169U3/3169U3-L2.jpg"></div>
|
||||
<div class="f_right">
|
||||
<p class="text_32 text_black">产品信息</p>
|
||||
<p class="text_24 text_gray line-height-40 margin-top-10">产品名称:<?php echo $data['made_up_articles_name']; ?></p>
|
||||
<p class="text_24 text_gray line-height-40">产品型号:<?php echo $data['specifications_and_models']; ?></p>
|
||||
<!--<p class="text_24 text_gray line-height-40">出厂日期:<?php echo $data['production_date']; ?></p>
|
||||
<p class="text_24 text_gray line-height-40">保修日期至:<?php echo $data['mendtime']; ?></p>-->
|
||||
<!--</div>
|
||||
</div>-->
|
||||
<div class="fake_content">
|
||||
<p class="text_18 text_gray margin-top-40 margin-bottom-48">ORICO为本产品提供五年质保和免费技术支持服务,如产品出现故障,您可联系购买平台或ORICO客服服务中心,享受质保服务。</p>
|
||||
</div>
|
||||
</div>
|
||||
<?PHP }else{?>
|
||||
<div class="fake">
|
||||
<div class="fake_content">
|
||||
<div class="bg-white overflow-f text-l font-11 f-black fw_result_title">非常抱歉我没认出您所输入的信息,请重试或联系在线客服,谢谢。</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
54
app/mobile/view/antifake/anti_fake_scan_result.phtml
Executable file
54
app/mobile/view/antifake/anti_fake_scan_result.phtml
Executable file
@@ -0,0 +1,54 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>防伪码查询结果页</title>
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/m_web/css/subject/fake.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<!--头部-->
|
||||
{include file="include/top_back1" /}
|
||||
|
||||
<div class="m_Container margin-top-90 overflow-h">
|
||||
<div class="fake">
|
||||
<div class="text_38 text_center text_black title">查询结果</div>
|
||||
</div>
|
||||
<div class="fake01">
|
||||
<div class="fake_content text_22 text_black">
|
||||
<div class="fake_border">
|
||||
<div class="margin-top-50 fake_l_height_38 margin-bottom-48">
|
||||
<?php if($data['result']==1){
|
||||
if($data['chicktime']!=date("Y-m-d H:i:s")){?>
|
||||
<p>尊敬的用户您好:</p>
|
||||
<p>您所查询的防伪码已{$data.chicktime}被查询过。如有疑问可联系客服,谢谢。</p>
|
||||
<?php }else{?>
|
||||
<p>尊敬的用户您好:</p>
|
||||
<p>您所查询的产品是正品,请您放心使用。</p>
|
||||
<?php }?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fake">
|
||||
|
||||
<div class="fake_content">
|
||||
<p class="text_18 text_gray margin-top-40 margin-bottom-48">ORICO为本产品提供五年质保和免费技术支持服务,如产品出现故障,您可联系购买平台或ORICO客服服务中心,享受质保服务。</p>
|
||||
</div>
|
||||
</div>
|
||||
<?PHP }else{?>
|
||||
<div class="fake">
|
||||
<div class="fake_content">
|
||||
<p class="text_22 text_gray line_height_38 margin-top-20">非常抱歉我没认出您所输入的信息,请重试或联系在线客服,谢谢。 </p>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
63
app/mobile/view/antifake/anti_fake_scan_snresult.phtml
Executable file
63
app/mobile/view/antifake/anti_fake_scan_snresult.phtml
Executable file
@@ -0,0 +1,63 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>S/N码查询结果页</title>
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/m_web/css/subject/fake.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<!--头部-->
|
||||
{include file="include/top_back1" /}
|
||||
|
||||
<div class="m_Container margin-top-90 overflow-h">
|
||||
<div class="fake">
|
||||
<div class="text_38 text_center text_black title">查询结果</div>
|
||||
</div>
|
||||
<?php if($data['result']==1){?>
|
||||
<div class="fake">
|
||||
<!-- <div class="fake_content margin-top-50">
|
||||
<div class="f_left img-responsive"><img src="/uploads/product/3169U3/3169U3-L2.jpg"></div>
|
||||
<div class="f_right">
|
||||
<p class="text_32 text_black">产品信息</p>
|
||||
<p class="text_24 text_gray line-height-40 margin-top-10">产品名称:<?php echo $data['made_up_articles_name']; ?></p>
|
||||
<p class="text_24 text_gray line-height-40">产品型号:<?php echo $data['specifications_and_models']; ?></p>
|
||||
<!--<p class="text_24 text_gray line-height-40">出厂日期:<?php echo $data['production_date']; ?></p>
|
||||
<p class="text_24 text_gray line-height-40">保修日期至:<?php echo $data['mendtime']; ?></p>-->
|
||||
<!-- </div>
|
||||
</div> -->
|
||||
<div class="fake_content">
|
||||
<p class="text_18 text_gray margin-top-40 margin-bottom-48">
|
||||
<?php
|
||||
if (strpos($data['made_up_articles_name'], 'NGFF') !== false) {
|
||||
$data['aditmend'] = 5;
|
||||
|
||||
}
|
||||
elseif(strpos($data['made_up_articles_name'], 'NVME') !== false){
|
||||
$data['aditmend'] = 3;
|
||||
}
|
||||
else{
|
||||
$data['aditmend'] = '5';
|
||||
}
|
||||
|
||||
?>
|
||||
ORICO为本产品提供<?php echo $data['aditmend'];?>年质保和免费技术支持服务,如产品出现故障,您可联系购买平台或ORICO客服服务中心,享受质保服务。</p>
|
||||
</div>
|
||||
</div>
|
||||
<?PHP }else{?>
|
||||
<div class="bg-white overflow-f text-l font-11 f-black fw_result_title"><div class="fw_l">非常抱歉我没认出您所输入的信息,请重试或联系在线客服,谢谢。 </div></div>
|
||||
<?php }?>
|
||||
|
||||
<p class="text_22 text_gray line_height_38 margin-top-20">注:S/N码只能查询到产品信息,如需查询产品真伪可点击<a href="http://sao315.com/w/api/saoyisao?redirect_uri=http://www.orico.com.cn/mobile/antifake/anti_fake_scan_result" class="text_blue">“扫描二维码”</a>进入真伪查询页面扫描二维码进行查询。</p>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
54
app/mobile/view/antifake/anti_fake_sninput.phtml
Executable file
54
app/mobile/view/antifake/anti_fake_sninput.phtml
Executable file
@@ -0,0 +1,54 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>S/N码查询入口</title>
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/m_web/css/subject/anti-fake.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<!--头部-->
|
||||
{include file="include/top_back1" /}
|
||||
|
||||
<div class="m_Container margin-top-90 overflow-h">
|
||||
<div class="fake">
|
||||
<div class="text_38 text_center text_black title">S/N码查询</div>
|
||||
</div>
|
||||
<form action="<?php echo url('antifake/anti_fake_snresult');?>" method="post" onsubmit="return check();">
|
||||
<div class="fake">
|
||||
<input placeholder="请输入S/N码" name="sn" class="text_28 text_left text_l_gray">
|
||||
</div>
|
||||
<div class="fake">
|
||||
<div class="fake_content">
|
||||
<p class="text_28 text_left text_black margin-top-20">如何获取S/N码</p>
|
||||
<p class="text_18 text_left text_l_gray margin-top-14">S/N码在产品铭牌贴上可见(如图所示:)</p>
|
||||
<p class="margin-top-50 fake_01 text_center margin-bottom-48"><img src="__PUBLIC__/m_web/images/anti_fake/fake_01.jpg"></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text_center">
|
||||
<div class="fake_button img-responsive margin-top-80">
|
||||
<button type="submit"><img src="__PUBLIC__/m_web/images/anti_fake/inquiry.png" ></button>
|
||||
</div>
|
||||
</form>
|
||||
<!--底部-->
|
||||
</div>
|
||||
<script>
|
||||
|
||||
/*判断是否提交表单*/
|
||||
function check() {
|
||||
var sn = $("input[name='sn'").val().length;
|
||||
if(sn < 12 || sn >16){
|
||||
alert('请输入12~16位数SN码');
|
||||
return false; //return false; 时,表单不提交
|
||||
}else {
|
||||
return true; //return true; 时,表单提交
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
68
app/mobile/view/antifake/anti_fake_snresult.phtml
Executable file
68
app/mobile/view/antifake/anti_fake_snresult.phtml
Executable file
@@ -0,0 +1,68 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>S/N码查询结果页</title>
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/m_web/css/subject/fake.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<!--头部-->
|
||||
{include file="include/top_back1" /}
|
||||
|
||||
<div class="m_Container margin-top-90 overflow-h">
|
||||
<div class="fake">
|
||||
<div class="text_38 text_center text_black title">查询结果</div>
|
||||
</div>
|
||||
<?php if($data['result']==1){?>
|
||||
<div class="fake">
|
||||
<div class="fake_content margin-top-50">
|
||||
<div class="f_left img-responsive"><img src="<?php echo $data['img']; ?>"></div>
|
||||
<div class="f_right">
|
||||
<p class="text_32 text_black">产品信息</p>
|
||||
<p class="text_24 text_gray line-height-40 margin-top-10">产品名称:<?php echo $data['made_up_articles_name']; ?></p>
|
||||
<p class="text_24 text_gray line-height-40">产品型号:<?php echo $data['specifications_and_models']; ?></p>
|
||||
<p class="text_24 text_gray line-height-40">生产日期:<?php echo $data['production_date']; ?></p>
|
||||
<!--<p class="text_24 text_gray line-height-40">保修日期至:<?php echo $data['mendtime']; ?></p>-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="fake_content">
|
||||
<p class="text_18 text_gray margin-top-40 margin-bottom-48">
|
||||
<?php
|
||||
if (strpos($data['made_up_articles_name'], 'NGFF') !== false) {
|
||||
$data['aditmend'] = 5;
|
||||
|
||||
}
|
||||
elseif(strpos($data['made_up_articles_name'], 'NVME') !== false){
|
||||
$data['aditmend'] = 3;
|
||||
}
|
||||
else{
|
||||
$data['aditmend'] = '5';
|
||||
}
|
||||
|
||||
?>
|
||||
ORICO为本产品提供<?php echo $data['aditmend'];?>年质保和免费技术支持服务,如产品出现故障,您可联系购买平台或ORICO客服服务中心,享受质保服务。</p>
|
||||
</div>
|
||||
</div>
|
||||
<?PHP }else{?>
|
||||
<div class="fake">
|
||||
<div class="fake_content">
|
||||
<p class="text_22 text_gray margin-top-40 margin-bottom-48">尊敬的用户您好:<br>
|
||||
您输入的S/N码是不正确的,<a href="__ORICOROOT__/antifake/anti_fake_sninput" class="text_blue">请输重新输入!</a></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<p class="text_22 text_gray line_height_38 margin-top-20">注:S/N码只能查询到产品信息,如需查询产品真伪可点击<a href="__ORICOROOT__/antifake/anti_fake_input" class="text_blue">“防伪码查询”</a>进入真伪查询页面进行查询。</p>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
52
app/mobile/view/antifake/index.phtml
Executable file
52
app/mobile/view/antifake/index.phtml
Executable file
@@ -0,0 +1,52 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>防伪、S/N码查询入口页</title>
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/m_web/css/subject/fake.css">
|
||||
<style>
|
||||
|
||||
.fake_button_img{
|
||||
font-size: 12px !important;
|
||||
margin: 0 auto;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<!--头部-->
|
||||
{include file="include/top_back1" /}
|
||||
<div class="margin-top-60"></div>
|
||||
<div class="m_Container margin-top-90 overflow-h">
|
||||
<div class="fake">
|
||||
<div class="text_38 text_center text_black title">防伪查询</div>
|
||||
</div>
|
||||
|
||||
<div class="fake01">
|
||||
<div class="fake_content text_22 text_black">
|
||||
<div class="fake_border">
|
||||
<div class="margin-top-50 line-height-50 margin-bottom-48">
|
||||
注:输入防伪码可查询到产品真伪和产品信息,输入S/N码只能查询到产品信息,不能查询到产品真伪,建议输入防伪码进行查询。
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fake_content">
|
||||
<div class="fake_button fake_button_img">
|
||||
<button><a href="__ORICOROOT__/antifake/anti_fake_sninput"><img src="__PUBLIC__/m_web/images/anti_fake/sn_code2.png"></a></button>
|
||||
<button><a href="__ORICOROOT__/antifake/anti_fake_input"><img src="__PUBLIC__/m_web/images/anti_fake/anti_fake_code2.png"></a></button>
|
||||
</div>
|
||||
|
||||
<!--底部-->
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user