diff --git a/assets/img/banner1.png b/assets/img/banner1.png new file mode 100644 index 0000000..76602f7 Binary files /dev/null and b/assets/img/banner1.png differ diff --git a/assets/img/banner2.png b/assets/img/banner2.png new file mode 100644 index 0000000..c0cbd62 Binary files /dev/null and b/assets/img/banner2.png differ diff --git a/assets/img/list_pic1.png b/assets/img/list_pic1.png new file mode 100644 index 0000000..b6ee295 Binary files /dev/null and b/assets/img/list_pic1.png differ diff --git a/assets/img/list_pic2.png b/assets/img/list_pic2.png new file mode 100644 index 0000000..1c1ef4b Binary files /dev/null and b/assets/img/list_pic2.png differ diff --git a/assets/img/list_pic3.png b/assets/img/list_pic3.png new file mode 100644 index 0000000..fb6ba12 Binary files /dev/null and b/assets/img/list_pic3.png differ diff --git a/assets/img/list_pic4.png b/assets/img/list_pic4.png new file mode 100644 index 0000000..1fa9160 Binary files /dev/null and b/assets/img/list_pic4.png differ diff --git a/assets/img/song_cover1.png b/assets/img/song_cover1.png new file mode 100644 index 0000000..e76e379 Binary files /dev/null and b/assets/img/song_cover1.png differ diff --git a/assets/img/song_cover2.png b/assets/img/song_cover2.png new file mode 100644 index 0000000..00e02c9 Binary files /dev/null and b/assets/img/song_cover2.png differ diff --git a/assets/img/song_cover3.png b/assets/img/song_cover3.png new file mode 100644 index 0000000..5f6f020 Binary files /dev/null and b/assets/img/song_cover3.png differ diff --git a/lib/view/home_view.dart b/lib/view/home_view.dart index 8fd1806..d61ec5b 100644 --- a/lib/view/home_view.dart +++ b/lib/view/home_view.dart @@ -85,8 +85,8 @@ class _HomeViewState extends State { ///轮播图 List imgList = [ {"image": "assets/img/banner.png"}, - {"image": "assets/img/banner.png"}, - {"image": "assets/img/banner.png"}, + {"image": "assets/img/banner1.png"}, + {"image": "assets/img/banner2.png"}, ]; List _filteredData = []; diff --git a/lib/view_model/home_view_model.dart b/lib/view_model/home_view_model.dart index b69a1e5..ecd79ac 100644 --- a/lib/view_model/home_view_model.dart +++ b/lib/view_model/home_view_model.dart @@ -11,38 +11,38 @@ class HomeViewModel extends GetxController { final songsArr = [ { - "image": "assets/img/artist_pic.png", - "name": "背对背拥抱1", - "artists": "林" + "image": "assets/img/song_cover1.png", + "name": "晴天", + "artists": "周杰伦" }, { - "image": "assets/img/artist_pic.png", - "name": "背对背拥抱2", - "artists": "林俊" + "image": "assets/img/song_cover2.png", + "name": "光年之外", + "artists": "邓紫棋" }, { - "image": "assets/img/artist_pic.png", - "name": "背对背拥抱3", - "artists": "林俊杰" + "image": "assets/img/song_cover3.png", + "name": "起风了", + "artists": "买辣椒也用券" }, ].obs; final listArr = [ { - "image": "assets/img/list_pic.png", - "text": "华语歌曲精选", + "image": "assets/img/list_pic1.png", + "text": "流行音乐精选", }, { - "image": "assets/img/list_pic.png", - "text": "华语歌曲精选", + "image": "assets/img/list_pic2.png", + "text": "经典老歌回忆", }, { - "image": "assets/img/list_pic.png", - "text": "华语歌曲精选", + "image": "assets/img/list_pic3.png", + "text": "摇滚音乐精选", }, { - "image": "assets/img/list_pic.png", - "text": "华语歌曲精选", + "image": "assets/img/list_pic4.png", + "text": "轻音乐放松", }, ].obs; final listDetailArr = [