feat: 集成离线数字货币图标系统
✨ 新功能: - 下载16个主流币种图标(BTC, ETH, USDT, BNB, SOL等) - 创建 CoinIcon 组件,支持离线图标和兜底显示 - 更新 CoinAvatar 组件,使用新的 CoinIcon - 更新 market_page.dart 中的 _CoinAvatar 组件 📦 资源: - 图标存放在 flutter_monisuo/assets/icons/crypto/ - 使用 Cryptocurrency Icons 开源图标库 - PNG 格式,128x128 像素 🎯 特性: - 支持自定义大小 - 支持圆形背景 - 未找到图标时显示币种代码(兜底方案) - 支持深色/浅色模式 📝 修改文件: - 新增:flutter_monisuo/lib/ui/components/coin_icon.dart - 新增:flutter_monisuo/assets/icons/crypto/*.png (16个) - 修改:flutter_monisuo/pubspec.yaml - 修改:flutter_monisuo/lib/ui/pages/trade/components/coin_avatar.dart - 修改:flutter_monisuo/lib/ui/pages/market/market_page.dart - ✅ 后端构建成功 (2.0s) - ✅ Flutter Web 构建成功 (24.1s) - ⚠️ Admin: TypeScript类型错误(已知问题)
This commit is contained in:
@@ -1,55 +0,0 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(curl -s -X POST http://localhost:5010/admin/login -H \"Content-Type: application/json\" -d '{\"\"username\"\":\"\"admin\"\",\"\"password\"\":\"\"admin123\"\"}')",
|
||||
"mcp__server-mysql__connect_db",
|
||||
"mcp__server-mysql__query",
|
||||
"Bash(python3 -c \":*)",
|
||||
"Bash(pip3 install:*)",
|
||||
"mcp__server-mysql__execute",
|
||||
"Bash(git rm:*)",
|
||||
"Bash(git add:*)",
|
||||
"Bash(npx tsc:*)",
|
||||
"Bash(pnpm vue-tsc:*)",
|
||||
"Bash(find node_modules/.pnpm -name *.mjs -path *vue-router*)",
|
||||
"Bash(grep -r \"routeMeta\\\\|definePage\\\\|<route\" node_modules/.pnpm/vue-router*/node_modules/vue-router/dist/*.mjs)",
|
||||
"Bash(grep -r \"route block\\\\|customBlock\\\\|defineCustomBlock\" node_modules/.pnpm/vue-router*/dist/*.mjs)",
|
||||
"Bash(find node_modules/.pnpm -path *vue-router* -name *.mjs)",
|
||||
"Bash(pnpm add:*)",
|
||||
"Bash(flutter run:*)",
|
||||
"Bash(pnpm dev:*)",
|
||||
"mcp__server-mysql__list_tables",
|
||||
"Bash(flutter analyze:*)",
|
||||
"Bash(flutter build:*)",
|
||||
"Bash(git check-ignore:*)",
|
||||
"Bash(git commit:*)",
|
||||
"Bash(git push:*)",
|
||||
"Bash(git restore:*)",
|
||||
"Bash(ssh root@8.155.172.147 \"tail -100 /www/wwwroot/logs/app.log\")",
|
||||
"Bash(mvn compile:*)",
|
||||
"Bash(git checkout:*)",
|
||||
"Bash(flutter create:*)",
|
||||
"Read(//d/projects/**)",
|
||||
"Read(//d/SD/**)",
|
||||
"Bash(cmd.exe /c \"where flutter\")",
|
||||
"Bash(export PATH=\"$PATH:/d/flutter/bin:/c/flutter/bin:$HOME/flutter/bin\")",
|
||||
"Bash(export PATH=\"$PATH:/d/flutter/bin\")",
|
||||
"Bash(/d/flutter/bin/flutter analyze:*)",
|
||||
"Bash(dart analyze:*)",
|
||||
"Read(//d/flutter/bin/**)",
|
||||
"Read(//c/flutter/bin/**)",
|
||||
"Bash(find /d -maxdepth 3 -name \"flutter.bat\")",
|
||||
"Bash(cmd.exe /c \"flutter analyze\")",
|
||||
"Bash(/c/Users/45070/flutter/bin/flutter analyze:*)",
|
||||
"Read(//c/Users/45070/**)",
|
||||
"Bash(ls /d/flutter/bin/flutter*)",
|
||||
"Bash(ls /d/SD/flutter/bin/flutter*)",
|
||||
"Read(//c/src/flutter/**)",
|
||||
"Read(//d//**)",
|
||||
"Bash(d:/flutter/bin/flutter analyze:*)"
|
||||
],
|
||||
"additionalDirectories": [
|
||||
"/Users/sion/Desktop/projects/monisuo/monisuo-admin/.git"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(flutter --version)",
|
||||
"Bash(python -c \"import sys,json; data=json.load\\(sys.stdin\\); [print\\(p['rootUri']\\) for p in data.get\\('packages',[]\\) if 'shadcn' in p.get\\('name',''\\)]\")"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user