|
|
@@ -204,7 +204,7 @@ class _UserPageState extends State<UserPage> with WidgetsBindingObserver {
|
|
|
DrawerMenu('images/icon_zhanji.png', '我的战绩', onTap: () {
|
|
|
Navigator.push(context, CupertinoPageRoute(builder: (context) => RecordList()));
|
|
|
}),
|
|
|
- Divder(),
|
|
|
+ !showPay ? Container() : (Platform.isIOS && iosPayHide == 'true' ? Container() : Divder()),
|
|
|
// DrawerMenu(
|
|
|
// 'images/icon_bangding.png',
|
|
|
// '游戏绑定',
|
|
|
@@ -213,21 +213,29 @@ class _UserPageState extends State<UserPage> with WidgetsBindingObserver {
|
|
|
// },
|
|
|
// ),
|
|
|
// Divder(),
|
|
|
- DrawerMenu(
|
|
|
- 'images/icon_tuandui.png',
|
|
|
- '我的团队',
|
|
|
- onTap: () {
|
|
|
- Navigator.push(context, CupertinoPageRoute(builder: (context) => MyTeam()));
|
|
|
- },
|
|
|
- ),
|
|
|
- Divder(),
|
|
|
- DrawerMenu(
|
|
|
- 'images/icon_tuiguangma.png',
|
|
|
- '我的推广码',
|
|
|
- onTap: () {
|
|
|
- Navigator.push(context, CupertinoPageRoute(builder: (context) => MyCode()));
|
|
|
- },
|
|
|
- )
|
|
|
+ !showPay
|
|
|
+ ? Container()
|
|
|
+ : (Platform.isIOS && iosPayHide == 'true'
|
|
|
+ ? Container()
|
|
|
+ : DrawerMenu(
|
|
|
+ 'images/icon_tuandui.png',
|
|
|
+ '我的团队',
|
|
|
+ onTap: () {
|
|
|
+ Navigator.push(context, CupertinoPageRoute(builder: (context) => MyTeam()));
|
|
|
+ },
|
|
|
+ )),
|
|
|
+ !showPay ? Container() : (Platform.isIOS && iosPayHide == 'true' ? Container() : Divder()),
|
|
|
+ !showPay
|
|
|
+ ? Container()
|
|
|
+ : (Platform.isIOS && iosPayHide == 'true'
|
|
|
+ ? Container()
|
|
|
+ : DrawerMenu(
|
|
|
+ 'images/icon_tuiguangma.png',
|
|
|
+ '我的推广码',
|
|
|
+ onTap: () {
|
|
|
+ Navigator.push(context, CupertinoPageRoute(builder: (context) => MyCode()));
|
|
|
+ },
|
|
|
+ )),
|
|
|
],
|
|
|
),
|
|
|
),
|