kate522
95ff0761b7
fix(vip): 积分兑换弹窗改服务端渲染并与 Zibll 1:1 对齐
...
/user/vip/ 的积分兑换会员弹窗原先是前端自行拼装的,结构与层级都与参考主题
Zibll 不一致:Zibll 走 zibpay_get_vip_points_exchange_modal() 服务端渲染静态
壳,前端只按需开合。改为同一模型,前端不再拼 HTML。
- VipServiceModal 新增 get_points_exchange_modal_html():门控(未登录/未开启
返回空串)、vip-card 套餐选择、积分不足提示与提交表单;wp_footer 挂载输出
- pay-vip.js 移除 renderPointsModal / pointsPackage / exchangeFromModal /
vipPointsPay,改为自包含开合(.in + 内联 display:flex + 独立遮罩 +
body.modal-open + ESC),保留 aksrt-vip-points-toast 的 load/success/danger 契约
- 移除 /user/vip/ 页面底部独立积分兑换入口及其样式(uc-vip-points-link)
- credits.js 清理依赖全站不存在选择器的死代码 initVipPointsExchange()
- vip-modal.css 删除 71 行自实现样式,改为 .modal[data-aksrt-vip-points-modal]
显隐契约;层级 100050 < 遮罩 100055 < 弹窗 100060 < notyf 10000000
- 新增 vip-points-exchange-modal 契约测试(7 项),toast-contract 同步
静止态必须显式 display:none,否则 .flex{display:flex} 会覆盖 .modal{display:none}
形成隐形遮罩拦截整页点击。
未写数据迁移。
验证:node --test tests/widget-system/*.test.cjs 308 项全部通过;php -l 全部
改动文件通过;隔离渲染桩确认积分充足 / 积分不足 / 功能关闭 / 未登录四种情形
的 HTML 产物正确。
2026-09-18 20:05:05 +08:00
kate522
c8339feddb
重构购买卡头部标记
2026-08-23 11:06:33 +08:00
kate522
9375b1c30c
refactor(assets): vendor 资产迁入标准目录并全仓去除 zibll 标识
...
- assets/vendor 全量迁移: fontawesome5→assets/fontawesome5, css→assets/css,
js→assets/js/runtime(避开 14 个同名自有文件), img 合并去重→assets/img,
fonts→assets/fonts; 删除 assets/vendor
- libs 五个与 widgets/third-party 字节相同的库不重复入库, loader paths 改指向
- 运行时切换: _win.uri=assets 根, loader baseUrl=/js/runtime, enlighter 注入
路径同步; PHP 7 个引用文件切换并改名 $zibll_*→$runtime_*
- 去品牌: Qinver 头注释/品牌 console.log/演示链接清除, 默认文案中性化
- 功能标识符改名: zib__→aksrt__, zib_ajax→aksrt_ajax, window.zib→
window.aksrtLegacy, zibllblock/*→aksrtblock/*, .zib-widget→.aksrt-panel,
.zib-slider→.aksrt-slider, zib_menu_options meta 键等
- 自有 CSS 改名: legacy-utilities/compat-vars/footer shell
- admin SPA 重建; 契约测试同步(路径/断言/文件更名)
- 例外保留: tests/visual 对照环境与 fixtures 前缀(外部 Zibll 产品引用)
验证: php -l 133 个改动文件通过; runtime 86 个 JS node --check 通过;
契约测试 68/70(2 个失败经 stash 对照确认为存量问题)
2026-08-22 16:16:30 +08:00
kate522
a0b84977a2
feat(navigation): hard-switch to Zibll navigation and Font Awesome 5
2026-08-18 20:46:21 +08:00
kate522
435ee1daa7
feat(frontend): replace lazy loading with zibll lazysizes
2026-08-18 01:33:38 +08:00
kate522 and Claude Fable 5
52e119acbd
fix(vip): preserve cards and align level icons
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-11 18:09:59 +08:00
kate522 and Claude Fable 5
fbbc8faf3d
fix(vip): render membership icons without wrappers
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-11 18:02:34 +08:00
kate522 and Claude Fable 5
18da39788f
feat(vip): add default icons and remove download speed
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-11 17:48:10 +08:00
kate522
80283df6b2
feat(vip): implement layered membership expiry flow
2026-08-11 16:58:01 +08:00
kate522
ddc762bfbd
fix(vip): honor manual membership changes
2026-08-11 16:03:06 +08:00
kate522 and Claude Fable 5
9aa0f1aefa
fix(vip): preserve layered membership expirations
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-09 17:28:36 +08:00
kate522 and Claude Fable 5
ba5638a892
fix(vip): allow points renewal for existing members
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-09 16:40:27 +08:00
kate522 and Claude Fable 5
df858d04dc
feat(user-center): add VIP points exchange modal
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-09 16:15:08 +08:00
kate522 and Claude Fable 5
21c3300255
fix(vip): scope redesign to summary card
...
Restore the existing membership purchase cards and keep the UX refresh limited to the top membership summary.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-04 19:34:53 +08:00
kate522 and Claude Fable 5
b60894a371
design(vip): refresh membership card experience
...
Introduce state-aware membership hierarchy, token-based styling, responsive level cards, and a non-interactive permanent VIP2 state.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-04 19:28:57 +08:00
kate522 and Claude Fable 5
0551260403
fix(vip): flatten panel and format membership summary
...
Remove the shared dashboard card around the VIP panel and render membership details as title, level, intro, and expiry rows.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-04 18:43:54 +08:00
kate522 and Claude Fable 5
480a0bb498
refactor(vip): simplify user center membership summary
...
Remove profile identity chrome from the VIP header, keep the crown watermark, and flatten the summary into one thin card while preserving membership purchase cards.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-04 18:34:28 +08:00
kate522
5ca3ead6aa
fix(vip): 1:1 zibll VIP profile card with dual-column layout
2026-07-21 20:37:25 +08:00
kate522
fce5ab3088
fix(vip): preserve equity HTML instead of re-splitting into list items
2026-07-21 20:19:11 +08:00
kate522
ee5a16f9a0
fix(ui): center float QR titles and repair UC VIP layout
2026-07-21 19:51:08 +08:00
kate522
f9b495eb14
fix(ui): VIP equity list wrap and theme toggle moon/sun icons
2026-07-21 18:19:42 +08:00
kate522
1f87ab3b1b
feat(vip): Batch 3 dedicated user-center VIP tab
...
Register 我的会员 panel, zibll-style status/equity cards, sidebar deep-link,
and slim credits-tab entry so VIP is no longer nested only under assets.
2026-07-21 17:09:23 +08:00