feat:更新个人主页模块

This commit is contained in:
2025-11-24 19:56:13 +08:00
parent 97e7a6f44b
commit 8cff5228ae
18 changed files with 443 additions and 197 deletions

View File

@@ -32,6 +32,7 @@ class _MomentFormPageState extends State<MomentFormPage> {
return FormBuilderTextField(
name: _contentField,
initialValue: provider.momentFormItem.content,
focusNode: _focusNode,
maxLines: 5,
minLines: 3,
@@ -110,7 +111,7 @@ class _MomentFormPageState extends State<MomentFormPage> {
_buildContentField(provider),
const SizedBox(height: 8),
buildFormLabel(context: context, text: '上传图片', isRequired: false),
buildFormLabel(context: context, text: '上传图片最多9张', isRequired: false),
const SizedBox(height: 8),
_buildImageField(provider),
const SizedBox(height: 8),
@@ -218,7 +219,6 @@ class _MomentFormPageState extends State<MomentFormPage> {
onPressed: () => Navigator.pop(context),
),
),
backgroundColor: const Color(0xFFF5F5F5),
body: SingleChildScrollView(
child: Padding(
padding: const EdgeInsets.all(10),