2019-01-17 22:18:05 +08:00
|
|
|
<!DOCTYPE HTML>
|
2019-01-17 22:18:49 +08:00
|
|
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
|
2019-01-20 21:28:10 +08:00
|
|
|
<head th:fragment="cmsHeader">
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
<title></title>
|
|
|
|
|
<meta name="keywords" content="">
|
|
|
|
|
<meta name="description" content="">
|
|
|
|
|
<link rel="shortcut icon" href="favicon.ico">
|
|
|
|
|
<link rel="stylesheet" th:href="@{/web/res/layui/css/layui.css}">
|
|
|
|
|
<link rel="stylesheet" th:href="@{/web/res/css/global.css}">
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
|
|
|
|
|
.course{
|
|
|
|
|
height: 300px;
|
|
|
|
|
border: 1px solid #8a8a8a;
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
</head>
|
2019-01-17 22:18:05 +08:00
|
|
|
<body>
|
|
|
|
|
|
2019-01-20 21:28:10 +08:00
|
|
|
<div class="fly-header layui-bg-black" th:fragment="top">
|
2019-01-17 22:18:05 +08:00
|
|
|
<div class="layui-container">
|
2019-01-20 21:28:10 +08:00
|
|
|
<a class="fly-logo" th:href="@{/web}">
|
|
|
|
|
<img th:src="@{juncong.png}" alt="骏聪" width="100px" height="50px">
|
2019-01-17 22:18:05 +08:00
|
|
|
</a>
|
|
|
|
|
<ul class="layui-nav fly-nav layui-hide-xs">
|
|
|
|
|
<li class="layui-nav-item layui-this">
|
2019-01-20 21:28:10 +08:00
|
|
|
<a th:href="@{/web}"><i class="iconfont icon-jiaoliu"></i>课程</a>
|
2019-01-17 22:18:05 +08:00
|
|
|
</li>
|
|
|
|
|
<li class="layui-nav-item">
|
2019-01-17 22:20:34 +08:00
|
|
|
<a href="case/case.html"><i class="iconfont icon-iconmingxinganli"></i>练习</a>
|
2019-01-17 22:18:05 +08:00
|
|
|
</li>
|
|
|
|
|
<li class="layui-nav-item">
|
2019-01-17 22:20:34 +08:00
|
|
|
<a href="http://www.layui.com/" target="_blank"><i class="iconfont icon-ui"></i>考试</a>
|
2019-01-17 22:18:05 +08:00
|
|
|
</li>
|
|
|
|
|
</ul>
|
2019-01-20 21:28:10 +08:00
|
|
|
|
2019-01-17 22:18:05 +08:00
|
|
|
<ul class="layui-nav fly-nav-user">
|
2019-01-20 21:28:10 +08:00
|
|
|
|
2019-01-17 22:18:05 +08:00
|
|
|
<!-- 未登入的状态 -->
|
|
|
|
|
<li class="layui-nav-item">
|
|
|
|
|
<a class="iconfont icon-touxiang layui-hide-xs" href="user/login.html"></a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="layui-nav-item">
|
2019-01-20 21:28:10 +08:00
|
|
|
<a th:href="@{/web/user/login.html}">登入</a>
|
2019-01-17 22:18:05 +08:00
|
|
|
</li>
|
|
|
|
|
<li class="layui-nav-item">
|
2019-01-20 21:28:10 +08:00
|
|
|
<a th:href="@{/web/user/reg.html}">注册</a>
|
2019-01-17 22:18:05 +08:00
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="layui-container">
|
|
|
|
|
<div class="layui-row layui-col-space15">
|
2019-01-20 21:28:10 +08:00
|
|
|
<div class="layui-col-md3" th:each="course:${trainCourse}">
|
|
|
|
|
<div class="course">
|
|
|
|
|
<div class="courseImg">
|
|
|
|
|
<img th:src="${course.cover}" th:alt="${course.name}" width="100%" height="230px">
|
2019-01-17 22:18:05 +08:00
|
|
|
</div>
|
2019-01-20 21:28:10 +08:00
|
|
|
<span th:text="${course.name}"></span>
|
2019-01-17 22:18:05 +08:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2019-01-20 21:28:10 +08:00
|
|
|
<div class="fly-footer" th:fragment="cmsBottom">
|
|
|
|
|
<p><a href="http://fly.layui.com/" target="_blank">骏聪信息科技</a></p>
|
2019-01-17 22:18:05 +08:00
|
|
|
</div>
|
2019-01-20 21:28:10 +08:00
|
|
|
|
2019-01-17 22:18:05 +08:00
|
|
|
<script src="../res/layui/layui.js"></script>
|
|
|
|
|
<script>
|
|
|
|
|
layui.cache.page = '';
|
|
|
|
|
layui.cache.user = {
|
|
|
|
|
username: '游客'
|
|
|
|
|
,uid: -1
|
|
|
|
|
,avatar: '../res/images/avatar/00.jpg'
|
|
|
|
|
,experience: 83
|
|
|
|
|
,sex: '男'
|
|
|
|
|
};
|
|
|
|
|
layui.config({
|
|
|
|
|
version: "3.0.0"
|
|
|
|
|
,base: '../res/mods/' //这里实际使用时,建议改成绝对路径
|
|
|
|
|
}).extend({
|
|
|
|
|
fly: 'index'
|
|
|
|
|
}).use('fly');
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_30088308'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "w.cnzz.com/c.php%3Fid%3D30088308' type='text/javascript'%3E%3C/script%3E"));</script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|