3.2.16: 删三项无用功能、选项重排为 10 组、修移动端提示条偏左

删除
- 微信二维码:配置项 s_wechat / 隐藏上传 s_wechat_url、footer 浮动块、
  默认图注册表条目、CSS 规则、wechat.png
- Font Awesome:选项 g_fontawesome、theme-core 入队、58KB 样式、
  assets/fonts/webfonts 全套字体(2.8MB,CSS 删后零引用)
- 多人模式:选项 multiusers、page-content / page-toolbar 两处分支

选项重排(9 组 → 10 组)
全站配置 / 顶部导航 / 首页配置 / 文章配置 / 站长信息 /
页脚配置 / 哀悼模式 / 收录与统计 / 邮件通知 / 自定义代码
哀悼 5 个字段从「首页配置」独立成「哀悼模式」——它不是首页专属功能。
g_404/g_chrome/g_animate/g_gravatar 等归「全站配置」,s_copyright 归「页脚配置」。

修复
- footer.php 版权行此前无条件硬编码,后台 s_copyright 填了不生效
- 附加日期命中时 yang_mourning_today_name() 返回空串,提示条退化成
  只说「今天是纪念日」而不给名字
- 小屏哀悼提示条 padding 写成 `7px 40px 7px 12px`(右宽左窄给关闭按钮
  让位),内容盒中心 181 vs 视口中心 195,整体偏左 14px。关闭按钮本就
  absolute 不占内部流,改为左右等宽 + 缩小按钮。桌面端同类错误 3.2.14 已修,
  此处漏了同一个断点。

加载顺序
theme-options.php 可能早于 theme-mourning.php / theme-custom-code.php 加载,
新增 yang_opt_* 四个 function_exists 包装,避免裸调用导致后台白屏。

验证:静态断言 62/0 · 后台面板 14/0 · 反向验证 7/7 与 44/0 ·
提示条 4 视口几何 20/0(注入旧 bug 精确复现 -14px)· 线上 3 视口 33/0
This commit is contained in:
2026-10-23 22:56:10 +08:00
parent 96bbb3d1b5
commit 0799268661
27 changed files with 546 additions and 9750 deletions
File diff suppressed because one or more lines are too long
+1 -24
View File
@@ -2160,8 +2160,7 @@ button:focus {
}
.k-footer .f-toolbox .gotop .gotop-btn span,
.k-footer .f-toolbox .search span,
.k-footer .f-toolbox .wechat span {
.k-footer .f-toolbox .search span {
display: table-cell;
width: 40px;
height: 40px;
@@ -2176,10 +2175,6 @@ button:focus {
cursor: pointer;
}
.k-footer .f-toolbox .gotop.gotop-haswechat {
bottom: 130px;
}
.k-footer .f-toolbox .gotop .gotop-btn {
display: table;
width: 40px;
@@ -2193,24 +2188,6 @@ button:focus {
background: rgba(132, 132, 132, 0.7);
}
.k-footer .f-toolbox .wechat {
bottom: 80px;
background: rgba(132, 132, 132, 0.7);
cursor: pointer;
}
.k-footer .f-toolbox .wechat .wechat-pic {
display: none;
}
.k-footer .f-toolbox .wechat img {
position: absolute;
right: 55px;
bottom: -55px;
width: 150px;
height: 150px;
}
.k-footer .f-toolbox .search {
bottom: 30px;
display: table;
+1 -1
View File
File diff suppressed because one or more lines are too long