feat:头部添加日期

dev-captcha
wangxy 10 months ago
parent 11ced4a284
commit 45998187fc

@ -48,11 +48,24 @@
.layui-elem-quote{
border-left: 5px solid #005cb1;
}
.timeDt {
position: absolute;
display: inline-block;
vertical-align: middle;
font-size: 14px;
color: #fff;
top: 5%;
left: 9%;
}
</style>
</head>
<div id="hd">
<img class="bg_image1" th:src="@{/home/base/bg-head7.png}">
<div class="timeDt">
<span th:text="${#dates.format(new java.util.Date().getTime(), 'yyyy年MM月dd日')}"></span>
<span th:text="${#dates.format(new java.util.Date().getTime(), 'EEEE')}"></span>
</div>
<img th:src="@{/home/base/lantie4.png}" id="ltlogo" >
<ul class="layui-nav" id="dhl">
<li class="layui-nav-item">

@ -143,10 +143,23 @@
height: 539px;
background: url(/home/base/icon-footer-bg.png) center no-repeat;
}
.timeDt {
position: absolute;
display: inline-block;
vertical-align: middle;
font-size: 14px;
color: #fff;
top: 5%;
left: 9%;
}
</style>
</head>
<div id="hd">
<img class="bg_image1" th:src="@{/home/base/bg-head7.png}">
<div class="timeDt">
<span th:text="${#dates.format(new java.util.Date().getTime(), 'yyyy年MM月dd日')}"></span>
<span th:text="${#dates.format(new java.util.Date().getTime(), 'EEEE')}"></span>
</div>
<img th:src="@{/home/base/lantie4.png}" id="ltlogo" >
<ul class="layui-nav" id="dhl">
<li class="layui-nav-item">

Loading…
Cancel
Save