|
|
@ -98,7 +98,12 @@ class _MineView extends State<MineView> { |
|
|
|
String tableId = uri.queryParameters["tableId"]; |
|
|
|
String tableId = uri.queryParameters["tableId"]; |
|
|
|
String tenantCode = uri.queryParameters["tenantCode"]; |
|
|
|
String tenantCode = uri.queryParameters["tenantCode"]; |
|
|
|
String shopId = uri.queryParameters["shopId"]; |
|
|
|
String shopId = uri.queryParameters["shopId"]; |
|
|
|
if (tableId != null && tableId != "" && tenantCode != null && tenantCode != "" && shopId != null && shopId != "") { |
|
|
|
if (tableId != null && |
|
|
|
|
|
|
|
tableId != "" && |
|
|
|
|
|
|
|
tenantCode != null && |
|
|
|
|
|
|
|
tenantCode != "" && |
|
|
|
|
|
|
|
shopId != null && |
|
|
|
|
|
|
|
shopId != "") { |
|
|
|
Navigator.of(context).pushNamed( |
|
|
|
Navigator.of(context).pushNamed( |
|
|
|
'/router/store_order', |
|
|
|
'/router/store_order', |
|
|
|
arguments: { |
|
|
|
arguments: { |
|
|
@ -156,7 +161,7 @@ class _MineView extends State<MineView> { |
|
|
|
Expanded( |
|
|
|
Expanded( |
|
|
|
flex: 1, |
|
|
|
flex: 1, |
|
|
|
child: Container( |
|
|
|
child: Container( |
|
|
|
height: 50.h, |
|
|
|
height: 53.h, |
|
|
|
child: Column( |
|
|
|
child: Column( |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.stretch, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.stretch, |
|
|
@ -211,7 +216,7 @@ class _MineView extends State<MineView> { |
|
|
|
: Text( |
|
|
|
: Text( |
|
|
|
widget.userInfo == null |
|
|
|
widget.userInfo == null |
|
|
|
? "" |
|
|
|
? "" |
|
|
|
: "NO.${widget.userInfo.vipNo}", |
|
|
|
: "我的积分:${widget.userInfo.points}", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
@ -236,28 +241,34 @@ class _MineView extends State<MineView> { |
|
|
|
alignment: Alignment.bottomRight, |
|
|
|
alignment: Alignment.bottomRight, |
|
|
|
height: 50.h, |
|
|
|
height: 50.h, |
|
|
|
child: GestureDetector( |
|
|
|
child: GestureDetector( |
|
|
|
onTap: () { |
|
|
|
onTap: () { |
|
|
|
widget.toIntegralPage(); |
|
|
|
widget.toIntegralPage(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
child: Row( |
|
|
|
child: Container( |
|
|
|
mainAxisAlignment: MainAxisAlignment.end, |
|
|
|
padding: EdgeInsets.only(top: 4, bottom: 4, right: 16,left: 7), |
|
|
|
children: [ |
|
|
|
decoration: BoxDecoration( |
|
|
|
Text( |
|
|
|
color: Color(0xFF87E8B0), |
|
|
|
S.of(context).jifenxiangqing, |
|
|
|
borderRadius: BorderRadius.only(topLeft: Radius.circular(100),bottomLeft:Radius.circular(100)), |
|
|
|
style: TextStyle( |
|
|
|
), |
|
|
|
color: Colors.black, |
|
|
|
child: Row( |
|
|
|
fontSize: 12.sp, |
|
|
|
mainAxisAlignment: MainAxisAlignment.end, |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
children: [ |
|
|
|
), |
|
|
|
Text( |
|
|
|
|
|
|
|
S.of(context).jifenxiangqing, |
|
|
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
|
|
color: Colors.black, |
|
|
|
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
Icon( |
|
|
|
|
|
|
|
Icons.keyboard_arrow_right, |
|
|
|
|
|
|
|
size: 16, |
|
|
|
|
|
|
|
color: Colors.black, |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
Icon( |
|
|
|
)), |
|
|
|
Icons.keyboard_arrow_right, |
|
|
|
|
|
|
|
size: 16, |
|
|
|
|
|
|
|
color: Colors.black, |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|