This commit is contained in:
zhutao
2025-09-09 15:11:00 +08:00
parent 900dc025d7
commit d902f72335
6 changed files with 123 additions and 18 deletions

View File

@@ -5,6 +5,7 @@ import 'package:plan/theme/decorations/app_shadows.dart';
import 'package:provider/provider.dart';
import 'other/bar_actions.dart';
import 'other/footer_btn.dart';
import 'widgets/avatar_card.dart';
import 'widgets/coach_message.dart';
import 'widgets/plan_list.dart';
@@ -27,7 +28,6 @@ class PlanDetailPage extends StatefulWidget {
class _PlanDetailPageState extends State<PlanDetailPage> {
final ScrollController scrollController = ScrollController();
///store对象
late PlanDetailStore store;
@@ -54,18 +54,25 @@ class _PlanDetailPageState extends State<PlanDetailPage> {
AvatarCard(),
Expanded(
child: Padding(
padding: EdgeInsets.all(15),
child: ScrollBox(
child: Container(
decoration: shadowDecoration,
child: Column(
children: [
CoachMessage(),
PlanList(),
SuggestedTitle(),
SuggestedList(),
],
),
padding: EdgeInsets.only(left: 15, right: 15, bottom: 1),
child: Container(
decoration: shadowDecoration,
child: Column(
children: [
Expanded(
child: ScrollBox(
child: Column(
children: [
CoachMessage(),
PlanList(),
SuggestedTitle(),
SuggestedList(),
],
),
),
),
FooterBtn()
],
),
),
),