feat(admin): unify native admin pages on a shared modern UI
Add NativeUi helper + native-ui.css (tokens mirror the SPA Naive UI theme) and move the pay center, orders, products, coupons, charge cards, income, withdrawals, tickets, invite codes, VIP, verify, messages and report/ban pages onto shared header, stat cards, cards, filters, badges and empty states. Remove inline styles and dead helpers; split PayChargeCards into sibling traits to stay under the file size limit. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
aa692f3c9f
commit
18951b01d6
29 files changed
+2503
-1593
No files matched your search
@@ -35,7 +35,15 @@ const path = require('node:path');
|
||||
const test = require('node:test');
|
||||
|
||||
const root = path.resolve(__dirname, '..', '..');
|
||||
const page = fs.readFileSync(path.join(root, 'src/Admin/Native/PayChargeCards.php'), 'utf8');
|
||||
|
||||
// PayChargeCards 拆成 flat sibling traits;按原有相邻顺序拼接壳类与 trait 后再扫描/切片。
|
||||
const read = (rel) => fs.readFileSync(path.join(root, rel), 'utf8');
|
||||
const page = [
|
||||
'src/Admin/Native/PayChargeCards.php',
|
||||
'src/Admin/Native/PayChargeCardsList.php',
|
||||
'src/Admin/Native/PayChargeCardsAssets.php',
|
||||
'src/Admin/Native/PayChargeCardsForms.php',
|
||||
].map(read).join('\n');
|
||||
|
||||
/**
|
||||
* 去掉 PHP 注释后的源码(字符串字面量原样保留)。
|
||||
|
||||
Reference in new issue
Block a user