Commit Graph
88 Commits
Author SHA1 Message Date
kate522 8eb0079bc4 修复了一些问题 2026-08-25 17:15:28 +08:00
kate522 59a393bf27 修复了一些问题 2026-08-25 17:11:58 +08:00
kate522 11f1c23fa7 进行了一些小优化 2026-08-25 17:02:33 +08:00
kate522 10b3e6dd9f 进行了一些小优化 2026-08-24 17:47:04 +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 d27c0757f2 顶部资料卡新增签到按钮 2026-08-20 14:31:37 +08:00
kate522 5e2c143449 (fix):update credits toast 2026-08-18 03:09:37 +08:00
kate522 59cef1892a fix: improve promotion tabs and referral layout 2026-08-16 21:43:39 +08:00
kate522 ef4f00b0a6 fix: improve promotion tabs and referral layout 2026-08-16 21:40:30 +08:00
kate522 853114a9f9 fix: improve promotion tabs and referral layout 2026-08-16 21:28:02 +08:00
kate522 5b9f54f5ac fix: improve promotion tabs and referral layout 2026-08-16 20:52:15 +08:00
kate522 ff730ab593 feat: unify referral promotion tabs and compact earnings UI 2026-08-16 20:40:21 +08:00
kate522 8799063c6c feat: redesign promotion earnings cards 2026-08-16 20:15:56 +08:00
kate522 698a9beb74 feat: upgrade widgets and affiliate commission flow 2026-08-16 18:29:31 +08:00
kate522 ce2b266890 fix(users): keep management inside center 2026-08-12 20:59:31 +08:00
kate522 b95a4d1a89 fix(ui): align identity badge dimensions 2026-08-11 19:54:05 +08:00
kate522andClaude Fable 5 0e20e568d9 fix(user-center): restore asset card alignment
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 19:00:25 +08:00
kate522andClaude Fable 5 73c594c8e3 fix(user-center): preserve creator card layout
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 18:57:27 +08:00
kate522andClaude Fable 5 ae2588c292 fix(identity): align vip icons and sidebar cards
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 18:52:12 +08:00
kate522andClaude Fable 5 79c8b28339 fix(profile): remove sidebar VIP icon inset
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 18:27:14 +08:00
kate522andClaude Fable 5 6bd1d46755 fix(vip): remove status icon inset
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 18:23:56 +08:00
kate522andClaude Fable 5 86acecc27d fix(profile): match VIP icon to badge size
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 18:21:47 +08:00
kate522andClaude Fable 5 a5625b1765 fix(vip): enlarge membership icons
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 18:17:15 +08:00
kate522andClaude 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
kate522andClaude 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
kate522andClaude 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
kate522andClaude 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
kate522andClaude Fable 5 7bb429bcb9 fix(user-center): make rebate details full width
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-06 13:03:30 +08:00
kate522andClaude Fable 5 487a63629c fix(user-center): refresh revenue withdrawal state
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-06 12:51:01 +08:00
kate522andClaude Fable 5 8a007b9ee7 fix(user-center): restore ajax tab navigation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-06 12:41:36 +08:00
kate522andClaude Fable 5 02fcde3c84 fix(user-center): load revenue tabs without refresh
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-06 10:42:32 +08:00
kate522 39c92017d9 feat(user-center): merge promotion rewards into revenue 2026-08-05 23:43:16 +08:00
kate522 52ad9fbbd3 feat(user-center): redesign 推广中心 panel + extract promotion.css
Give the standalone promotion tab its own stylesheet and a task-priority
layout (成果概览 → 分享操作 → 奖励说明 → 邀请记录).

- assets/css/routes/user-center/promotion.css: new module owning all
  uc-promotion-* rules; flattens #panel-promotion chrome, adds focus-visible
  on the copy button + link input, and a ≤640px single-column layout with a
  full-width copy button (no horizontal overflow)
- user-center.css: import the new promotion.css
- user-center/revenue.css: drop the now-migrated uc-promotion-* rules (keep
  only the revenue-layout mobile rule)
- profile-invite.php: refresh doc header to describe the section priority
  order; copy button stays a focusable <button>, credits.js keeps text-based
  success/failure feedback via [data-invite-copy-feedback]
2026-08-05 17:26:56 +08:00
kate522 51274fd00a feat(user-center): promote invite into standalone 推广中心 tab
Register a dedicated `promotion` dashboard panel gated by the existing
invite switches (credits + invite reward + invite registration), and move
the invite card out of the revenue tab so 收益中心 is pure earnings/withdrawal.

- src/User/Center.php: register promotion panel; revenue no longer depends
  on invite being on
- inc/helpers/user-center-renderers/profile-promotion.php: new panel body
  hosting the existing [data-aksrt-invite] card
- profile-revenue.php: drop the invite section; aksrt-user-center.php: drop
  unused show_invite_section context, add promotion to built-in tabs + view map
- repoint invite/promotion deep-link aliases from revenue to promotion across
  tab-url builder, tab resolver, runtime tabAliases, urls.php, and the
  revenue-JS enqueue gate
- sidebar-nav.php: add 推广中心 service entry; shell.css: entry icon color;
  sidebar-creator.php: reword revenue card
- UserRuntime.php: allow promotion in configurable tabs
2026-08-05 16:45:47 +08:00
kate522andClaude Fable 5 5375ad6429 perf(modal): unify cancellable frontend modal flows
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-05 02:04:55 +08:00
kate522andClaude Fable 5 b9a84ba063 fix(vip): keep summary surface white
Remove level-specific gradients from the top membership summary while preserving icon accents and purchase cards.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-04 19:56:45 +08:00
kate522andClaude Fable 5 3283d7de0a style(vip): match summary card to purchase cards
Tone down the top membership summary to the existing VIP card language without changing purchase-card styles or behavior.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-04 19:50:59 +08:00
kate522andClaude 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
kate522andClaude 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
kate522andClaude 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
kate522andClaude 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 ed19937e99 feat(badges): zibll-style badge modal with category grid, detail view, and wear UX 2026-08-04 12:46:44 +08:00
kate522 4849869289 fix(badges): reset border/outline/shadow on worn medal icon
Defensive reset for UC header medal-icon to ensure no wrapping line
from inherited button/link/image styles.
2026-08-04 11:10:36 +08:00
kate522 e991f1a0c6 fix(badges): complete full-chain badge circuit and preset icons
Close the full circuit break in the badge/medal system and replace
empty default icons with preset SVG assets so badges render out of
the box:

- Add aksrt_get_worn_medal_icon() helper that renders the worn medal
  image inline (with settings fallback when the Badges class is
  unavailable).
- Profile header (UC) now shows the worn medal icon beside the name,
  matching zibll's name row order (display_name → VIP → Medal → Level → Verify).
- Add .medal-icon / .aksrt-identity-medal vertical-align rules in UC shell.css.
- Extract SchemaUsers::default_medal_args() and preset 6 badges (rookie,
  checkin-30, writer, popular, annual-star, vip-member) with real icon
  URLs from assets/img/medal/ (medal-1/2/5/9/12/15.svg).
- Vue badge.js: add MEDAL_BASE helper + preset icons matching PHP defaults.
2026-08-04 10:36:50 +08:00
kate522 9fa9a4cbaf feat(users): style VIP sidebar card 2026-08-03 22:11:09 +08:00
kate522 ac714a2839 fix(users): remove revenue panel nesting 2026-08-03 16:29:53 +08:00
kate522 21ea8eac43 feat(users): separate revenue center cards 2026-08-03 16:26:39 +08:00
kate522 49c12b761f feat(users): merge promotion into revenue center 2026-08-03 15:38:17 +08:00
kate522 e71a5b7585 refactor: drop order quick shortcuts, keep My Orders tile only
Per feedback the 待支付/售后 shortcut row is not wanted. Remove the nested
quick grid, delete the now-orphaned sidebar-orders renderer, and strip its
uc-order-grid CSS. 我的订单 remains a single tile in the 我的服务 grid.
2026-08-03 09:16:29 +08:00