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';
|
||||
@@ -257,27 +258,27 @@ class _Page4_MyMsicsNewState extends State<Page4_MyMsicsNew>
|
||||
//crossAxisAlignment: CrossAxisAlignment.start, //用的比较少
|
||||
children: <Widget>[
|
||||
FlatButton(
|
||||
child: Container(
|
||||
child: Row(
|
||||
children: [
|
||||
Padding(
|
||||
padding: EdgeInsets.only(top: ScreenUtil().setHeight(10)),
|
||||
child: 0 == service_tel.length
|
||||
? Text("")
|
||||
: Image.asset(
|
||||
'assets/images/形状 2.png',
|
||||
height: ScreenUtil().setHeight(45),
|
||||
),
|
||||
),
|
||||
Text(
|
||||
0 == service_tel.length ? " " : " 客服热线",
|
||||
style: TextStyle(fontSize: 16, color: Colors.white)),
|
||||
],
|
||||
),
|
||||
),
|
||||
onPressed: () {}
|
||||
// onPressed: () => launch("tel://18784678300"),
|
||||
child: Container(
|
||||
child: Row(
|
||||
children: [
|
||||
Padding(
|
||||
padding: EdgeInsets.only(top: ScreenUtil().setHeight(10)),
|
||||
child: 0 == service_tel.length
|
||||
? Text("")
|
||||
: Image.asset(
|
||||
'assets/images/形状 2.png',
|
||||
height: ScreenUtil().setHeight(45),
|
||||
),
|
||||
),
|
||||
Text(0 == service_tel.length ? " " : " 客服热线",
|
||||
style: TextStyle(fontSize: 16, color: Colors.white)),
|
||||
],
|
||||
),
|
||||
),
|
||||
onPressed: 0 == service_tel.length
|
||||
? onNullFun
|
||||
: () => launch("tel://18784678300"),
|
||||
),
|
||||
SizedBox(
|
||||
width: ScreenUtil().setWidth(45),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user