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,15 +1,15 @@
|
||||
((a,b)=>{a[b]=a[b]||{}})(self,"$__dart_deferred_initializers__")
|
||||
$__dart_deferred_initializers__.current=function(a,b,c,$){var B,A={
|
||||
b72(d,e,f){var y,x,w=null,v=new B.a0(),u=new B.a0()
|
||||
u=new A.a_v(v,u)
|
||||
b75(d,e,f){var y,x,w=null,v=new B.a0(),u=new B.a0()
|
||||
u=new A.a_x(v,u)
|
||||
u.bh(d,w,e,w)
|
||||
y=u.a
|
||||
x=v.r
|
||||
x.toString
|
||||
y.r=x
|
||||
v.r=A.bqV(u)
|
||||
v.r=A.bqY(u)
|
||||
return u},
|
||||
bpB(d,e){var y
|
||||
bpE(d,e){var y
|
||||
A:{if("timePicker.hours"===e){y="\u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87"
|
||||
break A}if("timePicker.minutes"===e){y="\u0e99\u0eb2\u0e97\u0eb5"
|
||||
break A}if("timePicker.seconds"===e){y="\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5"
|
||||
@@ -23,38 +23,38 @@ break A}if("input.selectAll"===e){y="\u0ec0\u0ea5\u0eb7\u0ead\u0e81\u0e97\u0eb1\
|
||||
break A}if("keyboardToolbar.done"===e){y="\u0eaa\u0eb3\u0ec0\u0ea5\u0eb1\u0e94"
|
||||
break A}y=null
|
||||
break A}return y},
|
||||
bqV(d){return new A.aVy(d)},
|
||||
a_v:function a_v(d,e){var _=this
|
||||
bqY(d){return new A.aVA(d)},
|
||||
a_x:function a_x(d,e){var _=this
|
||||
_.r=d
|
||||
_.z=_.w=$
|
||||
_.a=e
|
||||
_.e=_.b=$},
|
||||
aQX:function aQX(){},
|
||||
aVy:function aVy(d){this.a=d},
|
||||
abE:function abE(){}}
|
||||
aQZ:function aQZ(){},
|
||||
aVA:function aVA(d){this.a=d},
|
||||
abG:function abG(){}}
|
||||
B=c[0]
|
||||
A=a.updateHolder(c[45],A)
|
||||
A.a_v.prototype={
|
||||
A.a_x.prototype={
|
||||
h(d,e){var y=this.r.a7(e)
|
||||
return y==null?this.a.a7(e):y},
|
||||
gb9(){var y=this,x=y.z
|
||||
if(x===$){if(y.w===$)y.w=y
|
||||
x=y.z=new A.aQX()}return x},
|
||||
x=y.z=new A.aQZ()}return x},
|
||||
gbe(){return this.r}}
|
||||
A.aQX.prototype={
|
||||
A.aQZ.prototype={
|
||||
gbj(){return"\u0e95\u0eb1\u0e94"},
|
||||
gbi(){return"\u0e84\u0eb1\u0e94\u0ea5\u0ead\u0e81"},
|
||||
gbk(){return"\u0ea7\u0eb2\u0e87"},
|
||||
gbg(){return"\u0ec0\u0ea5\u0eb7\u0ead\u0e81\u0e97\u0eb1\u0e87\u0edd\u0ebb\u0e94"}}
|
||||
A.abE.prototype={}
|
||||
A.abG.prototype={}
|
||||
var z=a.updateTypes([])
|
||||
A.aVy.prototype={
|
||||
$1(d){return A.bpB(this.a,d)},
|
||||
A.aVA.prototype={
|
||||
$1(d){return A.bpE(this.a,d)},
|
||||
$S:2};(function inheritance(){var y=a.mixin,x=a.inherit
|
||||
x(A.abE,B.Z)
|
||||
x(A.a_v,A.abE)
|
||||
x(A.aQX,B.b4)
|
||||
x(A.aVy,B.aW)
|
||||
y(A.abE,B.b_)})()
|
||||
B.b9(b.typeUniverse,JSON.parse('{"a_v":{"Z":[]}}'))};
|
||||
(a=>{a["4s5i8PaABR07y/jaMjZVxIWfeA8="]=a.current})($__dart_deferred_initializers__);
|
||||
x(A.abG,B.Z)
|
||||
x(A.a_x,A.abG)
|
||||
x(A.aQZ,B.b4)
|
||||
x(A.aVA,B.aW)
|
||||
y(A.abG,B.b_)})()
|
||||
B.b9(b.typeUniverse,JSON.parse('{"a_x":{"Z":[]}}'))};
|
||||
(a=>{a["P9+DfixHuRSgV/xl7fj2fMf4aFw="]=a.current})($__dart_deferred_initializers__);
|
||||
Reference in New Issue
Block a user