修改房间选择 详情不更改bug 以及部分样式

This commit is contained in:
czz
2025-07-15 14:53:16 +08:00
parent a8b0723714
commit 8ec4da3488
15 changed files with 117 additions and 51 deletions

View File

@@ -43,7 +43,7 @@ class _RoomPickerPageState extends State<RoomPickerPage> {
);
}
int selectedIndex = 1;
int selectedIndex = 0;
BoxConstraints? bodysize;
@override
Widget build(BuildContext context) {
@@ -189,7 +189,8 @@ class _RoomPickerPageState extends State<RoomPickerPage> {
"roomId": rooms[selectedIndex]['_id'],
},
onSuccess: (res) {
editedData['roomName'] =
rooms[selectedIndex]['name'];
TopSlideNotification.show(context,
text: "更新成功".tr,
textColor: Color(0XFF00C1AA));
@@ -202,7 +203,7 @@ class _RoomPickerPageState extends State<RoomPickerPage> {
} catch (e) {
ef.log("[h5]通知列表更新错误:$e");
}
Get.back(result:editedData);
Get.back(result: editedData);
},
onFailure: (res) {
TopSlideNotification.show(context,