首页做成响应式比例

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