页面切换

This commit is contained in:
bluesea 2024-05-11 14:20:55 +08:00
parent 23c509d556
commit fef2c606c7
4 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ class CollectionPageView extends GetView {
title: const Text("收藏"),
),
body: const Center(
child: Text("xxxxx"),
child: Text("收藏的...."),
),
);
}

View File

@ -11,7 +11,7 @@ class DownloadPageView extends GetView {
title: const Text("下载"),
),
body: const Center(
child: Text("xxxxx"),
child: Text("下载的..."),
),
);
}

View File

@ -11,7 +11,7 @@ class MyPageView extends GetView {
title: const Text("我的"),
),
body: const Center(
child: Text("xxxxx"),
child: Text("我的..."),
),
);
}

View File

@ -27,7 +27,7 @@ class TabbarPageView extends GetView <TabbarPageController>{
currentIndex: controller.currentIdenx.value,
onTap: controller.onItemTapped,
)),
body: childPageList[0],
body: Obx(() => childPageList[controller.currentIdenx.value],)
);
}