main
parent
080c41d458
commit
f04ed0b242
|
@ -1,7 +1,7 @@
|
||||||
{{template "header" .}}
|
{{template "header" .}}
|
||||||
<div class="sub-title">- {{ .Title }} -</div>
|
<div class="sub-title">- {{ .Title }} -</div>
|
||||||
<div class="gallery-photos page">
|
<div class="gallery-photos page">
|
||||||
<img src="https://cdn.jsdelivr.net/gh/jkjoy/14e/img/loading.svg" style="margin:auto">
|
<img src="https://cdn.jsdelivr.net/gh/jkjoy/14e/img/loading.svg" style="margin:auto" alt="">
|
||||||
</div>
|
</div>
|
||||||
<link rel="stylesheet" href="https://cdn.staticfile.org/fancyapps-ui/4.0.27/fancybox.min.css" media="print" onload="this.media='all'">
|
<link rel="stylesheet" href="https://cdn.staticfile.org/fancyapps-ui/4.0.27/fancybox.min.css" media="print" onload="this.media='all'">
|
||||||
<script src="https://cdn.staticfile.org/fancyapps-ui/4.0.27/fancybox.umd.min.js"></script>
|
<script src="https://cdn.staticfile.org/fancyapps-ui/4.0.27/fancybox.umd.min.js"></script>
|
||||||
|
@ -35,8 +35,6 @@
|
||||||
if (1) {
|
if (1) {
|
||||||
let url = '{{ .Data.memos_url }}' // 修改api
|
let url = '{{ .Data.memos_url }}' // 修改api
|
||||||
fetch(url + '/api/v1/memo?creatorId={{ .Data.memos_user }}&tag={{ .Data.memos_tag }}').then(res => res.json()).then(data => {
|
fetch(url + '/api/v1/memo?creatorId={{ .Data.memos_user }}&tag={{ .Data.memos_tag }}').then(res => res.json()).then(data => {
|
||||||
// let url = 'https://notes.starss.cc' // 修改api
|
|
||||||
// fetch(url + '/api/v1/memo?creatorId=JiXieShi&tag=相册').then(res => res.json()).then(data => {
|
|
||||||
let html = '',
|
let html = '',
|
||||||
imgs = []
|
imgs = []
|
||||||
data.forEach(item => {
|
data.forEach(item => {
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<p>Action:</p>
|
<p>Action:</p>
|
||||||
<div class="item-content">
|
<div class="item-content">
|
||||||
<div class="action">
|
<div class="action">
|
||||||
<a href="{{ .Config.DashboardEntrance }}?action=updateArticle">更新文章</a>
|
<a href="{{ .Config.Dashboard }}?action=updateArticle">更新文章</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ if .Data.msg }}
|
{{ if .Data.msg }}
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
<span class="action-tip">提示:更新文章会执行git pull命令,和你的仓库网络有关,等待时间可能会稍长。</span>
|
<span class="action-tip">提示:更新文章会执行git pull命令,和你的仓库网络有关,等待时间可能会稍长。</span>
|
||||||
<script>
|
<script>
|
||||||
function selectColor(index) {
|
function selectColor(index) {
|
||||||
window.location.href = '{{ .Config.DashboardEntrance }}?theme=' + index
|
window.location.href = '{{ .Config.Dashboard }}?theme=' + index
|
||||||
}
|
}
|
||||||
function searchArticle() {
|
function searchArticle() {
|
||||||
var searchKey = document.getElementById('search-input').value;
|
var searchKey = document.getElementById('search-input').value;
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
.talk_item:hover,
|
.talk_item:hover,
|
||||||
.tk-comments-container>.tk-comment:hover,
|
.tk-comments-container>.tk-comment:hover,
|
||||||
.tk-submit:nth-child(1):hover {
|
.tk-submit:nth-child(1):hover {
|
||||||
border-color: #49b1f5;
|
border-color: var(--primary,#673ab7);;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tk-submit {
|
.tk-submit {
|
||||||
|
@ -45,16 +45,21 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#talk .loading {
|
#talk .loading {
|
||||||
vertical-align: middle;
|
/*vertical-align: middle;*/
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
border-radius: 8px;
|
||||||
|
background-color:var(--primary,#673ab7);
|
||||||
}
|
}
|
||||||
|
|
||||||
#talk .loading img {
|
#talk .loading img {
|
||||||
width: 50px;
|
height: 60px;
|
||||||
background-color:var(--primary,#673ab7);
|
width: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.talk_item {
|
.talk_item {
|
||||||
|
@ -167,7 +172,7 @@
|
||||||
display: none;
|
display: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
color: var(--font-color);
|
color: var(--primary,#673ab7);
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 900px) {
|
@media screen and (max-width: 900px) {
|
||||||
.zone_imgbox {
|
.zone_imgbox {
|
||||||
|
@ -195,7 +200,9 @@
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div id="talk">
|
<div id="talk">
|
||||||
<div class='loading'><img src="/public/img/loading.svg" alt="加载中..."></div>
|
<div class='loading'><img src="/public/img/loading.svg" alt="加载中...">
|
||||||
|
<a>加载中...</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="limit">- 只展示最近30条说说 -</div>
|
<div class="limit">- 只展示最近30条说说 -</div>
|
||||||
|
|
Loading…
Reference in New Issue