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