提交
This commit is contained in:
parent
c642f8a080
commit
a237e92061
@ -73,7 +73,7 @@
|
|||||||
<div class="">
|
<div class="">
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
<tr >
|
<tr>
|
||||||
<!-- <th style="width:50px;">选择</th> -->
|
<!-- <th style="width:50px;">选择</th> -->
|
||||||
<th style="height: 30px;font-size:20px;color:blue;">名称</th>
|
<th style="height: 30px;font-size:20px;color:blue;">名称</th>
|
||||||
<th style="height: 30px;font-size:20px;color:blue;">颁布时间</th>
|
<th style="height: 30px;font-size:20px;color:blue;">颁布时间</th>
|
||||||
@ -86,7 +86,7 @@
|
|||||||
<tr style="height: 50px;font-size:30px">
|
<tr style="height: 50px;font-size:30px">
|
||||||
|
|
||||||
<td><a href="[field:arcurl/]">[field:title/]</a></td>
|
<td><a href="[field:arcurl/]">[field:title/]</a></td>
|
||||||
<td>[field:showtime
|
<td id="thetime">[field:showtime
|
||||||
function="format('yyyy-MM-dd')" /]</td>
|
function="format('yyyy-MM-dd')" /]</td>
|
||||||
<!-- <td></td><a href="[field:arcurl/]">[field:showtime
|
<!-- <td></td><a href="[field:arcurl/]">[field:showtime
|
||||||
function="format('yyyy-MM-dd hh:mm:ss')" /]</a></td> -->
|
function="format('yyyy-MM-dd hh:mm:ss')" /]</a></td> -->
|
||||||
@ -159,6 +159,23 @@
|
|||||||
{dreamer-cms:include file="inc/service.html" /}
|
{dreamer-cms:include file="inc/service.html" /}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
window.onload = function () {
|
||||||
|
console.log("页面加载完成,自动运行方法");
|
||||||
|
// 在这里调用你的方法
|
||||||
|
removeLast9();
|
||||||
|
};
|
||||||
|
function removeLast9() {
|
||||||
|
var elements = document.querySelectorAll('#thetime');
|
||||||
|
elements.forEach(function (element) {
|
||||||
|
var text = element.textContent;
|
||||||
|
if (text.length > 9) {
|
||||||
|
element.textContent = text.slice(0, -9);
|
||||||
|
} else {
|
||||||
|
// 处理长度不足的情况,比如清空或者保留原样
|
||||||
|
element.textContent = '';
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
$(function () {
|
$(function () {
|
||||||
$('.newsHead .list .item').on('mouseenter', function () {
|
$('.newsHead .list .item').on('mouseenter', function () {
|
||||||
$(this).addClass('on').siblings().removeClass('on');
|
$(this).addClass('on').siblings().removeClass('on');
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
<link rel="stylesheet" href="{dreamer-cms:template /}css/reset.css">
|
<link rel="stylesheet" href="{dreamer-cms:template /}css/reset.css">
|
||||||
<link rel="stylesheet" href="{dreamer-cms:template /}css/animate.css">
|
<link rel="stylesheet" href="{dreamer-cms:template /}css/animate.css">
|
||||||
<link rel="stylesheet" href="{dreamer-cms:template /}css/style.css">
|
<link rel="stylesheet" href="{dreamer-cms:template /}css/style.css">
|
||||||
|
<link rel="stylesheet" href="{dreamer-cms:template /}css/bootstrap.css">
|
||||||
<link rel="stylesheet" href="{dreamer-cms:template /}scripts/theme/default/layer.css">
|
<link rel="stylesheet" href="{dreamer-cms:template /}scripts/theme/default/layer.css">
|
||||||
<script src="{dreamer-cms:template /}scripts/jquery-1.11.3.min.js"></script>
|
<script src="{dreamer-cms:template /}scripts/jquery-1.11.3.min.js"></script>
|
||||||
<script src="{dreamer-cms:template /}scripts/jquery.SuperSlide.2.1.1.js"></script>
|
<script src="{dreamer-cms:template /}scripts/jquery.SuperSlide.2.1.1.js"></script>
|
||||||
@ -60,33 +61,59 @@
|
|||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<div class="conter wrapper_1200">
|
<div class="conter wrapper_1200">
|
||||||
|
<!-- <section class="panel"> -->
|
||||||
<div class="left">
|
<div class="">
|
||||||
<div class="publicLists">
|
<!-- <table class="table table-hover">
|
||||||
<div class="publicList">
|
|
||||||
{dreamer-cms:pagelist sortBy="show_time" sortWay="desc"}
|
{dreamer-cms:pagelist sortBy="show_time" sortWay="desc"}
|
||||||
<div class="item details" data-id="[field:id/]">
|
|
||||||
<!-- <div class="pictrue dis"><a href="[field:arcurl/]"><img src="[field:litpic/]"></a></div> -->
|
|
||||||
<div class="text dis">
|
|
||||||
<div class="name">
|
|
||||||
<a href="[field:arcurl/]">[field:title/]</a>
|
|
||||||
</div>
|
|
||||||
<div class="icons">
|
|
||||||
<span class="iconfont iconshijian"></span>[field:showtime
|
|
||||||
function="format('yyyy-MM-dd hh:mm:ss')" /]
|
|
||||||
<span class="iconfont iconliulan"></span>[field:clicks /]
|
|
||||||
</div>
|
|
||||||
<div class="infor"><a href="[field:arcurl/]">[field:remark
|
|
||||||
function="substring(0,75,'...')" /]</a></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{/dreamer-cms:pagelist}
|
{/dreamer-cms:pagelist}
|
||||||
|
</table> -->
|
||||||
|
<div class="publicLists">
|
||||||
|
<!-- <div class="publicList"> -->
|
||||||
|
<div class="">
|
||||||
|
<table class="table table-hover">
|
||||||
|
<thead>
|
||||||
|
<tr >
|
||||||
|
<!-- <th style="width:50px;">选择</th> -->
|
||||||
|
<th style="height: 30px;font-size:20px;color:blue;">名称</th>
|
||||||
|
<th style="height: 30px;font-size:20px;color:blue;">发布时间</th>
|
||||||
|
<!-- <th>变量值</th> -->
|
||||||
|
<!-- <th style="width:300px;">操作</th> -->
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{dreamer-cms:pagelist sortBy="show_time" sortWay="desc"}
|
||||||
|
<tr style="height: 50px;font-size:30px">
|
||||||
|
|
||||||
|
<td><a href="[field:arcurl/]">[field:title/]</a></td>
|
||||||
|
<td>[field:showtime
|
||||||
|
function="format('yyyy-MM-dd')" /]</td>
|
||||||
|
<!-- <td></td><a href="[field:arcurl/]">[field:showtime
|
||||||
|
function="format('yyyy-MM-dd hh:mm:ss')" /]</a></td> -->
|
||||||
|
|
||||||
|
<!-- <td><input type="checkbox" class="flat-grey list-child" th:value="${variable.id}" /></td> -->
|
||||||
|
|
||||||
|
<!-- <td th:text="${variable.value}"></td> -->
|
||||||
|
<!-- <td class="operate">
|
||||||
|
<a th:href="@{/admin/variable/toEdit(id=${variable.id})}" class="btn btn-xs btn-success" shiro:hasAnyPermissions="system:variable:toedit,system:variable:update">编辑</a>
|
||||||
|
<a href="javascript:void(0)" data-toggle="modal" class="btn btn-xs btn-danger" th:variableid="${variable.id}" th:onclick="confrimRemove(this.getAttribute('variableid'));" shiro:hasAnyPermissions="system:variable:delete">删除</a>
|
||||||
|
</td> -->
|
||||||
|
</tr>
|
||||||
|
{/dreamer-cms:pagelist}
|
||||||
|
<!-- <tr th:if="${#lists.isEmpty(page.list)}">
|
||||||
|
<td colspan="8" align="center">无数据</td>
|
||||||
|
</tr> -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- </div> -->
|
||||||
<div class="listpages">
|
<div class="listpages">
|
||||||
{dreamer-cms:pagination /}
|
{dreamer-cms:pagination /}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
<!-- <div class="right">
|
<!-- <div class="right">
|
||||||
<div class="newsHead">
|
<div class="newsHead">
|
||||||
<div class="title">新闻头条</div>
|
<div class="title">新闻头条</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user