init
This commit is contained in:
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>
|
||||
Reference in New Issue
Block a user