augushong
|
9dce9854c8
|
fix(phone-image): T7 integration fixes
Fix 3 bugs found during Playwright integration testing:
1. Template syntax: {|json_encode|default='{}'} -> PHP native (curly braces parsed as TP6 tags)
2. jQuery event namespace mismatch: off('click.phoneImage') -> off('click') to match on('click')
3. Migration executed on server
All 6 Playwright test scenarios passed: layout, content flow, preview, alignment, font size, toolbar buttons
|
2026-05-02 09:54:59 +08:00 |
|
augushong
|
57187a9d1d
|
refactor(phone-image): three-column layout with content flow and paginated preview
T6: Rewrite phone_image.html to three-column layout (toolbar 220px | content flow 540px | paginated preview flex:1)
- Remove: template buttons, font selector, AI section, preview button, page navigation
- Add: content-flow area, paginated-preview area, export long image button
- Update: postData with coverText, layoutContentHtml, savedConfig restore
- Debounced doRender (300ms), auto-render on page load
|
2026-05-02 09:30:20 +08:00 |
|