更新首页逻辑以支持动态标题生成,优化用户体验。调整管理后台资源文件,替换旧的 JavaScript 和 CSS 文件,提升页面性能和样式一致性。同时,更新数据库结构以支持更细粒度的推送状态。

This commit is contained in:
Alex-larget
2026-03-26 20:26:35 +08:00
parent af05740d6f
commit 7bf301a9c8
34 changed files with 1994 additions and 1774 deletions

View File

@@ -147,6 +147,8 @@ func defaultMpUi() gin.H {
"homePage": gin.H{
"logoTitle": "卡若创业派对", "logoSubtitle": "来自派对房的真实故事",
"linkKaruoText": "点击链接卡若", "linkKaruoAvatar": "",
"pinnedTitlePrefix": "派对会员",
"pinnedMainTitleTemplate": "",
"searchPlaceholder": "搜索章节标题或内容...",
"bannerTag": "推荐", "bannerReadMoreText": "点击阅读",
"superSectionTitle": "超级个体", "superSectionLinkText": "获客入口",
@@ -161,6 +163,15 @@ func defaultMpUi() gin.H {
"readStatPath": "/pages/reading-records/reading-records?focus=all",
"recentReadPath": "/pages/reading-records/reading-records?focus=recent",
},
"memberDetailPage": gin.H{
"unlockIntroTitle": "解锁与链接说明",
"unlockIntroBody": "「链接」用于提交留资,由对方通过获客计划跟进;「解锁」用于复制手机/微信号后自行添加好友。请先阅读说明,确认后再登录。",
},
"readPage": gin.H{
"beforeLoginHint": "试读进度与下方百分比以后台配置为准;登录后可购买解锁全文。",
"singlePageTitle": "解锁全文",
"singlePagePaywallHint": "当前为朋友圈单页预览,无法在此登录或付款。请点击底部「前往小程序」进入完整版后再解锁本章。",
},
}
}