diff options
| author | Eltrac <45323514+BigCoke233@users.noreply.github.com> | 2019-07-14 15:15:28 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-14 15:15:28 +0800 |
| commit | 04457c3f793c46c1bd34f8c1c8b1715ccba5f207 (patch) | |
| tree | 1a26ef730200eca79a1839c793d2b7152e97c2ef /index.php | |
| parent | 9f76c533f9688c8fb76daf366c651e813093aade (diff) | |
图片懒加载、修复灯箱 BUG、优化某些样式在夜间模式下的显示
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ $this->need('includes/header.php'); <div class="col-md-6 post-banner-box"> <a href="<?php $this->permalink(); ?>" class="post-link"> <div class="post-banner"> - <img src="<?php if($this->fields->banner && $this->fields->banner=!''): ?><?php echo $this->fields->banner(); ?><?php else: ?><?php Utils::indexTheme('images/postbg/'); ?><?php echo rand(1,rand(1,rand(1,10))); ?>.jpg<?php endif; ?>"> + <img src="/usr/themes/Miracles/images/loading.gif" data-original="<?php if($this->fields->banner && $this->fields->banner=!''): ?><?php echo $this->fields->banner(); ?><?php else: ?><?php Utils::indexTheme('images/postbg/'); ?><?php echo rand(1,rand(1,rand(1,10))); ?>.jpg<?php endif; ?>"> </div> </a> </div> |
