Files
admin-jxn-testing/public/h5/query.html
2024-08-29 09:44:54 +08:00

224 lines
4.5 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
<!-- <meta name="viewport"
content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, width=device-width"> -->
<meta name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="screen-orientation" content="portrait">
<meta name="full-screen" content="yes">
<meta name="browsermode" content="application">
<meta name="x5-orientation" content="portrait">
<title>溯源信息</title>
<style>
*,
div,
img,
ul,
li,
span {
margin: 0;
padding: 0;
box-sizing: border-box;
font-size: 14px;
font-family: "微软雅黑";
font-weight: normal;
color: #333;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
li {
list-style: none;
}
body {
width: 100%;
}
.main_img {
width: 100%;
/* position: absolute; */
}
.main_img img {
position: relative;
width: 100%;
}
.main_box {
margin-top: -100px;
}
.item_box {
width: 96%;
margin: 0px 2%;
color: #46D6A8;
margin-top: 15px;
background: #fff;
position: relative;
display: flex;
flex-direction: column;
min-width: 0;
word-wrap: break-word;
border: 1px solid rgba(0, 0, 0, .125);
border-radius: 10px;
}
.item_box .item_title {
padding: 24px;
box-sizing: border-box;
text-align: left;
font-size: 14px;
letter-spacing: 2px;
height: 40px;
line-height: 24px;
border-radius: 8px 8px 0 0;
display: flex;
align-items: center;
padding-left: 14px;
background-color: #DAFCE4;
}
.item_box .item_title span:nth-child(1) {
width: 100%;
width: 3px;
height: 14px;
background: #46D6A8;
}
.item_box .item_title span:nth-child(2) {
margin-left: 10px;
color: #46D6A8;
;
}
ul {
padding: 10px 10px 20px;
}
li {
height: 40px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid rgba(0, 0, 0, .125);
}
li div {
height: 40px;
line-height: 40px;
color: #999;
}
.topimg {
display: flex;
justify-content: center;
height: 100% !important;
position: absolute;
width: 100%;
z-index: 9999;
padding-top: 80%;
background: rgba(0, 0, 0, .5);
display: none;
}
.btn-box {
width: 100%;
display: flex;
justify-content: center;
position: relative;
z-index: 999;
margin-top: 40px;
}
.query-btn {
width: 345px;
height: 50px;
border-radius: 50px;
background-color: #46D6A8;
color: #fff;
border: none;
}
.input-box {
position: relative;
z-index: 999;
margin-top: -110px;
display: flex;
justify-content: center;
}
.box-inner {
width: 345px;
height: 50px;
padding: 0 30px;
line-height: 50px;
border-radius: 50px;
background-color: #fff;
}
.inner-text {
color: #A6A6A6;
font-size: 14px;
display: inline-block;
}
.inner-input {
display: inline-block;
margin-left: 50px;
border: none;
outline: none;
}
.inner-input::placeholder {
color: #A6A6A6
}
</style>
</head>
<body id="bodydiv" style="background-color:#E9F3FB ;">
<!-- 顶部图片 -->
<div class="main_img">
<img src="./img/query_bg.png">
<div class="input-box">
<div class="box-inner">
<span class="inner-text">检疫耳标号</span>
<input class="inner-input" type="text" placeholder="请输入检疫耳标号">
</div>
</div>
</div>
<div class="btn-box">
<button class="query-btn" id="btn">查询</button>
</div>
</body>
<script>
window.onload = function () {
var btn = document.getElementById("btn");
btn.addEventListener("click", function () {
var url = 'https://demo-cattle-source.aiotagro.com/h5/record.html'
window.location.href = url
}, false)
}
</script>
</html>