|
@@ -6,13 +6,147 @@
|
|
|
<head>
|
|
|
<meta charset="UTF-8"/>
|
|
|
<title>首页 - [[${APP_NAME}]]</title>
|
|
|
+
|
|
|
+ <style>
|
|
|
+ /* Since positioning the image, we need to help out the caption */
|
|
|
+ .carousel-caption {
|
|
|
+ bottom: 3rem;
|
|
|
+ z-index: 10;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* Declare heights because of positioning of img element */
|
|
|
+ .carousel-item {
|
|
|
+ height: 32rem;
|
|
|
+ background-color: #777;
|
|
|
+ }
|
|
|
+
|
|
|
+ .carousel-item > img {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ min-width: 100%;
|
|
|
+ height: 32rem;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* MARKETING CONTENT */
|
|
|
+ /* Center align the text within the three columns below the carousel */
|
|
|
+ .marketing .col-lg-4 {
|
|
|
+ margin-bottom: 1.5rem;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+
|
|
|
+ .marketing h2 {
|
|
|
+ font-weight: 400;
|
|
|
+ }
|
|
|
+
|
|
|
+ .marketing .col-lg-4 p {
|
|
|
+ margin-right: .75rem;
|
|
|
+ margin-left: .75rem;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* Featurettes */
|
|
|
+
|
|
|
+ .featurette-divider {
|
|
|
+ margin: 5rem 0; /* Space out the Bootstrap <hr> more */
|
|
|
+ }
|
|
|
+
|
|
|
+ /* Thin out the marketing headings */
|
|
|
+ .featurette-heading {
|
|
|
+ font-weight: 300;
|
|
|
+ line-height: 1;
|
|
|
+ letter-spacing: -.05rem;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* RESPONSIVE CSS */
|
|
|
+
|
|
|
+ @media (min-width: 40em) {
|
|
|
+ /* Bump up size of carousel content */
|
|
|
+ .carousel-caption p {
|
|
|
+ margin-bottom: 20px;
|
|
|
+ font-size: 1.25rem;
|
|
|
+ line-height: 1.4;
|
|
|
+ }
|
|
|
+
|
|
|
+ .featurette-heading {
|
|
|
+ font-size: 50px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ @media (min-width: 62em) {
|
|
|
+ .featurette-heading {
|
|
|
+ margin-top: 7rem;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ </style>
|
|
|
</head>
|
|
|
<body>
|
|
|
<th:block layout:fragment="content">
|
|
|
- <h5>基于Java的校园智能求职招聘平台的设计与实现</h5>
|
|
|
+ <!-- 首页轮播图 -->
|
|
|
+ <div class="carousel slide" id="index-carousel" data-ride="carousel">
|
|
|
+ <ol class="carousel-indicators">
|
|
|
+ <li data-target="#index-carousel" th:each="banner, stat : ${bannerList}"
|
|
|
+ th:data-slide-to="${stat.index}" th:class="${stat.index == 0}? 'active'"></li>
|
|
|
+ </ol>
|
|
|
+ <div class="carousel-inner">
|
|
|
+ <div class="carousel-item" th:each="banner, stat : ${bannerList}" th:classappend="${stat.index == 0}? 'active'">
|
|
|
+ <img class="first-slide" src="" alt="" th:src="${banner.getImage()}" th:alt="${banner.getRemark()}"/>
|
|
|
+ <div class="container">
|
|
|
+ <div class="carousel-caption" th:classappend="${stat.count % 3 == 1}? 'text-left' : (${stat.count % 3 == 2}? '' : 'text-right')">
|
|
|
+ <h1 th:text="${banner.getTitle()}"></h1>
|
|
|
+ <p th:text="${banner.getSubtitle()}"></p>
|
|
|
+ <p><a class="btn btn-lg btn-success" href="" role="button" target="_blank" th:href="${banner.getUrl()}" th:text="${banner.getAction()}"></a></p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <a class="carousel-control-prev" href="#index-carousel" role="button" data-slide="prev">
|
|
|
+ <span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
|
|
+ <span class="sr-only">Previous</span>
|
|
|
+ </a>
|
|
|
+ <a class="carousel-control-next" href="#index-carousel" role="button" data-slide="next">
|
|
|
+ <span class="carousel-control-next-icon" aria-hidden="true"></span>
|
|
|
+ <span class="sr-only">Next</span>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
|
|
|
<div class="container" style="margin-top: 24px;">
|
|
|
- 待实现...
|
|
|
+ <div class="row mb-2">
|
|
|
+ <div class="col-md-12">
|
|
|
+ <h3 class="pb-3 mb-4 font-italic border-bottom">推荐职位</h3>
|
|
|
+ </div>
|
|
|
+ <div class="col-md-6">
|
|
|
+ <div class="card flex-md-row mb-4 box-shadow h-md-250">
|
|
|
+ <div class="card-body d-flex flex-column align-items-start">
|
|
|
+ <strong class="d-inline-block mb-2 text-primary">World</strong>
|
|
|
+ <h3 class="mb-0">
|
|
|
+ <a class="text-dark" href="#">Featured post</a>
|
|
|
+ </h3>
|
|
|
+ <div class="mb-1 text-muted">Nov 12</div>
|
|
|
+ <p class="card-text mb-auto">This is a wider card with supporting text below as a natural lead-in to additional content.</p>
|
|
|
+ <a href="#">Continue reading</a>
|
|
|
+ </div>
|
|
|
+ <img class="card-img-right flex-auto d-none d-md-block" data-src="holder.js/200x250?theme=thumb" alt="Thumbnail [200x250]"
|
|
|
+ src="data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%22200%22%20height%3D%22250%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20250%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_171a4b7082d%20text%20%7B%20fill%3A%23eceeef%3Bfont-weight%3Abold%3Bfont-family%3AArial%2C%20Helvetica%2C%20Open%20Sans%2C%20sans-serif%2C%20monospace%3Bfont-size%3A13pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_171a4b7082d%22%3E%3Crect%20width%3D%22200%22%20height%3D%22250%22%20fill%3D%22%2355595c%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%2256.1953125%22%20y%3D%22131%22%3EThumbnail%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"
|
|
|
+ data-holder-rendered="true" style="width: 200px; height: 250px;">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col-md-6">
|
|
|
+ <div class="card flex-md-row mb-4 box-shadow h-md-250">
|
|
|
+ <div class="card-body d-flex flex-column align-items-start">
|
|
|
+ <strong class="d-inline-block mb-2 text-success">Design</strong>
|
|
|
+ <h3 class="mb-0">
|
|
|
+ <a class="text-dark" href="#">Post title</a>
|
|
|
+ </h3>
|
|
|
+ <div class="mb-1 text-muted">Nov 11</div>
|
|
|
+ <p class="card-text mb-auto">This is a wider card with supporting text below as a natural lead-in to additional content.</p>
|
|
|
+ <a href="#">Continue reading</a>
|
|
|
+ </div>
|
|
|
+ <img class="card-img-right flex-auto d-none d-md-block" data-src="holder.js/200x250?theme=thumb" alt="Thumbnail [200x250]"
|
|
|
+ src="data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%22200%22%20height%3D%22250%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20250%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_171a4b70832%20text%20%7B%20fill%3A%23eceeef%3Bfont-weight%3Abold%3Bfont-family%3AArial%2C%20Helvetica%2C%20Open%20Sans%2C%20sans-serif%2C%20monospace%3Bfont-size%3A13pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_171a4b70832%22%3E%3Crect%20width%3D%22200%22%20height%3D%22250%22%20fill%3D%22%2355595c%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%2256.1953125%22%20y%3D%22131%22%3EThumbnail%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"
|
|
|
+ data-holder-rendered="true" style="width: 200px; height: 250px;">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</th:block>
|
|
|
</body>
|