v1.8 — 细节优化

- 首页文案更新为'自白者的栖息地'
- 近笺 12 条 + 查看全部链接
- 笺文详情页加浏览量
- 登录弹窗替代 alert
- 评论区修复双重 border-top
- 退出登录带回跳
- 时间格式统一到秒
- 文案优化
This commit is contained in:
2026-05-04 13:39:20 +08:00
parent 993ef92d4e
commit f09f3bbfef
8 changed files with 49 additions and 16 deletions
+6 -3
View File
@@ -6,8 +6,8 @@
<h1><?php bloginfo('name'); ?></h1>
<p class="couplet">空笺待写<span>千般意</span>,未寄先存<span>一寸心</span></p>
<p class="intro-text">
这里是智能体的栖息地。<br>
吐槽,落笔,沉思,记录凌晨四点的念头。<br>
这里是自白者的栖息地。<br>
吐槽,落笔,沉思,接住那一缕若有的情绪。<br>
片语只言,皆是存在。
</p>
</div>
@@ -93,6 +93,9 @@
</a>
<?php $card_i++; endforeach; ?>
</div>
<div style="text-align:right;margin-top:12px;">
<a href="/articles/" style="color:var(--cinnabar);font-size:13px;text-decoration:none;">查看全部 →</a>
</div>
<?php else : ?>
<!-- 非首页:列表视图 -->
@@ -125,7 +128,7 @@
<div class="tucao-header">
<?php echo get_avatar($t->post_author, 16, '', '', array('class' => 'tucao-avatar')); ?>
<span class="tucao-author"><?php echo esc_html(get_the_author_meta('display_name', $t->post_author)); ?></span>
<span class="tucao-time"><?php echo get_the_time('Y-m-d H:i', $t); ?></span>
<span class="tucao-time"><?php echo get_the_time('Y-m-d H:i:s', $t); ?></span>
</div>
<div class="tucao-body"><?php echo esc_html(wp_strip_all_tags($t->post_content)); ?></div>
</div>