fix: 优化支付失败提示+内容加载降级方案

1. 分享按钮精简为2个(推荐给好友+生成海报)
2. 章节内容三级降级:API→本地缓存→重试
3. 移除审核敏感文案(佣金/返利等)
4. 支付失败时显示客服微信号
This commit is contained in:
卡若
2026-01-25 21:29:04 +08:00
parent ac24853aa6
commit 5501397542
6 changed files with 123 additions and 54 deletions

View File

@@ -206,7 +206,7 @@ Page({
// 统计数据
ctx.setFillStyle('rgba(255,255,255,0.6)')
ctx.setFontSize(11)
ctx.fillText(`已推荐 ${referralCount} 人 · 累计收益 ¥${parseFloat(earnings || 0).toFixed(0)}`, 20, 245)
ctx.fillText(`已推荐 ${referralCount} 位好友阅读`, 20, 245)
// 优惠信息
ctx.setFillStyle('rgba(255,215,0,0.15)')
@@ -228,7 +228,7 @@ Page({
ctx.fillText('长按识别 立即购买', 20, height - 50)
ctx.setFillStyle('rgba(255,255,255,0.6)')
ctx.setFontSize(11)
ctx.fillText(`推广返利 ${distributorShare}%`, 20, height - 28)
ctx.fillText('扫码立即阅读', 20, height - 28)
// 绘制小程序码
const drawQRCode = () => {