4 Star 0 Fork 0

周雨航/gitee335

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.ftl 3.65 KB
一键复制 编辑 原始数据 按行查看 历史
lxy2793154 提交于 2023-06-29 02:04 . 前端
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title>${siteName!""}</title>
<link rel="icon" href="/home/imgs/favicon.ico" type="image/x-icon">
<link media="all" href="/home/css/index.css" type="text/css" rel="stylesheet">
</head>
<body>
<#include "../common/top_header.ftl"/>
<#include "../common/left_menu.ftl"/>
<div class="container">
<div class="main center">
<div class="wrap-site mt20">
<div class="recom-title"></div>
<ul class="recom-list group">
<#if newsList??>
<#list newsList as news>
<li><a href="/home/index/news_detail?id=${news.id}" target="_top">${news.title}</a></li>
</#list>
</#if>
</ul>
</div>
<div class="label-wr center clearfix">
<div id="nav-labels">
<button id="new_pro" class="labels" onclick="" ></button>
</div>
</div>
<div class="item-list">
<ul class="items clearfix">
<#if pageBean.content??>
<#list pageBean.content as goods>
<li class="item">
<a href="../goods/detail?id=${goods.id}" class="img" target="_top">
<img src="/photo/view?filename=${goods.photo}" alt="${goods.name}"></a>
<div class="info">
<div class="price">${goods.sellPrice}</div>
<div class="name">
<a href="../goods/detail?id=${goods.id}" target="_top">${goods.name}</a>
</div>
<div class="department"><span>${goods.student.academy}</span></div>
<div class="place"><span>${goods.student.school}</span></div>
<#if goods.recommend == 1>
<div class="school"><span>推荐</span></div>
</#if>
</div>
</li>
</#list>
</#if>
</ul>
</div>
<#if pageBean.total gt 0>
<!-- 分页 开始 -->
<div class="pages">
<#if pageBean.currentPage == 1>
<a class="page-arrow arrow-left" href="javascript:void(0)">首页</a>
<#else>
<a class="page-arrow arrow-left" href="/home/index/index?name=${name!""}&currentPage=1">首页</a>
</#if>
<#list pageBean.currentShowPage as showPage>
<#if pageBean.currentPage == showPage>
<a class="page-num cur" href="javascript:void(0)">${showPage}</a>
<#else>
<a class="page-num " href="/home/index/index?name=${name!""}&currentPage=${showPage}">${showPage}</a>
</#if>
</#list>
<#if pageBean.currentPage == pageBean.totalPage>
<a class="page-arrow arrow-right" href="javascript:void(0)">尾页</a>
<#else>
<a class="page-arrow arrow-right" href="/home/index/index?name=${name!""}&currentPage=${pageBean.totalPage}">尾页</a>
</#if>
</div>
<!-- 分页 结束 -->
</#if>
</div>
</div>
<div class="return-to-top"><a href="#"></a></div><!--返回顶部-->
<#include "../common/right_menu.ftl"/>
<#include "../common/bottom_footer.ftl"/>
<script src="/home/js/jquery-3.1.1.min.js"></script>
<script src="/home/js/common.js"></script>
<script src="/home/js/index.js"></script>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhou-yuhang2002521/gitee335.git
[email protected]:zhou-yuhang2002521/gitee335.git
zhou-yuhang2002521
gitee335
gitee335
master

搜索帮助