Skip to content

Commit 677e0ac

Browse files
author
lilei
committed
实现卡片移除
1 parent 37c5e6b commit 677e0ac

File tree

9 files changed

+6401
-411
lines changed

9 files changed

+6401
-411
lines changed

assets/mock/jk_daily_cards.json

Lines changed: 5932 additions & 0 deletions
Large diffs are not rendered by default.

lib/crad_widget.dart

Lines changed: 0 additions & 178 deletions
This file was deleted.

lib/entity.dart

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
class CardEntity {
2+
String picUrl;
3+
String text;
4+
5+
CardEntity(String picUrl, String text) {
6+
this.picUrl = picUrl;
7+
this.text = text;
8+
}
9+
}
10+
11+
class ToolBarEntity {
12+
String picUrl;
13+
String title;
14+
String url;
15+
16+
ToolBarEntity(String picUrl, String title, String url) {
17+
this.picUrl = picUrl;
18+
this.title = title;
19+
this.url = url;
20+
}
21+
}

0 commit comments

Comments
 (0)