更新弹窗

This commit is contained in:
wyf
2025-08-14 15:53:22 +08:00
parent bc4a07c4fa
commit e5672d5fd6
29 changed files with 699 additions and 328 deletions

View File

@@ -384,14 +384,17 @@ class _EPageState extends State<DeviceTypePage> {
Widget _buildDeviceCard(BuildContext context,
{required String title, required String imageUrl, required double type}) {
if (type != 1) {
return Container();
}
return CustomCard(
borderRadius: 20.rpx, // 圆角大小
onTap: () {
if (type != null) {
if (type == 1) {
Get.toNamed("/blueteethDevice");
}else{
TopSlideNotification.show(
} else {
TopSlideNotification.show(
context,
text: "待开发.提示".tr,
textColor: themeController.currentColor.sc2,

View File

@@ -135,6 +135,9 @@ class _DeviceTypeListPageState extends State<DeviceTypeListPage> {
Widget _buildDeviceCard(BuildContext context,
{required String title, required String imageUrl, required double type}) {
if (type != 1) {
return Container();
}
return CustomCard(
borderRadius: 20.rpx, // 圆角大小
onTap: () {