初始化

This commit is contained in:
谢宇宁
2026-09-15 15:44:13 +07:00
commit a23ba685e9
1065 changed files with 101122 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
/// 图片资源路径扩展:'ic_home.png'.homePath => 'assets/images/home/ic_home.png'
extension ImageLoad on String {
//通用
String get commonImgPath => 'assets/images/common/$this';
//首页
String get homePath => 'assets/images/home/$this';
//视频
String get videoPath => 'assets/images/video/$this';
//acg(漫画/小说)
String get acgImgPath => 'assets/images/acg/$this';
//社区
String get communityPath => 'assets/images/community/$this';
//评论
String get commentPath => 'assets/images/comment/$this';
//直播
String get livePath => 'assets/images/live_images/$this';
//ai
String get aiPath => 'assets/images/ai/$this';
//我的
String get mineImgPath => 'assets/images/mine/$this';
//启动页
String get launchPath => 'assets/images/launch/$this';
//app icon
String get appImgPath => 'assets/images/app_icon/$this';
}