增加两个引用的页面
This commit is contained in:
@@ -31,6 +31,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
|||||||
.antMatchers("/register","/login","/toLogin","/checkLogin","/checkRegister").permitAll()
|
.antMatchers("/register","/login","/toLogin","/checkLogin","/checkRegister").permitAll()
|
||||||
.antMatchers("/source","/source/view/*").permitAll()
|
.antMatchers("/source","/source/view/*").permitAll()
|
||||||
.antMatchers("/blog","/blog/read/*").permitAll()
|
.antMatchers("/blog","/blog/read/*").permitAll()
|
||||||
|
.antMatchers("/guess","/favor").permitAll()
|
||||||
.antMatchers("/search/**").permitAll()
|
.antMatchers("/search/**").permitAll()
|
||||||
.antMatchers("/about").permitAll()
|
.antMatchers("/about").permitAll()
|
||||||
.antMatchers("/user/donate").permitAll()
|
.antMatchers("/user/donate").permitAll()
|
||||||
|
|||||||
@@ -41,6 +41,16 @@ public class AboutController extends BaseModelController {
|
|||||||
return "page/about";
|
return "page/about";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@GetMapping("/favor")
|
||||||
|
public String favor(){
|
||||||
|
return "favor";
|
||||||
|
}
|
||||||
|
|
||||||
|
@GetMapping("/guess")
|
||||||
|
public String guess(){
|
||||||
|
return "cimi/guess";
|
||||||
|
}
|
||||||
|
|
||||||
@PostMapping("/about/append")
|
@PostMapping("/about/append")
|
||||||
@PreAuthorize("hasAuthority('ADMIN')")
|
@PreAuthorize("hasAuthority('ADMIN')")
|
||||||
public String saveSay(About about){
|
public String saveSay(About about){
|
||||||
|
|||||||
26359
src/main/resources/static/assets/idioms.a01375e9.js
Normal file
26359
src/main/resources/static/assets/idioms.a01375e9.js
Normal file
File diff suppressed because it is too large
Load Diff
1
src/main/resources/static/assets/index.7414fc6a.css
Normal file
1
src/main/resources/static/assets/index.7414fc6a.css
Normal file
File diff suppressed because one or more lines are too long
2
src/main/resources/static/assets/index.9dc5e5a9.js
Normal file
2
src/main/resources/static/assets/index.9dc5e5a9.js
Normal file
File diff suppressed because one or more lines are too long
3
src/main/resources/static/assets/locale.6dea3a1e.js
Normal file
3
src/main/resources/static/assets/locale.6dea3a1e.js
Normal file
File diff suppressed because one or more lines are too long
1
src/main/resources/static/assets/polyphones.f3f0c057.js
Normal file
1
src/main/resources/static/assets/polyphones.f3f0c057.js
Normal file
File diff suppressed because one or more lines are too long
7
src/main/resources/static/assets/vendor.240a937f.js
Normal file
7
src/main/resources/static/assets/vendor.240a937f.js
Normal file
File diff suppressed because one or more lines are too long
34
src/main/resources/templates/cimi/guess.html
Normal file
34
src/main/resources/templates/cimi/guess.html
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en" xmlns:th="http://www.thymeleaf.org">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<title>Quinn-词谜</title>
|
||||||
|
<script type="module" crossorigin src="./assets/index.9dc5e5a9.js"></script>
|
||||||
|
<link rel="modulepreload" th:href="@{/assets/vendor.240a937f.js}">
|
||||||
|
<link rel="modulepreload" th:href="@{/assets/polyphones.f3f0c057.js}">
|
||||||
|
<link rel="modulepreload" th:href="@{/assets/idioms.a01375e9.js}">
|
||||||
|
<link rel="modulepreload" th:href="@{/assets/locale.6dea3a1e.js}">
|
||||||
|
<link rel="stylesheet" th:href="@{/assets/index.7414fc6a.css}">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
<div class="to-top">
|
||||||
|
<img class="d-block pl-2" src="/images/logo/qrcode.png" width="50" height="50">
|
||||||
|
<a class="badge badge-light">返回顶部</a>
|
||||||
|
</div>
|
||||||
|
<script th:src="@{/js/jquery-3.5.1.min.js}"></script>
|
||||||
|
<script th:src="@{/bootstrap/js/bootstrap.bundle.min.js}"></script>
|
||||||
|
<script th:src="@{/js/toTop.js}"></script>
|
||||||
|
<script th:src="@{/js/jquery-ui.min.js}"></script>
|
||||||
|
<script th:src="@{/live/js/addlive2d.js}"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
(function() {
|
||||||
|
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
|
||||||
|
const setting = localStorage.getItem('color-schema') || 'auto'
|
||||||
|
if (setting === 'dark' || (prefersDark && setting !== 'light'))
|
||||||
|
document.documentElement.classList.toggle('dark', true)
|
||||||
|
})()
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -18,22 +18,28 @@
|
|||||||
<div class="collapse navbar-collapse" id="navbarsExample07">
|
<div class="collapse navbar-collapse" id="navbarsExample07">
|
||||||
<ul class="navbar-nav mr-auto">
|
<ul class="navbar-nav mr-auto">
|
||||||
<li th:class="${activeUrl=='index.html'?'nav-item active':'nav-item'}">
|
<li th:class="${activeUrl=='index.html'?'nav-item active':'nav-item'}">
|
||||||
<a class="nav-link" th:href="@{/index}">首页 </a>
|
<a class="nav-link" th:href="@{/index}">首页</a>
|
||||||
</li>
|
</li>
|
||||||
<!-- <li th:class="${activeUrl=='question'?'nav-item active':'nav-item'}">-->
|
<!-- <li th:class="${activeUrl=='question'?'nav-item active':'nav-item'}">-->
|
||||||
<!-- <a class="nav-link" th:href="@{/question}">问答 </a>-->
|
<!-- <a class="nav-link" th:href="@{/question}">问答 </a>-->
|
||||||
<!-- </li>-->
|
<!-- </li>-->
|
||||||
<li th:class="${activeUrl=='blog'?'nav-item active':'nav-item'}">
|
<li th:class="${activeUrl=='blog'?'nav-item active':'nav-item'}">
|
||||||
<a class="nav-link" th:href="@{/blog}">论坛 </a>
|
<a class="nav-link" th:href="@{/blog}">论坛</a>
|
||||||
</li>
|
</li>
|
||||||
<li th:class="${activeUrl=='hotspot'?'nav-item active':'nav-item'}">
|
<li th:class="${activeUrl=='hotspot'?'nav-item active':'nav-item'}">
|
||||||
<a class="nav-link" th:href="@{/hotspot}">热门资源 </a>
|
<a class="nav-link" th:href="@{/hotspot}">热点资源</a>
|
||||||
</li>
|
</li>
|
||||||
<li th:class="${activeUrl=='source'?'nav-item active':'nav-item'}">
|
<li th:class="${activeUrl=='source'?'nav-item active':'nav-item'}">
|
||||||
<a class="nav-link" th:href="@{/source}">资源库 </a>
|
<a class="nav-link" th:href="@{/source}">资源</a>
|
||||||
|
</li>
|
||||||
|
<li th:class="${activeUrl=='favor'?'nav-item active':'nav-item'}">
|
||||||
|
<a class="nav-link" th:href="@{/favor}">情话</a>
|
||||||
|
</li>
|
||||||
|
<li th:class="${activeUrl=='guess'?'nav-item active':'nav-item'}">
|
||||||
|
<a class="nav-link" th:href="@{/guess}">词谜</a>
|
||||||
</li>
|
</li>
|
||||||
<li th:class="${activeUrl=='about'?'nav-item active':'nav-item'}">
|
<li th:class="${activeUrl=='about'?'nav-item active':'nav-item'}">
|
||||||
<a class="nav-link" th:href="@{/about}">关于 </a>
|
<a class="nav-link" th:href="@{/about}">关于</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|||||||
31
src/main/resources/templates/favor.html
Normal file
31
src/main/resources/templates/favor.html
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en" xmlns:th="http://www.thymeleaf.org">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<title>土味情话-Quinn</title>
|
||||||
|
<link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.min.css}">
|
||||||
|
<link rel="stylesheet" th:href="@{/css/backgroud.css}">
|
||||||
|
</head>
|
||||||
|
<div th:replace="~{common/header::header(activeUrl='favor')}"></div>
|
||||||
|
<main role="main">
|
||||||
|
<div class="container">
|
||||||
|
<div class="alert alert-primary mt-3" role="alert">
|
||||||
|
选自@杨二-土味情话生成器。可以点<a target="_blank" class="text-danger font-weight-bold text-decoration-none" href="https://yangerxiao.com">此处</a>访问作者首页
|
||||||
|
</div>
|
||||||
|
<iframe height="1080px" width="100%" src="https://works.yangerxiao.com/honeyed-words-generator/"></iframe>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<div th:replace="~{common/footer::footer}"></div>
|
||||||
|
<div class="to-top">
|
||||||
|
<img class="d-block pl-2" src="/images/logo/qrcode.png" width="50" height="50">
|
||||||
|
<a class="badge badge-light">返回顶部</a>
|
||||||
|
</div>
|
||||||
|
<script th:src="@{/js/jquery-3.5.1.min.js}"></script>
|
||||||
|
<script th:src="@{/bootstrap/js/bootstrap.bundle.min.js}"></script>
|
||||||
|
<script th:src="@{/js/toTop.js}"></script>
|
||||||
|
<script th:src="@{/js/jquery-ui.min.js}"></script>
|
||||||
|
<script th:src="@{/live/js/addlive2d.js}"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -44,6 +44,12 @@
|
|||||||
style="font-family:'Microsoft YaHei';">
|
style="font-family:'Microsoft YaHei';">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
|
<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path v-if="tone === 1" d="M3.35 8C2.60442 8 2 8.60442 2 9.35V10.35C2 11.0956 2.60442 11.7 3.35 11.7H17.35C18.0956 11.7 18.7 11.0956 18.7 10.35V9.35C18.7 8.60442 18.0956 8 17.35 8H3.35Z" fill="currentColor" />
|
||||||
|
<path v-if="tone === 2" d="M16.581 3.71105C16.2453 3.27254 15.6176 3.18923 15.1791 3.52498L3.26924 12.6439C2.83073 12.9796 2.74743 13.6073 3.08318 14.0458L4.29903 15.6338C4.63478 16.0723 5.26244 16.1556 5.70095 15.8199L17.6108 6.70095C18.0493 6.3652 18.1327 5.73754 17.7969 5.29903L16.581 3.71105Z" fill="currentColor" />
|
||||||
|
<path v-if="tone === 3" d="M1.70711 7.70712C1.31658 7.3166 1.31658 6.68343 1.70711 6.29291L2.41421 5.5858C2.80474 5.19528 3.4379 5.19528 3.82843 5.5858L9.31502 11.0724C9.70555 11.4629 10.3387 11.4629 10.7292 11.0724L16.2158 5.5858C16.6064 5.19528 17.2395 5.19528 17.63 5.5858L18.3372 6.29291C18.7277 6.68343 18.7277 7.3166 18.3372 7.70712L10.7292 15.315C10.3387 15.7056 9.70555 15.7056 9.31502 15.315L1.70711 7.70712Z" fill="currentColor" />
|
||||||
|
<path v-if="tone === 4" d="M4.12282 3.71105C4.45857 3.27254 5.08623 3.18923 5.52474 3.52498L17.4346 12.6439C17.8731 12.9796 17.9564 13.6073 17.6207 14.0458L16.4048 15.6338C16.0691 16.0723 15.4414 16.1556 15.0029 15.8199L3.09303 6.70095C2.65452 6.3652 2.57122 5.73754 2.90697 5.29903L4.12282 3.71105Z" fill="currentColor" />
|
||||||
|
</svg>
|
||||||
<div style="width:800px;margin:0 auto;text-align:left;">
|
<div style="width:800px;margin:0 auto;text-align:left;">
|
||||||
<table width="944px" style="margin: 0 auto">
|
<table width="944px" style="margin: 0 auto">
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<title>论坛-Quinn</title>
|
<title>资源-Quinn</title>
|
||||||
<link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.min.css}">
|
<link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.min.css}">
|
||||||
<link rel="stylesheet" th:href="@{/wangedit/css/wang.style.css}"/>
|
<link rel="stylesheet" th:href="@{/wangedit/css/wang.style.css}"/>
|
||||||
<link rel="stylesheet" th:href="@{/css/backgroud.css}">
|
<link rel="stylesheet" th:href="@{/css/backgroud.css}">
|
||||||
|
|||||||
Reference in New Issue
Block a user