代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../../static/bootstrap/css/bootstrap.min.css"
rel="stylesheet">
<link rel="stylesheet" href="../../static/css/sb-admin-2.css">
<link href="../../static/prettify/github-v2.min.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="../../static/js/html5shiv.min.js"></script>
<script src="../../static/js/respond.min.js"></script>
<![endif]-->
<style>
body {
word-wrap: break-word;
}
</style>
</head>
<body onload="prettyPrint();">
<div id="nav"></div>
<div id="page-wrapper" style="padding: 10px">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<ol class="breadcrumb">
<li><a href="../tag.html">标签</a></li>
<li><a href="index.html">数据标签</a></li>
<li><a href="articleNav.html">标签集标签</a></li>
</ol>
<h2>标签集标签</h2>
<h3>默认dataName</h3>
<p>articleTags</p>
<h3>结果返回</h3>
<p>返回List<TagCount>,只会为空,不会为null</p>
<p>TagCount可访问属性如下:</p>
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th>属性名</th>
<th class="col-md-3">类型</th>
<th>是否可能为null</th>
<th class="col-md-4">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>tag</td>
<td>Tag</td>
<td>否</td>
<td>标签,<a href="###" id="tagModalLink">查看标签可访问属性</a></td>
</tr>
<tr>
<td>count</td>
<td>int</td>
<td>否</td>
<td>标签关联的文章数量</td>
</tr>
</tbody>
</table>
</div>
<h3>默认配合模板</h3>
<pre class="prettyprint lang-html"><div class="panel panel-default" th:unless="${#lists.isEmpty(articleTags)}">
<div class="panel-heading">
<h3 class="panel-title">标签</h3>
</div>
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th>标签</th>
<th>博客数量</th>
</tr>
</thead>
<tbody>
<tr th:each="articleTag : ${articleTags}">
<td ><a th:href="${urls.getArticlesUrl(articleTag.tag.name)}" th:text="${articleTag.tag.name}"></a></td>
<td th:text="${articleTag.count}"></td>
</tr>
</tbody>
</table>
</div>
</div>
</pre>
</div>
</div>
</div>
</div>
<div class="modal" id="tagModal" tabindex="-1" role="dialog"
aria-labelledby="tagModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title" id="tagModalLabel">标签属性</h4>
</div>
<div class="modal-body">
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th>属性名</th>
<th class="col-md-3">类型</th>
<th>是否可能为null</th>
<th class="col-md-4">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>Integer</td>
<td>否</td>
<td>标签ID</td>
</tr>
<tr>
<td>name</td>
<td>String</td>
<td>否</td>
<td>标签名</td>
</tr>
<tr>
<td>create</td>
<td>Timestamp</td>
<td>否</td>
<td>标签创建日期</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
</div>
</div>
</div>
</div>
</body>
<script type="text/javascript" src="../../static/jquery/jquery.min.js"></script>
<script type="text/javascript"
src="../../static/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../../static/prettify/prettify.js"></script>
<script>
$(function() {
$("#nav").load("dataTagNav.html");
$("#tagModalLink").click(function(){
$("#tagModal").modal('show');
})
});
</script>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。