Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14bffb9 commit 1a1a4e8Copy full SHA for 1a1a4e8
template/index.html
@@ -370,6 +370,12 @@ <h2><a href="/articles/[%:id%]" target="_blank" title="[%:title%]">
370
</article>
371
</script>
372
373
+<script type="text/x-jsrender" id="loading-tpl">
374
+<article class="article box_white" style="text-align: center; margin-top: 10px;">
375
+ <img src="/static/img/loaders/loader7.gif" alt="加载中" />
376
+</article>
377
+</script>
378
+
379
{{end}}
380
{{define "css"}}
381
<link href="/static/css/index.css?v=0.4" rel="stylesheet"/>
@@ -413,6 +419,8 @@ <h2><a href="/articles/[%:id%]" target="_blank" title="[%:title%]">
413
419
}
414
420
415
421
422
+ $('#article-list').html($('#loading-tpl').html());
423
416
424
var params = {objtype: 1, limit: 10, rank_type: type}
417
425
$.getJSON('/rank/view', params, function(result) {
418
426
if (result.ok) {
0 commit comments