版本初始化
This commit is contained in:
267
public/h5/wzhH5.html
Normal file
267
public/h5/wzhH5.html
Normal file
@@ -0,0 +1,267 @@
|
||||
<!DOCTYPE html>
|
||||
<html id="bodydiv" 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 {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.main_box {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: -100px;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.item_box {
|
||||
width: 96%;
|
||||
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;
|
||||
background: #E7ECF2;
|
||||
border-radius: 8px 8px 0 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-left: 14px;
|
||||
background-color: rgba(126, 182, 62, 0.1);
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
#img1 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
height: 180% !important;
|
||||
position: absolute;
|
||||
background: rgba(0, 0, 0, .5);
|
||||
width: 100%;
|
||||
z-index: 9999;
|
||||
padding-top: 80%;
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* html,
|
||||
body {
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
} */
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body id="bodydiv">
|
||||
<!-- 顶部图片 -->
|
||||
<div>
|
||||
<div class="topimg" id="img1">
|
||||
<div>
|
||||
<img style="width: 240px;height: 260px;"
|
||||
src="https://smart-1251449951.cos.ap-guangzhou.myqcloud.com/jusu/2024/07/22/图片(1)20240722173455.png"
|
||||
alt="">
|
||||
</div>
|
||||
<div id="myDiv1" style="font-size: 30px;color: rgb(255, 255, 255);">×</div>
|
||||
</div>
|
||||
<div class="main_img">
|
||||
<img src="https://smart-1251449951.cos.ap-guangzhou.myqcloud.com/jusu/2024/07/23/220240723160432.png">
|
||||
</div>
|
||||
<div class="main_box">
|
||||
<div class="item_box">
|
||||
<div class="item_title"><span></span><span>药品基本信息</span></div>
|
||||
<ul>
|
||||
<li>
|
||||
<div class="item_name">药品照片</div>
|
||||
<div class="item_center" style="width: 50px;height: 100%;"><img id="myDiv" style="width: 50px;"
|
||||
src="https://smart-1251449951.cos.ap-guangzhou.myqcloud.com/jusu/2024/07/22/图片(1)20240722173455.png"
|
||||
alt=""></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="item_name">药品编号</div>
|
||||
<div class="item_center">164735277755216851</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="item_name">药品名称</div>
|
||||
<div class="item_center">兽用阿莫西林可溶性粉</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="item_name">药品类型</div>
|
||||
<div class="item_center">抗生素</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="item_name">药品已售数量</div>
|
||||
<div class="item_center">45</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="item_box">
|
||||
<div class="item_title"><span></span><span>药店基本信息</span></div>
|
||||
<ul>
|
||||
<li>
|
||||
<div class="item_name">药店编号</div>
|
||||
<div class="item_center">10003251</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="item_name">药店名称</div>
|
||||
<div class="item_center">瑞丰兽药店</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="item_name">法定代表人</div>
|
||||
<div class="item_center">孙维</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="item_name">联系电话</div>
|
||||
<div class="item_center">13000023021</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="item_name">登记机关</div>
|
||||
<div class="item_center">西吉县市场监督管理局</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="item_name">成立日期</div>
|
||||
<div class="item_center">2021-07-13</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="item_name">经营状态</div>
|
||||
<div class="item_center">在业</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="item_box">
|
||||
<div class="item_title"><span></span><span>药品厂家信息</span></div>
|
||||
<ul>
|
||||
<li>
|
||||
<div class="item_name">生产厂家</div>
|
||||
<div class="item_center">大连博莱药业有限公司</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="item_name">厂家经营状态</div>
|
||||
<div class="item_center">正常经营</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="item_box">
|
||||
<div class="item_title"><span></span><span>售卖记录</span></div>
|
||||
<img style="width: 100%;margin-top: 20px;"
|
||||
src="https://smart-1251449951.cos.ap-guangzhou.myqcloud.com/jusu/2024/07/24/Steps 步骤条120240724111909.png"
|
||||
alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script>
|
||||
document.getElementById('myDiv').addEventListener('click', function () {
|
||||
document.getElementById('img1').style.display = 'block';
|
||||
document.getElementById('bodydiv').style.overflow = 'hidden';
|
||||
document.getElementById('height').style.overflow = '150%';
|
||||
}); document.getElementById('myDiv1').addEventListener('click', function () {
|
||||
document.getElementById('img1').style.display = 'none';
|
||||
document.getElementById('bodydiv').style.overflow = 'auto';
|
||||
document.getElementById('height').style.overflow = 'auto';
|
||||
});
|
||||
</script>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user