Compare commits
No commits in common. "main" and "xiaozhou" have entirely different histories.
@ -78,11 +78,9 @@ class _ActivityListScreenState extends State<ActivityListScreen> {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Container(
|
return Scaffold(
|
||||||
color: const Color(0xFFFFF8F0),
|
backgroundColor: const Color(0xFFFFF8F0),
|
||||||
child: Column(
|
appBar: AppBar(
|
||||||
children: [
|
|
||||||
AppBar(
|
|
||||||
title: Text('伴享', style: TextStyle(fontWeight: FontWeight.bold)),
|
title: Text('伴享', style: TextStyle(fontWeight: FontWeight.bold)),
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
actions: [
|
actions: [
|
||||||
@ -96,9 +94,7 @@ class _ActivityListScreenState extends State<ActivityListScreen> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
Expanded(child: _buildFeed()),
|
body: _buildFeed(),
|
||||||
],
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -32,11 +32,8 @@ class _MainScreenState extends State<MainScreen> {
|
|||||||
floatingActionButton: _buildGlobalFab(),
|
floatingActionButton: _buildGlobalFab(),
|
||||||
floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
|
floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
|
||||||
bottomNavigationBar: BottomNavigationBar(
|
bottomNavigationBar: BottomNavigationBar(
|
||||||
type: BottomNavigationBarType.fixed,
|
|
||||||
currentIndex: _currentIndex,
|
currentIndex: _currentIndex,
|
||||||
onTap: (i) => setState(() => _currentIndex = i),
|
onTap: (i) => setState(() => _currentIndex = i),
|
||||||
selectedItemColor: const Color(0xFFFF6B35),
|
|
||||||
unselectedItemColor: const Color(0xFF999999),
|
|
||||||
items: const [
|
items: const [
|
||||||
BottomNavigationBarItem(icon: Icon(Icons.home_outlined), activeIcon: Icon(Icons.home), label: '首页'),
|
BottomNavigationBarItem(icon: Icon(Icons.home_outlined), activeIcon: Icon(Icons.home), label: '首页'),
|
||||||
BottomNavigationBarItem(icon: Icon(Icons.people_outline), activeIcon: Icon(Icons.people), label: '好友'),
|
BottomNavigationBarItem(icon: Icon(Icons.people_outline), activeIcon: Icon(Icons.people), label: '好友'),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user