fix: 优化支付失败提示+内容加载降级方案
1. 分享按钮精简为2个(推荐给好友+生成海报) 2. 章节内容三级降级:API→本地缓存→重试 3. 移除审核敏感文案(佣金/返利等) 4. 支付失败时显示客服微信号
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user