多语言后端数据

This commit is contained in:
czz
2025-08-01 22:25:47 +08:00
parent 12a53ac36c
commit a199606f80
52 changed files with 1736 additions and 1142 deletions

View File

@@ -204,21 +204,21 @@ class _NewHomePageState extends State<NewHomePage> {
child: userInfo(userInfoController.model.login),
);
}),
const Spacer(), // 左右分隔
FloatingSvgIcon(
assetPath: 'assets/img/icon/xiaoyi.svg',
width: 60.rpx,
height: 60.rpx,
onTap: () {
// print("点击了小鹅图标");
if (userInfoController.model.login == 0) {
Get.toNamed("/loginPage");
}
Get.toNamed("/xiaoEPage",
arguments:
"https://xiaoe.he-info.cn/?mac=b43a45c3ddf4");
},
),
// const Spacer(), // 左右分隔
// FloatingSvgIcon(
// assetPath: 'assets/img/icon/xiaoyi.svg',
// width: 60.rpx,
// height: 60.rpx,
// onTap: () {
// // print("点击了小鹅图标");
// if (userInfoController.model.login == 0) {
// Get.toNamed("/loginPage");
// }
// Get.toNamed("/xiaoEPage",
// arguments:
// "https://xiaoe.he-info.cn/?mac=b43a45c3ddf4");
// },
// ),
SizedBox(width: 40.rpx),
],
),
@@ -441,8 +441,8 @@ class _NewHomePageState extends State<NewHomePage> {
deviceController
.personnelList.value
.map<String>((d) {
var s = d["name"] ??
d["mac"];
var s =
d["name"] ?? d["mac"];
if (s == null) {
return "";
} else {