src/main/resources/templates/chat/chattable.ftl

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<div class="bgc-w box box-primary">
	<!--盒子头-->
	<div class="box-header">
		<h3 class="box-title">
		<#if manage??>
			<a href="writechat" class="label label-success" style="padding: 5px;">
				<span class="glyphicon glyphicon-plus"></span> 新增
			</a>
		</#if>
			<a href="" class="label label-success" style="padding: 5px;margin-left:5px;">
				<span class="glyphicon glyphicon-refresh"></span> 刷新
			</a>
		</h3>
		<div class="box-tools">
			<div class="input-group" style="width: 150px;">
				<input type="text" class="form-control input-sm baseKey"  placeholder="按标题查找" />
				<div class="input-group-btn">
					<a class="btn btn-sm btn-default baseKetsubmit"><span
						class="glyphicon glyphicon-search"></span></a>
				</div>
			</div>
		</div>
	</div>
	<!--盒子身体-->
	<div class="box-body no-padding">
		<div class="table-responsive">
			<table class="table table-hover">
				<tr>
					<th scope="col"><span class="paixu thistype">类型
						<#if type?? && icon??>
						<span class="glyphicon ${icon}"></span>
						</#if>
						</span></th>
					<th scope="col">标题</th>
					<th scope="col"><span class="paixu thistime">发布时间
						<#if time?? && icon??>
							<span class="glyphicon ${icon}"></span>
						</#if>
						</span></th>
					<th scope="col">发布人</th>
					<th scope="col"><span class="paixu thisvisit">访问量
						<#if visitnum?? && icon??>
							<span class="glyphicon ${icon}"></span>
						</#if>
						</span></th>
					<th scope="col">点赞数</th>
					<th scope="col">评论数</th>
					<th scope="col">附件</th>
					<th scope="col">操作</th>
				</tr>
				<#list list as this>
				<tr>
					<td><span class="label ${this.typecolor}">${(this.typeName)!''}</span></td>
					<td style="max-width:200px;overflow: hidden;text-overflow:ellipsis;white-space: nowrap;"><span>${(this.title)!''}</span></td>
					<td><span>${this.createTime?string('yyyy-MM-dd HH:mm:ss')}</span></td>
					<td><span>${(this.userName)!''}</span></td>
					<td><span>${(this.visitNum)!''}</span></td>
					<td><span>${(this.likeNum)!''}</span></td>
					<td><span>${(this.commentsNum)!''}</span></td>
					<td><span>附件</span></td>
后面还有 33 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。