commit
510e7463de
@ -0,0 +1,67 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>修改</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="layui-main">
|
||||
<div class="site-content">
|
||||
<br><br>
|
||||
<h1 class="site-h1">修改信息</h1>
|
||||
<br><br>
|
||||
<form class="layui-form" action="alter" method="post">
|
||||
<input type="hidden" name = 'patient_id' value="{{Patient.patient_id}}">
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">姓名</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="name" required lay-verify="required" placeholder="请输入省份" autocomplete="off"
|
||||
class="layui-input" value="{{Patient.name}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">治疗点</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="treatment_point_id" required lay-verify="required" placeholder="请输入城市"
|
||||
autocomplete="off"
|
||||
class="layui-input" value="{{Patient.treatment_point_id}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">电话</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="phone" required lay-verify="required" placeholder="请输入" autocomplete="off"
|
||||
class="layui-input" value="{{Patient.phone}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">地区编号</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="area_id" required lay-verify="required" placeholder="请输入城市" autocomplete="off"
|
||||
class="layui-input" value="{{Patient.area_id}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">城市编号</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="city_id" required lay-verify="required" placeholder="请输入人数"
|
||||
autocomplete="off" class="layui-input" value="{{Patient.city_id}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-input-block">
|
||||
<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
|
||||
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>修改</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="layui-main">
|
||||
<div class="site-content">
|
||||
<br><br>
|
||||
<h1 class="site-h1">修改信息</h1>
|
||||
<br><br>
|
||||
<form class="layui-form" action="alter2" method="post">
|
||||
<input type="hidden" name = 'patient_id' value="{{Report.patient_id}}">
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">编号</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="patient_id" required lay-verify="required" placeholder="请输入省份" autocomplete="off"
|
||||
class="layui-input" value="{{Report.patient_id}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">时间</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="update_time" required lay-verify="required" placeholder="请输入城市"
|
||||
autocomplete="off"
|
||||
class="layui-input" value="{{Report.update_time}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">症状</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="situation" required lay-verify="required" placeholder="请输入" autocomplete="off"
|
||||
class="layui-input" value="{{Report.situation}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-input-block">
|
||||
<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
|
||||
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,50 @@
|
||||
<br><br>
|
||||
<h1 class="site-h1">修改信息</h1>
|
||||
<br><br>
|
||||
<form class="layui-form" action="alter3" method="post">
|
||||
<input type="hidden" name = 'worker_id' value="{{Med.worker_id}}">
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">编号</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="patient_id" required lay-verify="required" placeholder="请输入省份" autocomplete="off"
|
||||
class="layui-input" value="{{Med.worker_id}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">姓名</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="name" required lay-verify="required" placeholder="请输入城市"
|
||||
autocomplete="off"
|
||||
class="layui-input" value="{{Med.name}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">治疗点</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="treatment_point_id" required lay-verify="required" placeholder="请输入" autocomplete="off"
|
||||
class="layui-input" value="{{Med.treatment_point_id}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">电话</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="phone" required lay-verify="required" placeholder="请输入" autocomplete="off"
|
||||
class="layui-input" value="{{Med.phone}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-input-block">
|
||||
<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
|
||||
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,59 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>修改</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="layui-main">
|
||||
<div class="site-content">
|
||||
<br><br>
|
||||
<h1 class="site-h1">修改信息</h1>
|
||||
<br><br>
|
||||
<form class="layui-form" action="alter4" method="post">
|
||||
<input type="hidden" name = 'treatment_point_id' value="{{Tp.treatment_point_id}}">
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">医院</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="name" required lay-verify="required" placeholder="请输入省份" autocomplete="off"
|
||||
class="layui-input" value="{{Tp.name}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">总床位</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="total_position" required lay-verify="required" placeholder="请输入城市"
|
||||
autocomplete="off"
|
||||
class="layui-input" value="{{Tp.total_position}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">地区编号</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="area_id" required lay-verify="required" placeholder="请输入城市" autocomplete="off"
|
||||
class="layui-input" value="{{Tp.area_id}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">城市编号</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="city_id" required lay-verify="required" placeholder="请输入人数"
|
||||
autocomplete="off" class="layui-input" value="{{Tp.city_id}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-input-block">
|
||||
<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
|
||||
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,210 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html xmlns:th="http://127.0.0.1:5000/">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>login</title>
|
||||
<style type="text/css">
|
||||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
html{
|
||||
background-image:url(/static/background.jpg);
|
||||
}
|
||||
#wrap {
|
||||
height: 75%;
|
||||
width: 100;
|
||||
background-image:url(/static/background.jpg);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
position: relative;
|
||||
}
|
||||
#head {
|
||||
height: 46px;
|
||||
width: 100;
|
||||
background-color: #66CCCC;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
}
|
||||
#wrap .logGet {
|
||||
height: 408px;
|
||||
width: 368px;
|
||||
position: absolute;
|
||||
background-color: #FFFFFF;
|
||||
top: 20%;
|
||||
right: 15%;
|
||||
}
|
||||
.logC a button {
|
||||
width: 100%;
|
||||
height: 45px;
|
||||
background-color: #ee7700;
|
||||
border: none;
|
||||
color: white;
|
||||
font-size: 18px;
|
||||
}
|
||||
.logGet .logD.logDtip .p1 {
|
||||
display: inline-block;
|
||||
font-size: 28px;
|
||||
margin-top: 30px;
|
||||
width: 86%;
|
||||
}
|
||||
#wrap .logGet .logD.logDtip {
|
||||
width: 86%;
|
||||
border-bottom: 1px solid #ee7700;
|
||||
margin-bottom: 60px;
|
||||
margin-top: 0px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
.logGet .lgD img {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
left: 8px;
|
||||
}
|
||||
.logGet .lgD input {
|
||||
width: 100%;
|
||||
height: 42px;
|
||||
text-indent: 2.5rem;
|
||||
}
|
||||
#wrap .logGet .lgD {
|
||||
width: 86%;
|
||||
position: relative;
|
||||
margin-bottom: 30px;
|
||||
margin-top: 30px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
#wrap .logGet .logC {
|
||||
width: 86%;
|
||||
margin-top: 0px;
|
||||
margin-right: auto;
|
||||
margin-bottom: 0px;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
|
||||
title {
|
||||
font-family: "宋体";
|
||||
color: #FFFFFF;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%); /* 使用css3的transform来实现 */
|
||||
font-size: 36px;
|
||||
height: 40px;
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
copyright {
|
||||
font-family: "宋体";
|
||||
color: #FFFFFF;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%); /* 使用css3的transform来实现 */
|
||||
height: 60px;
|
||||
width: 40%;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
|
||||
.copyright .img .icon {
|
||||
display: inline-block;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-left: 22px;
|
||||
vertical-align: middle;
|
||||
background-image: url(th:'@{/static/background.jpg}');
|
||||
background-repeat: no-repeat;
|
||||
vertical-align: middle;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.copyright .img .icon1 {
|
||||
display: inline-block;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-left: 22px;
|
||||
vertical-align: middle;
|
||||
background-image: url(background.jpg);
|
||||
background-repeat: no-repeat;
|
||||
vertical-align: middle;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.copyright .img .icon2 {
|
||||
display: inline-block;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-left: 22px;
|
||||
vertical-align: middle;
|
||||
background-image: url(background.jpg);
|
||||
background-repeat: no-repeat;
|
||||
vertical-align: middle;
|
||||
margin-right: 5px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="header" id="head">
|
||||
<div class="title">疫情实时追踪</div>
|
||||
|
||||
</div>
|
||||
<div class="wrap" id="wrap">
|
||||
<div class="logGet">
|
||||
<!-- 头部提示信息 -->
|
||||
<div class="logD logDtip">
|
||||
<p class="p1">登录</p>
|
||||
</div>
|
||||
<!-- 输入框 -->
|
||||
<div class="lgD">
|
||||
<img th:src="@{/static/2.png}" src="../static/user.png" width="20" height="20" alt=""/>
|
||||
<input type="text"
|
||||
placeholder="输入用户名" name="userAccount" id="userAccount" value=""/>
|
||||
<span ></span>
|
||||
</div>
|
||||
<div class="lgD">
|
||||
<img th:src="@{/static/pwd.png}" src="../static/3.png" width="20" height="20" alt=""/>
|
||||
<input type="password"
|
||||
placeholder="输入用户密码" name="userPwd" id="userPwd"/>
|
||||
<span ></span>
|
||||
</div>
|
||||
<div class="logC">
|
||||
<a href="http://127.0.0.1:5000/" id="loginButton"><button>登 录</button></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="wrap" id="wrap">
|
||||
<div class="logGet">
|
||||
<!-- 头部提示信息 -->
|
||||
<div class="logD logDtip">
|
||||
<p class="p1">登录</p>
|
||||
</div>
|
||||
<!-- 输入框 -->
|
||||
<div class="lgD">
|
||||
<img th:src="@{/static/2.png}" src="../static/user.png" width="20" height="20" alt=""/>
|
||||
<input type="text"
|
||||
placeholder="输入用户名" name="userAccount" id="userAccount" value=""/>
|
||||
<span ></span>
|
||||
</div>
|
||||
<div class="lgD">
|
||||
<img th:src="@{/static/pwd.png}" src="../static/3.png" width="20" height="20" alt=""/>
|
||||
<input type="password"
|
||||
placeholder="输入用户密码" name="userPwd" id="userPwd"/>
|
||||
<span ></span>
|
||||
</div>
|
||||
<div class="logC">
|
||||
<a href="http://127.0.0.1:5000/" id="loginButton"><button>登 录</button></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
@ -0,0 +1,112 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>新型冠状病毒肺炎疫情实时更新</title>
|
||||
<link rel="stylesheet" href="/static/layui/css/layui.css">
|
||||
<style>
|
||||
body{background-image: url("/static/background1.jpg");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% auto;
|
||||
background-position: top;
|
||||
background-clip:padding-box;
|
||||
}
|
||||
copyright {
|
||||
font-family: "宋体";
|
||||
color: #FFFFFF;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%); /* 使用css3的transform来实现 */
|
||||
font-size: 36px;
|
||||
height: 40px;
|
||||
width: 30%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1 align="center" colspan="10">疫情实时大数据报告</h1>
|
||||
<div align="center">
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<table id = 'tabledemo'lay-filter="test">
|
||||
<table width="600" cellpadding="5" align="center" border="1" cellspacing="0">
|
||||
<th align="center" colspan="9">各市病例统计</th>
|
||||
<tr>
|
||||
<th lay-data="{field:'name', width:100}">城市名</th>
|
||||
<th lay-data="{field:'today_confirm'}">新增确诊</th>
|
||||
<th lay-data="{field:'total_confirm'}">现有确诊</th>
|
||||
<th lay-data="{field:'total_suspect'}">疑似病例</th>
|
||||
<th lay-data="{field:'total_dead'}">死亡人数</th>
|
||||
<th lay-data="{field:'total_heal'}">治愈数</th>
|
||||
<th lay-data="{field:'total_deadRate'}">死亡率</th>
|
||||
<th lay-data="{field:'total_healRate'}">治愈率</th>
|
||||
<th lay-data="{fixed: 'right', width: 160, align:'center', toolbar: '#barDemo'}"></th>
|
||||
</tr>
|
||||
{% for item in city_List %}
|
||||
<tr>
|
||||
<td>{{item.name}}</td>
|
||||
<td>{{item.today_confirm}}</td>
|
||||
<td>{{item.total_confirm}}</td>
|
||||
<td>{{item.total_suspect}}</td>
|
||||
<td>{{item.total_dead}}</td>
|
||||
<td>{{item.total_heal}}</td>
|
||||
<td>{{item.total_deadRate}}</td>
|
||||
<td>{{item.total_healRate}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
<br>
|
||||
<table id = 'tabledemo'lay-filter="test">
|
||||
<table width="800" cellpadding="5" align="center" border="1" cellspacing="0">
|
||||
<th align="center" colspan="9">各省病例统计</th>
|
||||
<tr>
|
||||
<th lay-data="{field:'name', width:100}">省份</th>
|
||||
<th lay-data="{field:'today_confirm'}">新增确诊</th>
|
||||
<th lay-data="{field:'total_confirm'}">现有确诊</th>
|
||||
<th lay-data="{field:'total_suspect'}">疑似病例</th>
|
||||
<th lay-data="{field:'total_dead'}">死亡人数</th>
|
||||
<th lay-data="{field:'total_heal'}">治愈数</th>
|
||||
<th lay-data="{field:'total_deadRate'}">死亡率</th>
|
||||
<th lay-data="{field:'total_healRate'}">治愈率</th>
|
||||
<th lay-data="{fixed: 'right', width: 160, align:'center', toolbar: '#barDemo'}"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for item in province_List %}
|
||||
<tr>
|
||||
<td>{{item.prov_name}}</td>
|
||||
<td>{{item.today_confirm}}</td>
|
||||
<td>{{item.total_confirm}}</td>
|
||||
<td>{{item.total_suspect}}</td>
|
||||
<td>{{item.total_dead}}</td>
|
||||
<td>{{item.total_heal}}</td>
|
||||
<td>{{item.total_deadRate}}</td>
|
||||
<td>{{item.total_healRate}}</td>
|
||||
<td><a href='/alter?prov_id={{item.prov_id}}&prov_name={{ item.prov_name }}&today_confirm={{ item.today_confirm }}&total_confirm={{item.total_confirm}}&total_suspect={{item.total_suspect}}&total_dead={{item.total_dead}}&total_heal={{item.total_heal}}&total_deadRate={{item.total_deadRate}}&total_healRate={{item.total_healRate}}'>编辑</a>
|
||||
<a href="/delete?id={{ item.prov_id }}">删除</a> </td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
<script type="text/html" id="barDemo">
|
||||
<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
|
||||
<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
|
||||
</script>
|
||||
|
||||
<script src="/static/layui/layui.js"></script>
|
||||
<script>
|
||||
layui.use('table',function () {
|
||||
var table = layui.table;
|
||||
table.init('test', {
|
||||
height: 1000,
|
||||
width:600,
|
||||
limit:100
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>新型冠状病毒肺炎疫情实时更新</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1 align="center" colspan="10">疫情实时大数据报告</h1>
|
||||
<div align="center">
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<table id = 'tabledemo'lay-filter="test">
|
||||
<table width="600" cellpadding="5" align="center" border="1" cellspacing="0">
|
||||
<th align="center" colspan="9">武汉市各区病例统计</th>
|
||||
<tr>
|
||||
<th lay-data="{field:'city', width:100}">城市</th>
|
||||
<th lay-data="{field:'area'}">区</th>
|
||||
<th lay-data="{field:'patient_count'}">病人数量</th>
|
||||
<th lay-data="{field:'suspected'}">疑似病例</th>
|
||||
<th lay-data="{field:'no_cases'}">无症状</th>
|
||||
<th lay-data="{field:'mild_cases'}">轻症</th>
|
||||
<th lay-data="{field:'severe_cases'}">重症</th>
|
||||
<th lay-data="{fixed: 'right', width: 160, align:'center', toolbar: '#barDemo'}"></th>
|
||||
</tr>
|
||||
{% for item in city_Post %}
|
||||
<tr>
|
||||
<td>{{item.city}}</td>
|
||||
<td>{{item.area}}</td>
|
||||
<td>{{item.patient_count}}</td>
|
||||
<td>{{item.suspected}}</td>
|
||||
<td>{{item.no_cases}}</td>
|
||||
<td>{{item.mild_cases}}</td>
|
||||
<td>{{item.severe_cases}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>新型冠状病毒肺炎疫情实时更新</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1 align="center" colspan="10">疫情实时大数据报告</h1>
|
||||
<div align="center">
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<table id = 'tabledemo'lay-filter="test">
|
||||
<table width="600" cellpadding="5" align="center" border="1" cellspacing="0">
|
||||
<th align="center" colspan="9">医院病例统计</th>
|
||||
<tr>
|
||||
<th lay-data="{field:'name', width:100}">医院</th>
|
||||
<th lay-data="{field:'patients'}">病人数</th>
|
||||
<th lay-data="{field:'remaining_position'}">剩余床位</th>
|
||||
<th lay-data="{field:'total_position'}">总床位</th>
|
||||
<th lay-data="{field:'total_worker'}">工作人员</th>
|
||||
<th lay-data="{fixed: 'right', width: 160, align:'center', toolbar: '#barDemo'}"></th>
|
||||
</tr>
|
||||
{% for item in T_P %}
|
||||
<tr>
|
||||
<td>{{item.name}}</td>
|
||||
<td>{{item.patients}}</td>
|
||||
<td>{{item.remaining_position}}</td>
|
||||
<td>{{item.total_position}}</td>
|
||||
<td>{{item.total_worker}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>新型冠状病毒肺炎疫情实时更新</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1 align="center" colspan="10">疫情实时大数据报告</h1>
|
||||
<div align="center">
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<table id = 'tabledemo'lay-filter="test">
|
||||
<table width="600" cellpadding="5" align="center" border="1" cellspacing="0">
|
||||
<th align="center" colspan="9">医院病例统计</th>
|
||||
<tr>
|
||||
<th lay-data="{field:'treatment_point_id', width:100}">编号</th>
|
||||
<th lay-data="{field:'name'}">医院</th>
|
||||
<th lay-data="{field:'total_position'}">总床位</th>
|
||||
<th lay-data="{field:'area_id'}">地区编号</th>
|
||||
<th lay-data="{field:'city_id'}">城市编号</th>
|
||||
<th lay-data="{fixed: 'right', width: 160, align:'center', toolbar: '#barDemo'}"></th>
|
||||
</tr>
|
||||
{% for item in T_P %}
|
||||
<tr>
|
||||
<td>{{item.treatment_point_id}}</td>
|
||||
<td>{{item.name}}</td>
|
||||
<td>{{item.total_position}}</td>
|
||||
<td>{{item.area_id}}</td>
|
||||
<td>{{item.city_id}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>新型冠状病毒肺炎疫情实时更新</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1 align="center" colspan="10">疫情实时大数据报告</h1>
|
||||
<div align="center">
|
||||
<br>
|
||||
<a href="/insert4_page">添加收治点</a>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<table id = 'tabledemo'lay-filter="test">
|
||||
<table width="600" cellpadding="5" align="center" border="1" cellspacing="0">
|
||||
<th align="center" colspan="9">医院病例统计</th>
|
||||
<tr>
|
||||
<th lay-data="{field:'treatment_point_id', width:100}">编号</th>
|
||||
<th lay-data="{field:'name'}">医院</th>
|
||||
<th lay-data="{field:'total_position'}">总床位</th>
|
||||
<th lay-data="{field:'area_id'}">地区编号</th>
|
||||
<th lay-data="{field:'city_id'}">城市编号</th>
|
||||
<th lay-data="{fixed: 'right', width: 160, align:'center', toolbar: '#barDemo'}"></th>
|
||||
</tr>
|
||||
{% for item in T_P %}
|
||||
<tr>
|
||||
<td>{{item.treatment_point_id}}</td>
|
||||
<td>{{item.name}}</td>
|
||||
<td>{{item.total_position}}</td>
|
||||
<td>{{item.area_id}}</td>
|
||||
<td>{{item.city_id}}</td>
|
||||
<td><a href='/alter4?treatment_point_id={{item.treatment_point_id}}&name={{ item.name }}&total_position={{ item.total_position }}&area_id={{item.area_id}}&city_id={{item.city_id}}'>编辑</a>
|
||||
<a href="/delete4?treatment_point_id={{ item.treatment_point_id }}">删除</a> </td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>新型冠状病毒肺炎疫情实时更新</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1 align="center" colspan="10">疫情实时大数据报告</h1>
|
||||
<div align="center">
|
||||
<br>
|
||||
<a href="/insert_page">添加信息</a>
|
||||
<br>
|
||||
<br>
|
||||
<table id = 'tabledemo'lay-filter="test">
|
||||
<table width="600" cellpadding="5" align="center" border="1" cellspacing="0">
|
||||
<th align="center" colspan="9">病例统计</th>
|
||||
<tr>
|
||||
<th lay-data="{field:'patient_id', width:100}">编号</th>
|
||||
<th lay-data="{field:'name'}">姓名</th>
|
||||
<th lay-data="{field:'treatment_point_id'}">治疗点</th>
|
||||
<th lay-data="{field:'phone'}">电话</th>
|
||||
<th lay-data="{field:'area_id'}">地区编号</th>
|
||||
<th lay-data="{field:'city_id'}">城市编号</th>
|
||||
<td>操作</td>
|
||||
<th lay-data="{fixed: 'right', width: 160, align:'center', toolbar: '#barDemo'}"></th>
|
||||
</tr>
|
||||
{% for item in P_A %}
|
||||
<tr>
|
||||
<td>{{item.patient_id}}</td>
|
||||
<td>{{item.name}}</td>
|
||||
<td>{{item.treatment_point_id}}</td>
|
||||
<td>{{item.phone}}</td>
|
||||
<td>{{item.area_id}}</td>
|
||||
<td>{{item.city_id}}</td>
|
||||
|
||||
<td><a href='/alter?patient_id={{item.patient_id}}&name={{ item.name }}&treatment_point_id={{ item.treatment_point_id }}&phone={{item.phone}}&area_id={{item.area_id}}&city_id={{item.city_id}}'>编辑</a>
|
||||
<a href="/delete?patient_id={{ item.patient_id }}">删除</a> </td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,38 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>新型冠状病毒肺炎疫情实时更新</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1 align="center" colspan="10">疫情实时大数据报告</h1>
|
||||
<div align="center">
|
||||
<br>
|
||||
<a href="/insert3_page">添加城市</a>
|
||||
<br>
|
||||
<br>
|
||||
<table id = 'tabledemo'lay-filter="test">
|
||||
<table width="600" cellpadding="5" align="center" border="1" cellspacing="0">
|
||||
<th align="center" colspan="9">医疗人员统计</th>
|
||||
<tr>
|
||||
<th lay-data="{field:'worker_id', width:100}">编号</th>
|
||||
<th lay-data="{field:'name'}">姓名</th>
|
||||
<th lay-data="{field:'treatment_point_id'}">治疗点</th>
|
||||
<th lay-data="{field:'phone'}">电话</th>
|
||||
<th lay-data="{fixed: 'right', width: 160, align:'center', toolbar: '#barDemo'}"></th>
|
||||
</tr>
|
||||
{% for item in M_W %}
|
||||
<tr>
|
||||
<td>{{item.worker_id}}</td>
|
||||
<td>{{item.name}}</td>
|
||||
<td>{{item.treatment_point_id}}</td>
|
||||
<td>{{item.phone}}</td>
|
||||
<td><a href='/alter3?worker_id={{item.worker_id}}&name={{ item.name }}&treatment_point_id={{ item.treatment_point_id }}&phone={{ item.phone }}'>编辑</a>
|
||||
<a href="/delete3?worker_id={{ item.worker_id }}">删除</a> </td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>新型冠状病毒肺炎疫情实时更新</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1 align="center" colspan="10">疫情实时大数据报告</h1>
|
||||
<div align="center">
|
||||
<br>
|
||||
<a href="/insert2_page">添加病例</a>
|
||||
<br>
|
||||
<br>
|
||||
<table id = 'tabledemo'lay-filter="test">
|
||||
<table width="600" cellpadding="5" align="center" border="1" cellspacing="0">
|
||||
<th align="center" colspan="9">病人病症统计</th>
|
||||
<tr>
|
||||
<th lay-data="{field:'patient_id', width:100}">编号</th>
|
||||
<th lay-data="{field:'update_time'}">时间</th>
|
||||
<th lay-data="{field:'situation'}">症状</th>
|
||||
<th lay-data="{fixed: 'right', width: 160, align:'center', toolbar: '#barDemo'}"></th>
|
||||
</tr>
|
||||
{% for item in R_E %}
|
||||
<tr>
|
||||
<td>{{item.patient_id}}</td>
|
||||
<td>{{item.update_time}}</td>
|
||||
<td>{{item.situation}}</td>
|
||||
<td><a href='/alter2?patient_id={{item.patient_id}}&update_time={{ item.update_time }}&situation={{ item.situation }}'>编辑</a>
|
||||
<a href="/delete2?patient_id={{ item.patient_id }}">删除</a> </td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,65 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>增加</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="layui-main">
|
||||
<div class="site-content">
|
||||
<br><br>
|
||||
<h1 class="site-h1">添加信息</h1>
|
||||
<br><br>
|
||||
<form class="layui-form" action="insert" method="post">
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">姓名</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="name" required lay-verify="required" placeholder="请输入省份" autocomplete="off"
|
||||
class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">治疗点</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="treatment_point_id" required lay-verify="required" placeholder="请输入城市" autocomplete="off"
|
||||
class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">电话</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="phone" required lay-verify="required" placeholder="请输入" autocomplete="off"
|
||||
class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">地区编号</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="area_id" required lay-verify="required" placeholder="请输入" autocomplete="off"
|
||||
class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">城市编号</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="city_id" required lay-verify="required" placeholder="请输入" autocomplete="off"
|
||||
class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-input-block">
|
||||
<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
|
||||
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,49 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>增加</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="layui-main">
|
||||
<div class="site-content">
|
||||
<br><br>
|
||||
<h1 class="site-h1">添加信息</h1>
|
||||
<br><br>
|
||||
<form class="layui-form" action="insert2" method="post">
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">编号</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="patient_id" required lay-verify="required" placeholder="请输入省份" autocomplete="off"
|
||||
class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">时间</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="update_time" required lay-verify="required" placeholder="请输入城市" autocomplete="off"
|
||||
class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">症状</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="phone" required lay-verify="required" placeholder="请输入" autocomplete="off"
|
||||
class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-input-block">
|
||||
<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
|
||||
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,57 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>增加</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="layui-main">
|
||||
<div class="site-content">
|
||||
<br><br>
|
||||
<h1 class="site-h1">添加信息</h1>
|
||||
<br><br>
|
||||
<form class="layui-form" action="insert3" method="post">
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">编号</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="worker_id" required lay-verify="required" placeholder="请输入省份" autocomplete="off"
|
||||
class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">姓名</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="name" required lay-verify="required" placeholder="请输入城市" autocomplete="off"
|
||||
class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">治疗点</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="treatment_point_id" required lay-verify="required" placeholder="请输入" autocomplete="off"
|
||||
class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">电话</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="phone" required lay-verify="required" placeholder="请输入" autocomplete="off"
|
||||
class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-input-block">
|
||||
<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
|
||||
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,65 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>增加</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="layui-main">
|
||||
<div class="site-content">
|
||||
<br><br>
|
||||
<h1 class="site-h1">添加信息</h1>
|
||||
<br><br>
|
||||
<form class="layui-form" action="insert4" method="post">
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">编号</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="treatment_point_id" required lay-verify="required" placeholder="请输入省份" autocomplete="off"
|
||||
class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">医院</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" name="name" required lay-verify="required" placeholder="请输入城市" autocomplete="off"
|
||||
class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">总床位</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="total_position" required lay-verify="required" placeholder="请输入" autocomplete="off"
|
||||
class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">地区编号</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="area_id" required lay-verify="required" placeholder="请输入城市" autocomplete="off"
|
||||
class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">城市编号</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="number" name="city_id" required lay-verify="required" placeholder="请输入用户数量" autocomplete="off"
|
||||
class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-input-block">
|
||||
<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
|
||||
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,93 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<center>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<tittle>决策者导航界面</tittle>
|
||||
<style type="text/css">
|
||||
*{/*清除默认样式*/
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.nav{/*设置ul*/
|
||||
/*去除符号*/
|
||||
list-style: none;
|
||||
/*为ul设置背景颜色*/
|
||||
background-color: #2D93CA ;
|
||||
/*设置宽度,居中,下移*/
|
||||
width: 1000px;
|
||||
margin: 0px auto;
|
||||
/*解决高度塌陷*/
|
||||
overflow: hidden;
|
||||
}
|
||||
/*设置li*/
|
||||
.nav li{
|
||||
/*向左浮动*/
|
||||
float: left;
|
||||
width: 33.3%;
|
||||
}
|
||||
.nav a{
|
||||
/*将a转换为元素*/
|
||||
display: block;
|
||||
/*为a指定一个宽度*/
|
||||
width: 100%;
|
||||
/*文字居中*/
|
||||
text-align: center;
|
||||
/*设置上下内间距*/
|
||||
padding: 8px 0;
|
||||
/*去除下划线,颜色,加粗*/
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
font-width: bold;
|
||||
}
|
||||
/*鼠标移入效果*/
|
||||
.nav a:hover{
|
||||
background-color: #0000FF;
|
||||
}
|
||||
#web_bg{
|
||||
position:fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width:100%;
|
||||
height:100%;
|
||||
min-width: 1000px;
|
||||
z-index:-10;
|
||||
zoom: 1;
|
||||
background-color: #fff;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
-webkit-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
background-position: center 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<!--背景图片-->
|
||||
<div id="web_bg" style="background-image: url(../static/background0.jpg);"></div>
|
||||
<!--其他代码 ... -->
|
||||
</div>
|
||||
<ul class="nav">
|
||||
<li><a href="http://127.0.0.1:5000/index3/">查询treatment_count</a></li>
|
||||
<li><a href="http://127.0.0.1:5000/index2/">查询city_count</a></li>
|
||||
<li><a href="http://127.0.0.1:5000/index45/">查询/修改treatment_point</a></li>
|
||||
</ul>
|
||||
|
||||
<img src="../static/background2.jpg" alt="众志成城,同心抗疫" width="1000" height="200">
|
||||
<hr />
|
||||
<span>全国疫情信息概览:</span>
|
||||
<!--引用框-->
|
||||
<br />
|
||||
<iframe src="https://ncov.dxy.cn/ncovh5/view/pneumonia" width="500" height="1000" frameborder="0"></iframe>
|
||||
<!--页面底部-->
|
||||
<hr />
|
||||
友情链接:<a href="https://ncov.dxy.cn/ncovh5/view/pneumonia">丁香医生</a>|
|
||||
<a href="https://voice.baidu.com/act/newpneumonia/newpneumonia">百度疫情</a>|
|
||||
<a href="#">首页</a>
|
||||
<br>
|
||||
<a id="buttom" href="#">回到顶部</a>|<a href="mailto:2549767334@qq.com">联系我们</a>
|
||||
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,95 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<center>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<tittle>医务工作者导航界面</tittle>
|
||||
<style type="text/css">
|
||||
*{/*清除默认样式*/
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.nav{/*设置ul*/
|
||||
/*去除符号*/
|
||||
list-style: none;
|
||||
/*为ul设置背景颜色*/
|
||||
background-color: #2D93CA ;
|
||||
/*设置宽度,居中,下移*/
|
||||
width: 1000px;
|
||||
margin: 0px auto;
|
||||
/*解决高度塌陷*/
|
||||
overflow: hidden;
|
||||
}
|
||||
/*设置li*/
|
||||
.nav li{
|
||||
/*向左浮动*/
|
||||
float: left;
|
||||
width: 20%;
|
||||
}
|
||||
.nav a{
|
||||
/*将a转换为元素*/
|
||||
display: block;
|
||||
/*为a指定一个宽度*/
|
||||
width: 100%;
|
||||
/*文字居中*/
|
||||
text-align: center;
|
||||
/*设置上下内间距*/
|
||||
padding: 8px 0;
|
||||
/*去除下划线,颜色,加粗*/
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
font-width: bold;
|
||||
}
|
||||
/*鼠标移入效果*/
|
||||
.nav a:hover{
|
||||
background-color: #0000FF;
|
||||
}
|
||||
#web_bg{
|
||||
position:fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width:100%;
|
||||
height:100%;
|
||||
min-width: 1000px;
|
||||
z-index:-10;
|
||||
zoom: 1;
|
||||
background-color: #fff;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
-webkit-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
background-position: center 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<!--背景图片-->
|
||||
<div id="web_bg" style="background-image: url(../static/background0.jpg);"></div>
|
||||
<!--其他代码 ... -->
|
||||
</div>
|
||||
<ul class="nav">
|
||||
<li><a href="http://127.0.0.1:5000/index3/">查询treatment_count</a></li>
|
||||
<li><a href="http://127.0.0.1:5000/index2/">查询city_count</a></li>
|
||||
<li><a href="http://127.0.0.1:5000/index5/">查询/修改patient</a></li>
|
||||
<li><a href="http://127.0.0.1:5000/index7/">查询/修改report</a></li>
|
||||
<li><a href="http://127.0.0.1:5000/index6/">查询/修改medical_worker</a></li>
|
||||
</ul>
|
||||
|
||||
<img src="../static/background2.jpg" alt="众志成城,同心抗疫" width="1000" height="200">
|
||||
<hr />
|
||||
<span>全国疫情信息概览:</span>
|
||||
<!--引用框-->
|
||||
<br />
|
||||
<iframe src="https://ncov.dxy.cn/ncovh5/view/pneumonia" width="500" height="1000" frameborder="0"></iframe>
|
||||
<!--页面底部-->
|
||||
<hr />
|
||||
友情链接:<a href="https://ncov.dxy.cn/ncovh5/view/pneumonia">丁香医生</a>|
|
||||
<a href="https://voice.baidu.com/act/newpneumonia/newpneumonia">百度疫情</a>|
|
||||
<a href="#">首页</a>
|
||||
<br>
|
||||
<a id="buttom" href="#">回到顶部</a>|<a href="mailto:2549767334@qq.com">联系我们</a>
|
||||
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,93 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<center>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<tittle>游客导航界面</tittle>
|
||||
<style type="text/css">
|
||||
*{/*清除默认样式*/
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.nav{/*设置ul*/
|
||||
/*去除符号*/
|
||||
list-style: none;
|
||||
/*为ul设置背景颜色*/
|
||||
background-color: #2D93CA ;
|
||||
/*设置宽度,居中,下移*/
|
||||
width: 1000px;
|
||||
margin: 0px auto;
|
||||
/*解决高度塌陷*/
|
||||
overflow: hidden;
|
||||
}
|
||||
/*设置li*/
|
||||
.nav li{
|
||||
/*向左浮动*/
|
||||
float: left;
|
||||
width: 33.3%;
|
||||
}
|
||||
.nav a{
|
||||
/*将a转换为元素*/
|
||||
display: block;
|
||||
/*为a指定一个宽度*/
|
||||
width: 100%;
|
||||
/*文字居中*/
|
||||
text-align: center;
|
||||
/*设置上下内间距*/
|
||||
padding: 8px 0;
|
||||
/*去除下划线,颜色,加粗*/
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
font-width: bold;
|
||||
}
|
||||
/*鼠标移入效果*/
|
||||
.nav a:hover{
|
||||
background-color: #0000FF;
|
||||
}
|
||||
|
||||
#web_bg{
|
||||
position:fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width:100%;
|
||||
height:100%;
|
||||
min-width: 1000px;
|
||||
z-index:-10;
|
||||
zoom: 1;
|
||||
background-color: #fff;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
-webkit-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
background-position: center 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<!--背景图片-->
|
||||
<div id="web_bg" style="background-image: url(../static/background0.jpg);"></div>
|
||||
<!--其他代码 ... -->
|
||||
</div>
|
||||
<ul class="nav">
|
||||
<li><a href="http://127.0.0.1:5000/index3/">查询treatment_count</a></li>
|
||||
<li><a href="http://127.0.0.1:5000/index2/">查询city_count</a></li>
|
||||
<li><a href="http://127.0.0.1:5000/index4/">查询treatment_point</a></li>
|
||||
</ul>
|
||||
<img src="../static/background2.jpg" alt="众志成城,同心抗疫" width="1000" height="200">
|
||||
<hr />
|
||||
<span>全国疫情信息概览:</span>
|
||||
<!--引用框-->
|
||||
<br />
|
||||
<iframe src="https://ncov.dxy.cn/ncovh5/view/pneumonia" width="500" height="1000" frameborder="0"></iframe>
|
||||
<!--页面底部-->
|
||||
<hr />
|
||||
友情链接:<a href="https://ncov.dxy.cn/ncovh5/view/pneumonia">丁香医生</a>|
|
||||
<a href="https://voice.baidu.com/act/newpneumonia/newpneumonia">百度疫情</a>|
|
||||
<a href="#">首页</a>
|
||||
<br>
|
||||
<a id="buttom" href="#">回到顶部</a>|<a href="mailto:2549767334@qq.com">联系我们</a>
|
||||
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,112 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<meta charset="utf-8">
|
||||
<head>
|
||||
|
||||
<style>
|
||||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
|
||||
ul{
|
||||
background: #ededed;
|
||||
height: 300px;
|
||||
width: 640px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
ul li{
|
||||
|
||||
background: #fff;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #333;
|
||||
height: 300px;
|
||||
width: 200px;
|
||||
float: left;
|
||||
margin-right: 20px;
|
||||
}
|
||||
ul li:last-child{
|
||||
margin-right: 0px;
|
||||
}
|
||||
ul li p{
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
ul li span{
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
color: #e08c35;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
ul li button {
|
||||
width: 100%;
|
||||
height: 45px;
|
||||
background-color: #ee7700;
|
||||
border: none;
|
||||
color: white;
|
||||
font-size: 18px;
|
||||
}
|
||||
#web_bg{
|
||||
position:fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width:100%;
|
||||
height:100%;
|
||||
min-width: 1000px;
|
||||
z-index:-10;
|
||||
zoom: 1;
|
||||
background-color: #fff;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
-webkit-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
background-position: center 0;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<!--背景图片-->
|
||||
<div id="web_bg" style="background-image: url(../static/background1.jpg);"></div>
|
||||
<!--其他代码 ... -->
|
||||
</div>
|
||||
<ul>
|
||||
<li>
|
||||
<img src="./imge/饼干.jpg" alt="" width="200" height="200">
|
||||
<span>游客查询入口</span>
|
||||
<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<div class="logC">
|
||||
<a href="/tourist" id="loginButton"><button>登 录</button></a>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="./imge/衣架.png" alt="" width="200" height="200">
|
||||
<span>医务工作者查询入口</span>
|
||||
<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<div class="logC">
|
||||
<a href="/doctor" id="loginButton"><button>登 录</button></a>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="./imge/拖鞋.png" alt="" width="200" height="200">
|
||||
<span>决策者查询入口</span>
|
||||
<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<div class="logC">
|
||||
<a href="/master" id="loginButton"><button>登 录</button></a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue