diff options
| author | outtime <i@timewk.cn> | 2019-12-19 14:41:27 +0800 |
|---|---|---|
| committer | outtime <i@timewk.cn> | 2019-12-19 14:41:27 +0800 |
| commit | 4a675768d3a2b9c525e862c22eeeb3c624821742 (patch) | |
| tree | a2b2119748c62f1b74df1fce33bf18519a7a334f | |
| parent | b78ec636d0f617df4c2acbe8b657c2f86407a2ff (diff) | |
🍔Perf:修正一些问题
| -rw-r--r-- | assets/css/main/post.css | 3 | ||||
| -rw-r--r-- | includes/footer.php | 10 |
2 files changed, 8 insertions, 5 deletions
diff --git a/assets/css/main/post.css b/assets/css/main/post.css index f35786e..4c6a942 100644 --- a/assets/css/main/post.css +++ b/assets/css/main/post.css @@ -22,7 +22,8 @@ }
.post-banner-box {
height: 100%;
- overflow: hidden
+ overflow: hidden;
+ padding: 0;
}
.post-banner img {
width: 100%;
diff --git a/includes/footer.php b/includes/footer.php index 754d25d..81b153d 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -10,7 +10,7 @@ $faces = "<span class=\"anime-face\">".$faces[rand(0,count($faces))]."</span>"; } if($faces && $this->options->build_time)echo $faces; - ?>; + ?> <p class="copyright">© <?php echo date('Y'); ?> <a href="<?php $this->options->SiteUrl(); ?>"><?php $this->options->title(); ?></a> All rights reserved.<br /> <?php if($faces && !$this->options->build_time)echo $faces; @@ -35,9 +35,11 @@ <?php if($this->options->pjax && $this->options->pjax!=0) :?>var loadPjax = true; beforePjax = function() {NProgress.start();}; afterPjax = function() {owoLoad();<?php $this->options->pjax_complete(); ?>};<?php endif; ?></script> - <!-- Script that must be after and BuildTime--> - <script src="<?php Utils::indexTheme('assets/js/miracles.min.js'); ?>"> - <?php if($this->options->build_time)echo "buildTime(".$this->options->build_time.");" ?> + <!-- Script that must be after--> + <script src="<?php Utils::indexTheme('assets/js/miracles.min.js'); ?>"></script> + <!-- BuildTime --> + <script> + <?php if($this->options->build_time)echo "startTime(\"".$this->options->build_time."\");" ?> </script> <!-- Send News and Loaders --> <script><?php if($this->is('index')): ?><?php if($this->options->news==!''): ?>alertSend('公告:<?php echo $this->options->news(); ?>');<?php endif; ?><?php endif; ?><?php if($this->is('post') || $this->is('page')): ?>owoLoad();<?php endif; ?><?php $this->options->jsEcho(); ?></script> |
