Commit Graph

10 Commits

Author SHA1 Message Date
augushong
2233b2b71a fix(phone-image): 修复代码块/表格转换DOM索引失效bug,增加重新生成按钮和中间栏表格样式
- convertCodeBlocks/convertTables: 改为每次重新find().first()替代缓存索引
- 修复replaceWith后jQuery集合中后续元素DOM引用失效的问题
- 新增'重新生成'按钮,强制重新渲染缩略图
- 新增中间栏content-flow-block表格CSS样式
2026-05-03 22:56:34 +08:00
augushong
168f0a9adc fix(phone-image): remove output-manage button and fix history date display 2026-05-03 22:06:57 +08:00
augushong
5f5dc180c9 feat(phone-image): add history popup with load config support 2026-05-03 21:22:00 +08:00
augushong
c51cd8beb5 feat(phone-image): add save button and state management 2026-05-03 21:16:00 +08:00
augushong
8aeda4c518 refactor(phone-image): JS engine renders thumbnails via html2canvas 2026-05-03 09:08:15 +08:00
augushong
3cc024409f refactor(phone-image): CSS and HTML for thumbnail preview container 2026-05-03 09:00:32 +08:00
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
augushong
34fe255829 feat(phone-image): 增加翻页预览与无封面图排版样式
- 为手机截图生成器添加翻页功能,支持在生成前预览各页内容
- 增加无封面图时的排版样式,使用装饰线条和居中布局
- 改进图片处理逻辑,清除内联样式并展平嵌套包装元素
- 修复 models.dev 同步接口,支持 GET 请求获取缓存数据
- 优化网络请求,添加直连失败后的本地代理重试机制
2026-05-01 16:31:26 +08:00
augushong
83a2bd48a2 feat(post): 新增手机图片排版与AI智能排版功能
- 新增手机图片排版功能,支持小红书/抖音尺寸输出
- 新增AI智能排版顾问,支持内容分析与优化推荐
- 新增AI供应商管理,支持多渠道配置与同步
- 新增文章输出管理页面,支持图片预览与批量下载
- 新增字体文件与排版样式配置
2026-05-01 12:23:17 +08:00