From 941716467754717b5287dba949f2300e62b3775c Mon Sep 17 00:00:00 2001 From: zhangmeng <494089941@qq.com> Date: Mon, 10 May 2021 10:45:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=A3=85=E6=8A=A5=E4=BF=AE-=E8=87=B4?= =?UTF-8?q?=E7=94=B5=E7=AE=A1=E5=AE=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../things_page/widget/fixed_detail_page.dart | 7 +- macos/Runner/Base.lproj/MainMenu.xib | 265 +----------------- 2 files changed, 14 insertions(+), 258 deletions(-) diff --git a/lib/pages/things_page/widget/fixed_detail_page.dart b/lib/pages/things_page/widget/fixed_detail_page.dart index 674dc194..24acc014 100644 --- a/lib/pages/things_page/widget/fixed_detail_page.dart +++ b/lib/pages/things_page/widget/fixed_detail_page.dart @@ -5,6 +5,7 @@ import 'package:bot_toast/bot_toast.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:get/get.dart'; +import 'package:url_launcher/url_launcher.dart'; import 'package:velocity_x/velocity_x.dart'; import 'package:aku_community/base/base_style.dart'; @@ -305,7 +306,9 @@ class _FixedDetailPageState extends State { height: double.infinity, padding: EdgeInsets.zero, materialTapTargetSize: MaterialTapTargetSize.shrinkWrap, - onPressed: showProcessCard ? () {} : null, + onPressed: showProcessCard ? () async{ + await launch('tel:0574-87760023'); + } : null, disabledColor: kDarkSubColor.withOpacity(0.1), disabledTextColor: ktextSubColor.withOpacity(0.3), textColor: ktextPrimary, @@ -332,7 +335,7 @@ class _FixedDetailPageState extends State { ).expand(), BeeDivider.vertical(), MaterialButton( - height: 96.w, + height: double.infinity, padding: EdgeInsets.zero, materialTapTargetSize: MaterialTapTargetSize.shrinkWrap, onPressed: showRepairCard ? () {} : null, diff --git a/macos/Runner/Base.lproj/MainMenu.xib b/macos/Runner/Base.lproj/MainMenu.xib index 537341ab..db5b4acc 100644 --- a/macos/Runner/Base.lproj/MainMenu.xib +++ b/macos/Runner/Base.lproj/MainMenu.xib @@ -1,8 +1,8 @@ - + - + @@ -13,7 +13,7 @@ - + @@ -68,272 +68,25 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - + +