hyzp_ybqx-Commit018:解决 hyzp_ybqx00_yibin 页面点击“客服热线”没有响应的问题
This commit is contained in:
@@ -13,6 +13,7 @@ import 'package:hyzp_ybqx00_yibin/pages/tabs/page5_userManager.dart';
|
||||
import 'package:hyzp_ybqx00_yibin/widget/JdButton.dart';
|
||||
import 'package:package_info/package_info.dart';
|
||||
import 'package:path_provider/path_provider.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
|
||||
import '../../components/commonFun.dart';
|
||||
import '../../components/customDialogF.dart';
|
||||
@@ -269,14 +270,14 @@ class _Page4_MyMsicsNewState extends State<Page4_MyMsicsNew>
|
||||
height: ScreenUtil().setHeight(45),
|
||||
),
|
||||
),
|
||||
Text(
|
||||
0 == service_tel.length ? " " : " 客服热线",
|
||||
Text(0 == service_tel.length ? " " : " 客服热线",
|
||||
style: TextStyle(fontSize: 16, color: Colors.white)),
|
||||
],
|
||||
),
|
||||
),
|
||||
onPressed: () {}
|
||||
// onPressed: () => launch("tel://18784678300"),
|
||||
onPressed: 0 == service_tel.length
|
||||
? onNullFun
|
||||
: () => launch("tel://18784678300"),
|
||||
),
|
||||
SizedBox(
|
||||
width: ScreenUtil().setWidth(45),
|
||||
|
||||
Reference in New Issue
Block a user