首页做成响应式比例

pull/1/head
Administrator 2020-03-22 12:50:26 +08:00
parent 106a692b5d
commit 9059c5dff6
2 changed files with 25 additions and 15 deletions

View File

@ -43,6 +43,8 @@ public interface QueryTableNameDataMapper extends BaseMapper<SpTableManagerItem>
* *
* @param commonDto * @param commonDto
*/ */
void commonUpdate(CommonDto commonDto); void commonUpdate(CommonDto commonDto);
/** /**
@ -50,5 +52,5 @@ public interface QueryTableNameDataMapper extends BaseMapper<SpTableManagerItem>
* *
* @param commonDto * @param commonDto
*/ */
void commonDelete( CommonDto commonDto); void commonDelete(CommonDto commonDto);
} }

View File

@ -10,31 +10,41 @@
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no"> <meta name="format-detection" content="telephone=no">
<#include "${request.contextPath}/common/common.ftl"> <#include "${request.contextPath}/common/common.ftl">
<style type="text/css">
html,body{
height:100%;
}
</style>
</head> </head>
<style> <style>
.splayUi-container { .splayUi-container {
background-image: url(/image/hk.png); background-size: 100% 100%;
background-size: cover; -moz-background-size:100% 100%;
height: 670px; background-image: url(/image/hk.png) ;
height: 98.5%;
width: 100%;
position: relative;
} }
.box { .box {
margin-left: auto; display: inline-flex;
margin-right: 20px; justify-content: space-between;
} }
.wrap { .wrap {
flex-wrap: wrap;
display: flex; display: flex;
align-items:stretch;
} }
</style> </style>
<body> <body >
<div style="width:100%;"> <div class="wrap" style="height: 100%">
<div class="splayUi-container"> <div class="splayUi-container">
</div> </div>
</div> <div class=" box">
<div class="wrap"> <b>开发者:王子杨</b>
<b>开发者:王子杨</b> <div class="box" id="div_timer">
<div class="box" id="div_timer"> </div>
</div> </div>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
@ -50,9 +60,7 @@
document.getElementById("div_timer").style = "white-space:pre;";//显示时间 document.getElementById("div_timer").style = "white-space:pre;";//显示时间
document.getElementById("div_timer").innerText = '当前时间:' + year + "." + p(month) + "." + p(day) + " " + p(hour) + ":" + p(minutes) + ":" + p(seconds); document.getElementById("div_timer").innerText = '当前时间:' + year + "." + p(month) + "." + p(day) + " " + p(hour) + ":" + p(minutes) + ":" + p(seconds);
} }
setInterval("showTime()", 1000); setInterval("showTime()", 1000);
//月日时分秒小于10补0 //月日时分秒小于10补0
function p(s) { function p(s) {
return s < 10 ? '0' + s : s; return s < 10 ? '0' + s : s;