diff options
| author | Eltrac <45323514+BigCoke233@users.noreply.github.com> | 2019-12-08 14:14:49 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-08 14:14:49 +0800 |
| commit | 627ed8eb1b30cadb98366098f205438094be7d01 (patch) | |
| tree | f00d2529b9788a5cd2dd39d008c7b0cb7d73fa9a /post.php | |
| parent | 1c8d7cc5d2afcc0f873408811d9238861a4d408e (diff) | |
| parent | cda43ec2e847aa4300133a03128dca8931d0ad9a (diff) | |
处理 outtimes 提供的修改 #16
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -4,7 +4,7 @@ $this->need('includes/header.php'); ?> <main class="main-container container"> <div class="post-body"> - <div class="post-content"><!-- 文章内容 --> + <div class="post-content" id="post-content"><!-- 文章内容 --> <?php $postCheck = Utils::isOutdated($this); if($postCheck["is"] && $this->is('post')): ?> <div class="tip red"> <div class="container-fluid"><div class="row"> @@ -12,6 +12,12 @@ $this->need('includes/header.php'); <div class="col-11 tip-content">本文编写于 <?php echo $postCheck["created"]; ?> 天前,最后修改于 <?php echo $postCheck["updated"]; ?> 天前,其中某些信息可能已经过时。</div> </div></div> </div> + <div class="tip blue"> + <div class="container-fluid"> + <div class="row"> + <div class="col-1 tip-icon"><i class="iconfont icon-info"></i></div> + <div class="col-11 tip-content" id="readTip"></div></div></div> + </div> <?php endif; ?> <?php $this->content(); ?> <br /> @@ -22,4 +28,4 @@ $this->need('includes/header.php'); </div> <?php $this->need('includes/comments.php'); ?> </main> -<?php $this->need('includes/footer.php'); ?>
\ No newline at end of file +<?php $this->need('includes/footer.php'); ?> |
