fix: 胶囊高度42px + 功能卡片白底 + 面板绿粉渐变 + 间距调整
This commit is contained in:
@@ -186,7 +186,7 @@ class _HomePageState extends ConsumerState<HomePage> {
|
||||
|
||||
Widget _buildAgentBar() {
|
||||
return SizedBox(
|
||||
height: 46,
|
||||
height: 42,
|
||||
child: ListView.separated(
|
||||
scrollDirection: Axis.horizontal,
|
||||
padding: const EdgeInsets.symmetric(horizontal: 14),
|
||||
@@ -296,9 +296,9 @@ class _HomePageState extends ConsumerState<HomePage> {
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
const SizedBox(height: 10),
|
||||
const SizedBox(height: 6),
|
||||
_buildAgentBar(),
|
||||
const SizedBox(height: 8),
|
||||
const SizedBox(height: 6),
|
||||
if (_pickedImagePath != null) _buildImagePreview(),
|
||||
_buildInputBar(),
|
||||
],
|
||||
|
||||
@@ -415,6 +415,11 @@ class _NavigationSection extends StatelessWidget {
|
||||
|
||||
return _Panel(
|
||||
title: '功能入口',
|
||||
backgroundGradient: const LinearGradient(
|
||||
begin: Alignment.bottomCenter,
|
||||
end: Alignment.topCenter,
|
||||
colors: [Color(0xFFA8EDEA), Color(0xFFFED6E3)],
|
||||
),
|
||||
child: GridView.builder(
|
||||
itemCount: items.length,
|
||||
shrinkWrap: true,
|
||||
@@ -466,7 +471,7 @@ class _NavTile extends StatelessWidget {
|
||||
borderRadius: BorderRadius.circular(20),
|
||||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.white.withValues(alpha: 0.78),
|
||||
color: Colors.white,
|
||||
borderRadius: BorderRadius.circular(20),
|
||||
border: Border.all(color: Colors.white, width: 1.2),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user