|
...
|
...
|
@@ -41,7 +41,7 @@ class DialogUtil { |
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
children: <Widget>[
|
|
|
|
Container(
|
|
|
|
height: ScreenUtil().setHeight(53),
|
|
|
|
margin: EdgeInsets.only(top: ScreenUtil().setWidth(21),bottom: ScreenUtil().setWidth(12)),
|
|
|
|
width: double.infinity,
|
|
|
|
child: Stack(
|
|
|
|
alignment: Alignment.center,
|
|
...
|
...
|
@@ -50,10 +50,10 @@ class DialogUtil { |
|
|
|
"您有一条新的消息",
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_ffffff,
|
|
|
|
fontSize: ScreenUtil().setSp(26)),
|
|
|
|
fontSize: ScreenUtil().setSp(32)),
|
|
|
|
),
|
|
|
|
Positioned(
|
|
|
|
right: ScreenUtil().setWidth(8),
|
|
|
|
right: ScreenUtil().setWidth(23),
|
|
|
|
child: GestureDetector(
|
|
|
|
onTap: () {
|
|
|
|
Navigator.of(dialogContext).pop();
|
|
...
|
...
|
@@ -92,7 +92,7 @@ class DialogUtil { |
|
|
|
"在线预订",
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_353535,
|
|
|
|
fontSize: ScreenUtil().setSp(26)),
|
|
|
|
fontSize: ScreenUtil().setSp(32)),
|
|
|
|
),
|
|
|
|
Spacer(),
|
|
|
|
Text(
|
|
...
|
...
|
@@ -108,7 +108,7 @@ class DialogUtil { |
|
|
|
"在线预订:${model.messages.length}个",
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_353535,
|
|
|
|
fontSize: ScreenUtil().setSp(26)),
|
|
|
|
fontSize: ScreenUtil().setSp(32)),
|
|
|
|
),
|
|
|
|
Row(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
...
|
...
|
@@ -117,7 +117,7 @@ class DialogUtil { |
|
|
|
CommonButton(
|
|
|
|
width: 160,
|
|
|
|
height: 48,
|
|
|
|
fontSize: 26,
|
|
|
|
fontSize: 32,
|
|
|
|
content: "立即处理",
|
|
|
|
state: 1,
|
|
|
|
onPress: () {
|
|
...
|
...
|
@@ -185,7 +185,7 @@ class DialogUtil { |
|
|
|
},
|
|
|
|
titleTextStyle: TextStyle(
|
|
|
|
color: MyColours.color_ffffff,
|
|
|
|
fontSize: ScreenUtil().setSp(26)),
|
|
|
|
fontSize: ScreenUtil().setSp(32)),
|
|
|
|
leftChevronIcon:
|
|
|
|
const Icon(Icons.chevron_left, color: Colors.white),
|
|
|
|
rightChevronIcon:
|
|
...
|
...
|
@@ -195,10 +195,10 @@ class DialogUtil { |
|
|
|
contentPadding: const EdgeInsets.only(bottom: 4.0),
|
|
|
|
weekdayStyle: TextStyle(
|
|
|
|
color: MyColours.color_2bb5b7,
|
|
|
|
fontSize: ScreenUtil().setSp(26)),
|
|
|
|
fontSize: ScreenUtil().setSp(32)),
|
|
|
|
weekendStyle: TextStyle(
|
|
|
|
color: MyColours.color_f49a5e,
|
|
|
|
fontSize: ScreenUtil().setSp(26)),
|
|
|
|
fontSize: ScreenUtil().setSp(32)),
|
|
|
|
selectedColor: MyColours.color_2bb5b7,
|
|
|
|
outsideDaysVisible: false,
|
|
|
|
),
|
|
...
|
...
|
@@ -213,7 +213,7 @@ class DialogUtil { |
|
|
|
weekday,
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_97e9ea,
|
|
|
|
fontSize: ScreenUtil().setSp(26)),
|
|
|
|
fontSize: ScreenUtil().setSp(32)),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
},
|
|
...
|
...
|
@@ -232,7 +232,7 @@ class DialogUtil { |
|
|
|
.now()
|
|
|
|
.day ? '今' : date.day.toString(),
|
|
|
|
style: TextStyle().copyWith(
|
|
|
|
fontSize: ScreenUtil().setSp(26),
|
|
|
|
fontSize: ScreenUtil().setSp(32),
|
|
|
|
color: MyColours.color_ffffff),
|
|
|
|
),
|
|
|
|
);
|
|
...
|
...
|
@@ -250,7 +250,7 @@ class DialogUtil { |
|
|
|
child: Text(
|
|
|
|
'今',
|
|
|
|
style: TextStyle().copyWith(
|
|
|
|
fontSize: ScreenUtil().setSp(26),
|
|
|
|
fontSize: ScreenUtil().setSp(32),
|
|
|
|
color: MyColours.color_2bb5b7),
|
|
|
|
),
|
|
|
|
);
|
|
...
|
...
|
@@ -274,7 +274,7 @@ class DialogUtil { |
|
|
|
),
|
|
|
|
Positioned(
|
|
|
|
right: ScreenUtil().setWidth(62),
|
|
|
|
bottom: ScreenUtil().setHeight(7),
|
|
|
|
bottom: ScreenUtil().setHeight(20),
|
|
|
|
child: Container(
|
|
|
|
child: GestureDetector(
|
|
|
|
onTap: () {
|
|
...
|
...
|
@@ -284,15 +284,15 @@ class DialogUtil { |
|
|
|
child: Container(
|
|
|
|
child: ClipOval(
|
|
|
|
child: Container(
|
|
|
|
width: ScreenUtil().setWidth(95),
|
|
|
|
height: ScreenUtil().setWidth(95),
|
|
|
|
width: ScreenUtil().setWidth(100),
|
|
|
|
height: ScreenUtil().setWidth(100),
|
|
|
|
alignment: Alignment.center,
|
|
|
|
color: MyColours.color_2bb5b7,
|
|
|
|
child: Text(
|
|
|
|
"回到\n今天",
|
|
|
|
"今天",
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_ffffff,
|
|
|
|
fontSize: ScreenUtil().setSp(26)),
|
|
|
|
fontSize: ScreenUtil().setSp(32)),
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
),
|
|
...
|
...
|
@@ -316,7 +316,7 @@ class DialogUtil { |
|
|
|
Widget widget = Container(
|
|
|
|
width: double.infinity,
|
|
|
|
height: ScreenUtil().setHeight(233),
|
|
|
|
color: MyColours.color_dfdfdf,
|
|
|
|
color: MyColours.color_f1f1f1,
|
|
|
|
child: Row(
|
|
|
|
children: <Widget>[
|
|
|
|
Expanded(
|
|
...
|
...
|
@@ -329,11 +329,10 @@ class DialogUtil { |
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
children: <Widget>[
|
|
|
|
Image.asset(
|
|
|
|
"assets/icon_wechat.png", width: ScreenUtil().setWidth(126),
|
|
|
|
height: ScreenUtil().setWidth(126),),
|
|
|
|
VEmptyView(18),
|
|
|
|
"assets/icon_wechat.png", width: ScreenUtil().setWidth(140),
|
|
|
|
height: ScreenUtil().setWidth(140),),
|
|
|
|
Text("微信", style: TextStyle(color: MyColours.color_353535,
|
|
|
|
fontSize: ScreenUtil().setSp(26)),)
|
|
|
|
fontSize: ScreenUtil().setSp(32)),)
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
...
|
...
|
@@ -348,11 +347,10 @@ class DialogUtil { |
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
children: <Widget>[
|
|
|
|
Image.asset(
|
|
|
|
"assets/icon_sms.png", width: ScreenUtil().setWidth(126),
|
|
|
|
height: ScreenUtil().setWidth(126),),
|
|
|
|
VEmptyView(18),
|
|
|
|
"assets/icon_sms.png", width: ScreenUtil().setWidth(140),
|
|
|
|
height: ScreenUtil().setWidth(140),),
|
|
|
|
Text("短信", style: TextStyle(color: MyColours.color_353535,
|
|
|
|
fontSize: ScreenUtil().setSp(26)),)
|
|
|
|
fontSize: ScreenUtil().setSp(32)),)
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
...
|
...
|
@@ -367,11 +365,10 @@ class DialogUtil { |
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
children: <Widget>[
|
|
|
|
Image.asset(
|
|
|
|
"assets/icon_phone.png", width: ScreenUtil().setWidth(126),
|
|
|
|
height: ScreenUtil().setWidth(126),),
|
|
|
|
VEmptyView(18),
|
|
|
|
"assets/icon_phone.png", width: ScreenUtil().setWidth(140),
|
|
|
|
height: ScreenUtil().setWidth(140),),
|
|
|
|
Text("电话", style: TextStyle(color: MyColours.color_353535,
|
|
|
|
fontSize: ScreenUtil().setSp(26)),)
|
|
|
|
fontSize: ScreenUtil().setSp(32)),)
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
...
|
...
|
|