更新
This commit is contained in:
@@ -17,35 +17,6 @@ class MattressControlPage extends StatefulWidget {
|
||||
class _MattressControlPageState extends State<MattressControlPage> {
|
||||
final controller = Get.put(ControlCardController());
|
||||
|
||||
final data = {
|
||||
"_id": "333330000000000000000000",
|
||||
"uid": "684b90df767e00004e0072e2",
|
||||
"bind_type": 1,
|
||||
"device_type": 3,
|
||||
"mac": "545024122666",
|
||||
"bind_mac": null,
|
||||
"bind_mac_a": "B43A45C3D411",
|
||||
"bind_mac_b": "B43A45C3D388",
|
||||
"position": 0,
|
||||
"share_uid": null,
|
||||
"person": null,
|
||||
"op_type": null,
|
||||
"show": true,
|
||||
"create_time": 1750121686274,
|
||||
"room_id": "684395bf9ef8601da20f6475",
|
||||
"roomName": "主卧",
|
||||
"shareNum": 0,
|
||||
"status": {
|
||||
"signal": -1,
|
||||
"status": 0,
|
||||
"inBed": 0,
|
||||
"upgrade": 0,
|
||||
"failure": 0,
|
||||
"updateTime": -1
|
||||
},
|
||||
"code": "545024122666",
|
||||
"blueToothStatus": 1
|
||||
};
|
||||
int selectedIndex = 1; // 当前选中的tab索引
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -138,10 +109,10 @@ class _MattressControlPageState extends State<MattressControlPage> {
|
||||
|
||||
body: SafeArea(
|
||||
child: WebviewTestView(
|
||||
// oncreate: (widget) {
|
||||
// return WebviewTestController();
|
||||
// },
|
||||
),
|
||||
// oncreate: (widget) {
|
||||
// return WebviewTestController();
|
||||
// },
|
||||
),
|
||||
),
|
||||
))));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user