|
...
|
...
|
@@ -158,101 +158,183 @@ class InvicationPageState extends State<InvicationPage> { |
|
|
|
child: Stack(
|
|
|
|
children: [
|
|
|
|
Padding(
|
|
|
|
padding: EdgeInsets.only(top: ScreenUtil().setWidth(0)),
|
|
|
|
padding:
|
|
|
|
EdgeInsets.only(top: ScreenUtil().setWidth(35 * 2)),
|
|
|
|
child: Column(children: [
|
|
|
|
Expanded(
|
|
|
|
child: ListView(
|
|
|
|
controller: controller,
|
|
|
|
physics: BouncingScrollPhysics(),
|
|
|
|
children: <Widget>[
|
|
|
|
VEmptyView(60),
|
|
|
|
Center(
|
|
|
|
child: Column(
|
|
|
|
children: <Widget>[
|
|
|
|
Image.asset(
|
|
|
|
"assets/img_ydap.png",
|
|
|
|
width: ScreenUtil().setWidth(190 * 2),
|
|
|
|
height: ScreenUtil().setHeight(200),
|
|
|
|
width: ScreenUtil().setWidth(220 * 2),
|
|
|
|
height: ScreenUtil().setHeight(120 * 2),
|
|
|
|
),
|
|
|
|
VEmptyView(69),
|
|
|
|
Row(
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
children: <Widget>[
|
|
|
|
Container(
|
|
|
|
width: ScreenUtil().setWidth(108),
|
|
|
|
height: ScreenUtil().setHeight(2),
|
|
|
|
color: MyColours.color_979797,
|
|
|
|
),
|
|
|
|
Container(
|
|
|
|
width: ScreenUtil().setWidth(442),
|
|
|
|
height: ScreenUtil().setHeight(43),
|
|
|
|
alignment: Alignment.center,
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
border: Border.all(
|
|
|
|
color: MyColours.color_979797,
|
|
|
|
width:
|
|
|
|
ScreenUtil().setWidth(2)),
|
|
|
|
borderRadius: BorderRadius.all(
|
|
|
|
Radius.circular(ScreenUtil()
|
|
|
|
.setWidth(18)))),
|
|
|
|
child: Text(
|
|
|
|
"订包间,用周到安排",
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_999999,
|
|
|
|
fontSize: ScreenUtil().setSp(28)),
|
|
|
|
VEmptyView(20),
|
|
|
|
Container(
|
|
|
|
margin: EdgeInsets.symmetric(
|
|
|
|
horizontal: ScreenUtil().setWidth(40)),
|
|
|
|
padding: EdgeInsets.all(
|
|
|
|
ScreenUtil().setWidth(60)),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
gradient: LinearGradient(
|
|
|
|
begin: Alignment.topCenter,
|
|
|
|
end: Alignment.bottomCenter,
|
|
|
|
colors: [
|
|
|
|
MyColours.color_F7F1E8,
|
|
|
|
MyColours.color_E3D6C7,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Container(
|
|
|
|
width: ScreenUtil().setWidth(108),
|
|
|
|
height: ScreenUtil().setHeight(2),
|
|
|
|
color: MyColours.color_979797,
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
_middleWidget("餐厅", user.sellername),
|
|
|
|
_middleWidget("包间",
|
|
|
|
widget.tableInfo.replaceAll("\n", "")),
|
|
|
|
_middleWidget("时间", dateTimeStr),
|
|
|
|
VEmptyView(80),
|
|
|
|
Column(
|
|
|
|
children: <Widget>[
|
|
|
|
Row(
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
children: <Widget>[
|
|
|
|
Image.asset(
|
|
|
|
"assets/invication_map.png",
|
|
|
|
width: ScreenUtil().setWidth(22),
|
|
|
|
height: ScreenUtil().setWidth(28),
|
|
|
|
borderRadius: BorderRadius.circular(
|
|
|
|
ScreenUtil().setWidth(10))),
|
|
|
|
child: Column(
|
|
|
|
crossAxisAlignment:
|
|
|
|
CrossAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
color: Colors.red,
|
|
|
|
height: 160,
|
|
|
|
),
|
|
|
|
VEmptyView(40),
|
|
|
|
Image.asset(
|
|
|
|
"assets/yd_up.png",
|
|
|
|
width: ScreenUtil().setWidth(195 * 2),
|
|
|
|
height:
|
|
|
|
ScreenUtil().setHeight(33 * 2),
|
|
|
|
),
|
|
|
|
VEmptyView(60),
|
|
|
|
Container(
|
|
|
|
height: ScreenUtil().setWidth(48),
|
|
|
|
child: Text(
|
|
|
|
user.sellername,
|
|
|
|
style: TextStyle(
|
|
|
|
letterSpacing: ScreenUtil()
|
|
|
|
.setWidth(2.13 * 2),
|
|
|
|
color: MyColours.color_794F28,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize:
|
|
|
|
ScreenUtil().setSp(34)),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
VEmptyView(30),
|
|
|
|
Container(
|
|
|
|
height: ScreenUtil().setWidth(36),
|
|
|
|
child: Text(
|
|
|
|
'已为您安排在包间',
|
|
|
|
style: TextStyle(
|
|
|
|
letterSpacing: ScreenUtil()
|
|
|
|
.setWidth(1.7 * 2),
|
|
|
|
color: MyColours.color_C19E5B,
|
|
|
|
fontSize:
|
|
|
|
ScreenUtil().setSp(26)),
|
|
|
|
),
|
|
|
|
Container(
|
|
|
|
margin: EdgeInsets.symmetric(
|
|
|
|
horizontal:
|
|
|
|
ScreenUtil().setWidth(13)),
|
|
|
|
child: Text("地址导航",
|
|
|
|
),
|
|
|
|
VEmptyView(12),
|
|
|
|
Row(
|
|
|
|
mainAxisAlignment:
|
|
|
|
MainAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Image.asset(
|
|
|
|
"assets/bj_left.png",
|
|
|
|
width:
|
|
|
|
ScreenUtil().setWidth(30 * 2),
|
|
|
|
height: ScreenUtil()
|
|
|
|
.setHeight(58 * 2),
|
|
|
|
),
|
|
|
|
Container(
|
|
|
|
height: ScreenUtil().setWidth(48),
|
|
|
|
child: Text(
|
|
|
|
widget.tableInfo
|
|
|
|
.replaceAll("\n", ""),
|
|
|
|
style: TextStyle(
|
|
|
|
letterSpacing: ScreenUtil()
|
|
|
|
.setWidth(2.13 * 2),
|
|
|
|
color:
|
|
|
|
MyColours.color_CEB689,
|
|
|
|
fontSize: ScreenUtil()
|
|
|
|
.setSp(28))),
|
|
|
|
MyColours.color_794F28,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize:
|
|
|
|
ScreenUtil().setSp(34)),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Image.asset(
|
|
|
|
"assets/bj_right.png",
|
|
|
|
width:
|
|
|
|
ScreenUtil().setWidth(30 * 2),
|
|
|
|
height: ScreenUtil()
|
|
|
|
.setHeight(58 * 2),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
VEmptyView(18),
|
|
|
|
RoundButton(
|
|
|
|
text: '浏览照片',
|
|
|
|
width: ScreenUtil().setWidth(68 * 2),
|
|
|
|
height: ScreenUtil().setWidth(24 * 2),
|
|
|
|
fontSize: 24,
|
|
|
|
textColor: MyColours.color_794F28,
|
|
|
|
isBold: false,
|
|
|
|
gradientStart:
|
|
|
|
Color.fromRGBO(121, 79, 40, 0.1),
|
|
|
|
gradientEnd:
|
|
|
|
Color.fromRGBO(121, 79, 40, 0.1),
|
|
|
|
),
|
|
|
|
VEmptyView(60),
|
|
|
|
Container(
|
|
|
|
height: ScreenUtil().setWidth(40),
|
|
|
|
child: Text(
|
|
|
|
'时间:${dateTimeStr}',
|
|
|
|
style: TextStyle(
|
|
|
|
letterSpacing: ScreenUtil()
|
|
|
|
.setWidth(1.8 * 2),
|
|
|
|
color: MyColours.color_794F28,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize:
|
|
|
|
ScreenUtil().setSp(28)),
|
|
|
|
),
|
|
|
|
Image.asset(
|
|
|
|
"assets/invication_arrow_right.png",
|
|
|
|
width: ScreenUtil().setWidth(14),
|
|
|
|
height: ScreenUtil().setWidth(22),
|
|
|
|
),
|
|
|
|
VEmptyView(20),
|
|
|
|
Container(
|
|
|
|
// height: ScreenUtil().setWidth(40),
|
|
|
|
child: Text(
|
|
|
|
'地址:${user.sellerAddr}',
|
|
|
|
maxLines: 3,
|
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
style: TextStyle(
|
|
|
|
letterSpacing: ScreenUtil()
|
|
|
|
.setWidth(1.8 * 2),
|
|
|
|
color: MyColours.color_794F28,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize:
|
|
|
|
ScreenUtil().setSp(28)),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
Container(
|
|
|
|
margin: EdgeInsets.only(
|
|
|
|
top: ScreenUtil().setHeight(20)),
|
|
|
|
child: Text(
|
|
|
|
user.sellerAddr,
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_F2F2F2,
|
|
|
|
fontSize: ScreenUtil().setSp(36)),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
// VEmptyView(20),
|
|
|
|
// RoundButton(
|
|
|
|
// text: '一键导航',
|
|
|
|
// width: ScreenUtil().setWidth(68 * 2),
|
|
|
|
// height: ScreenUtil().setWidth(24 * 2),
|
|
|
|
// fontSize: 24,
|
|
|
|
// textColor: MyColours.color_794F28,
|
|
|
|
// isBold: false,
|
|
|
|
// gradientStart:
|
|
|
|
// Color.fromRGBO(121, 79, 40, 0.1),
|
|
|
|
// gradientEnd:
|
|
|
|
// Color.fromRGBO(121, 79, 40, 0.1),
|
|
|
|
// ),
|
|
|
|
VEmptyView(60),
|
|
|
|
Image.asset(
|
|
|
|
"assets/yd_down.png",
|
|
|
|
width: ScreenUtil().setWidth(195 * 2),
|
|
|
|
height:
|
|
|
|
ScreenUtil().setHeight(33 * 2),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
),
|
...
|
...
|
|