Full-project rename. `git grep -i aksrt` is now empty apart from the
DBMigrator 3.3.0 changelog note that documents the rename itself.
Code identifiers
- PHP namespace AKSRT\ -> Jio\ (composer PSR-4 + 378 declarations)
- global constants AKSRT_* -> JIO_* (VERSION/DIR/URI, PAY_TYPE_*, CAPTCHA_*)
- procedural functions, hooks, options, meta keys, table names,
cookies, query vars, ajax actions and nonces: aksrt_ -> jio_
- text domain aksrt -> jio; Theme Name -> Jio
- JS globals: aksrtData/aksrtAdminData/... -> jioData/jioAdminData/...,
window.AKSRTCaptcha & friends -> window.JioCaptcha, Aksrt* -> Jio*
- Vue components Aks*.vue -> Jio*.vue (15 files renamed + imports)
- CSS classes/data-attrs/custom properties: aksrt- -> jio-
- REST namespace aksrt/v1 -> jio/v1 (incl. payment gateway callbacks)
Storage layer
- DB tables {prefix}aksrt_* -> {prefix}jio_*; SCHEMA_VERSION 3.2.0 -> 3.3.0
so dbDelta creates the new names on install
- widget id_base aksrt_widget_* -> jio_widget_*
- uninstall.php drop list rebuilt from the actual migrator tables
(dropped 3 stale entries, added the 17 missing ones)
Removed
- hardcoded https://api.aksrt.com/version.json default update endpoint;
get_endpoint() now reads the 「更新端点」 setting and do_check() no-ops
when it is empty
Files renamed: inc/helpers/aksrt-*.php -> jio-*.php (54),
assets/admin/src/components/form/Aks*.vue -> Jio*.vue (15).
Build artifacts regenerated: assets/css/build, assets/js/runtime,
assets/admin/build.
Verified: audit-psr4-paths errors=0, audit-admin-contracts errors=0
(warnings=56, unchanged baseline), 813/813 widget-system tests,
44/44 phpunit, php -l clean across all PHP.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
86 lines
6.4 KiB
CSS
86 lines
6.4 KiB
CSS
/* 提现审核(jio_withdraw):流程提示 + 统计 + 状态视图 + 筛选 + 申请表 + 处理弹窗。复用 native-ui.css 的 --an-* 令牌,规则限定在本页类名下。 */
|
|
.jio-wd-page [hidden],
|
|
.jio-wd-dialog [hidden] { display: none !important; }
|
|
|
|
/* ---------- 状态视图 ---------- */
|
|
.jio-wd-page .jio-wd-views { display: flex; width: fit-content; max-width: 100%; }
|
|
|
|
/* ---------- 筛选栏 ---------- */
|
|
.jio-wd-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
|
|
.jio-wd-filters label { display: inline-flex; margin: 0; }
|
|
.jio-wd-filters__search { flex: 1 1 220px; }
|
|
.jio-wd-filters__search input { width: 100%; }
|
|
.jio-wd-filters__range { display: inline-flex; align-items: center; gap: 6px; color: var(--an-muted); }
|
|
.jio-wd-page .jio-wd-filters__id { width: 96px; }
|
|
.jio-wd-filters__submit { display: inline-flex; gap: 8px; }
|
|
|
|
/* ---------- 申请表 ---------- */
|
|
.jio-wd-table { min-width: 1080px; table-layout: fixed; }
|
|
.jio-wd-table .column-number { width: 15%; }
|
|
.jio-wd-table .column-user { width: 14%; }
|
|
.jio-wd-table .column-amount { width: 15%; }
|
|
.jio-wd-table .column-payee { width: 20%; }
|
|
.jio-wd-table .column-status { width: 11%; }
|
|
.jio-wd-table .column-note { width: 13%; }
|
|
.jio-wd-table .column-actions { width: 12%; }
|
|
.jio-wd-table td { vertical-align: top; }
|
|
.jio-wd-table .column-amount { font-variant-numeric: tabular-nums; }
|
|
.jio-wd-table tr.is-retry { background: #fff8eb; }
|
|
.jio-wd-sub { margin-top: 4px; color: var(--an-muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
|
|
.jio-wd-note { max-height: 4.5em; overflow: auto; color: var(--an-text-2); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
|
|
|
|
/* 收款方式标签 + 可点击复制的收款信息 */
|
|
.jio-wd-method { display: inline-block; padding: 0 6px; color: var(--an-text-2); font-size: 12px; line-height: 20px; background: var(--an-bg-soft); border-radius: 4px; }
|
|
.jio-wd-method--alipay { color: #1677ff; background: #e8f1ff; }
|
|
.jio-wd-method--wechat { color: #07a85c; background: #e6f7ee; }
|
|
.jio-wd-account { display: flex; align-items: flex-start; gap: 5px; max-width: 100%; margin-top: 6px; padding: 4px 7px; color: var(--an-text); background: var(--an-bg-soft); border: 1px solid transparent; border-radius: 5px; text-align: left; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; cursor: pointer; }
|
|
.jio-wd-account .dashicons { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--an-muted); font-size: 14px; }
|
|
.jio-wd-account:hover { color: var(--an-primary); background: var(--an-primary-soft); border-color: var(--an-primary); }
|
|
.jio-wd-account:focus-visible { outline: 2px solid var(--an-primary); outline-offset: 2px; }
|
|
|
|
.jio-wd-actions { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
|
|
/* ---------- 处理弹窗 ---------- */
|
|
html.jio-wd-modal-open { overflow: hidden; }
|
|
.jio-wd-dialog { width: min(560px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow: hidden; color: var(--an-text-2); background: var(--an-card); border: 0; border-radius: var(--an-radius); box-shadow: 0 16px 64px rgba(15, 23, 42, .2); }
|
|
.jio-wd-dialog::backdrop { background: rgba(15, 23, 42, .45); }
|
|
.jio-wd-dialog__frame { display: flex; flex-direction: column; max-height: inherit; margin: 0; }
|
|
.jio-wd-dialog__head { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--an-border-soft); }
|
|
.jio-wd-dialog .jio-wd-dialog__head h2 { margin: 0; padding: 0; color: var(--an-text); font-size: 18px; font-weight: 600; line-height: 1.5; }
|
|
.jio-wd-dialog__close { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; color: var(--an-text-2); background: transparent; border: 0; border-radius: var(--an-radius-sm); cursor: pointer; }
|
|
.jio-wd-dialog__close:hover { color: var(--an-text); background: var(--an-bg-soft); }
|
|
.jio-wd-dialog__body { display: flex; flex-direction: column; gap: 14px; min-height: 0; padding: 20px 24px; overflow-y: auto; overscroll-behavior: contain; }
|
|
.jio-wd-dialog__body .jio-native-callout { margin: 0; }
|
|
.jio-wd-dialog__foot { display: flex; flex: none; justify-content: flex-end; gap: 8px; padding: 14px 24px; border-top: 1px solid var(--an-border-soft); }
|
|
.jio-wd-dialog__foot .button { min-width: 110px; }
|
|
.jio-wd-dialog .button:disabled { opacity: .65; cursor: not-allowed; }
|
|
.jio-wd-dialog .button.button-primary.is-danger { color: #fff; background: var(--an-danger); border-color: var(--an-danger); }
|
|
.jio-wd-dialog .button.button-primary.is-danger:hover { color: #fff; background: #b8284a; border-color: #b8284a; }
|
|
.jio-wd-dialog :is(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--an-primary); outline-offset: 2px; }
|
|
.jio-wd-dialog textarea { resize: vertical; }
|
|
|
|
/* 记录摘要:两列网格,应打款金额放大,收款信息独占一行 */
|
|
.jio-wd-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; padding: 14px 16px; background: var(--an-bg-soft); border-radius: var(--an-radius-sm); }
|
|
.jio-wd-summary__item { min-width: 0; }
|
|
.jio-wd-summary dt { color: var(--an-muted); font-size: 12px; }
|
|
.jio-wd-summary dd { margin: 2px 0 0; color: var(--an-text); overflow-wrap: anywhere; }
|
|
.jio-wd-summary__item--net dd { color: var(--an-primary); font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
|
|
.jio-wd-summary__item--payee { grid-column: 1 / -1; }
|
|
|
|
/* ---------- 复制提示 ---------- */
|
|
.jio-wd-toast { position: fixed; right: 24px; bottom: 24px; z-index: 100000; max-width: min(360px, calc(100vw - 48px)); padding: 10px 14px; color: #fff; background: rgba(15, 23, 42, .9); border-radius: var(--an-radius-sm); font-size: 13px; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; pointer-events: none; }
|
|
.jio-wd-toast.is-visible { opacity: 1; transform: none; }
|
|
|
|
@media (max-width: 782px) {
|
|
.jio-wd-filters__search { flex-basis: 100%; }
|
|
.jio-wd-filters__range { flex-wrap: wrap; }
|
|
}
|
|
@media (max-width: 600px) {
|
|
.jio-wd-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
|
|
.jio-wd-dialog__head,
|
|
.jio-wd-dialog__body,
|
|
.jio-wd-dialog__foot { padding-left: 16px; padding-right: 16px; }
|
|
.jio-wd-summary { grid-template-columns: 1fr; }
|
|
.jio-wd-dialog__foot .button { flex: 1; min-width: 0; }
|
|
}
|