fix(revenue): replicate the reference rebate poster canvas layers
The poster modal shell already matched the reference theme, but the canvas drawing diverged from zibll's poster-share.js rebate branch in four places: - No 推荐人 tags layer. The reference paints a red #fc4e1f 24px line at img_height+160; AKSRT dropped the layer entirely, so the poster lost the referrer attribution that identifies whose link it is. - The logo slot painted text. The reference contains the real logo image into (80, height-190, 300, 100); AKSRT drew the site name as a 30px string plus a hardcoded 长按识别二维码访问 caption in that slot. - Bottom copy was hardcoded. The reference reads share_desc; now sourced from the new pay_rebate_poster_desc_bottom field with share_desc fallback. - No banner fallback. The reference walks banner → banner_default → banner_spare; a single broken URL left the top half of the poster black. Also aligns the week label to the reference's 周 prefix (was 星期日) and ports drawTextOverflow for wrapping/truncation, which retires the local wrapText. Adds pay_rebate_poster_banner and pay_rebate_poster_desc_bottom to both the Vue and PHP schemas; rest_me now returns logo, compatible and referrer_name. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
ef15416ef7
commit
81b60eb427
7 files changed
+212
-95
No files matched your search
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"generated_at": "2026-10-13T12:53:18+00:00",
|
||||
"generated_at": "2026-10-21T13:04:45+00:00",
|
||||
"errors": [],
|
||||
"warnings": [
|
||||
"customPage tools-update section 'tools/update' not in PHP schema (ok if pure operational page)",
|
||||
@@ -252,7 +252,7 @@
|
||||
"entry": true,
|
||||
"missing_chunks": [],
|
||||
"chunks": [
|
||||
"SchemaPage.BrFz57tJ.js",
|
||||
"SchemaPage.CD_W16f3.js",
|
||||
"vendor-vue.BqIbVHit.js",
|
||||
"FaIcon.BMA0TNWc.js",
|
||||
"AksMediaField.C9RRDn2V.js",
|
||||
@@ -268,8 +268,8 @@
|
||||
"FloatingButtonsSettings.DM1NXEcr.js",
|
||||
"PageHeader.UhySXCpq.js",
|
||||
"FooterTabbarSettings.8D3P8zNv.js",
|
||||
"PostPageSettings.B5Sm-lcm.js",
|
||||
"CommentSettings.DiQrTo4p.js",
|
||||
"PostPageSettings.BjFJtDVl.js",
|
||||
"CommentSettings.DxYhkUD2.js",
|
||||
"PermissionsCapabilities.CnQfjtxC.js",
|
||||
"CmsCredits.Dh2b9uHb.js",
|
||||
"ThemeInfoPage.zYktV7qz.js",
|
||||
|
||||
Reference in new issue
Block a user