|
|
@ -16,6 +16,7 @@ import 'package:dating_touchme_app/pages/mine/user_help_center_page.dart'; |
|
|
import 'package:dating_touchme_app/pages/mine/vip_page.dart'; |
|
|
import 'package:dating_touchme_app/pages/mine/vip_page.dart'; |
|
|
import 'package:dating_touchme_app/pages/setting/setting_page.dart'; |
|
|
import 'package:dating_touchme_app/pages/setting/setting_page.dart'; |
|
|
import 'package:flutter/material.dart'; |
|
|
import 'package:flutter/material.dart'; |
|
|
|
|
|
import 'package:flutter/services.dart'; |
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
import 'package:dating_touchme_app/generated/assets.dart'; |
|
|
import 'package:dating_touchme_app/generated/assets.dart'; |
|
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; |
|
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; |
|
|
@ -203,13 +204,42 @@ class MinePageState extends State<MinePage> with AutomaticKeepAliveClientMixin{ |
|
|
) |
|
|
) |
|
|
], |
|
|
], |
|
|
), |
|
|
), |
|
|
Text( |
|
|
|
|
|
"ID:${controller.userId.value ?? ""}", |
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
fontSize: 10.w, |
|
|
|
|
|
color: const Color.fromRGBO(51, 51, 51, 1), |
|
|
|
|
|
fontWeight: FontWeight.w500 |
|
|
|
|
|
), |
|
|
|
|
|
|
|
|
Row( |
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
|
|
children: [ |
|
|
|
|
|
Text( |
|
|
|
|
|
"ID:${controller.userId.value ?? ""}", |
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
fontSize: 10.w, |
|
|
|
|
|
color: const Color.fromRGBO(51, 51, 51, 1), |
|
|
|
|
|
fontWeight: FontWeight.w500 |
|
|
|
|
|
), |
|
|
|
|
|
), |
|
|
|
|
|
Container( |
|
|
|
|
|
width: 33.w, |
|
|
|
|
|
height: 13.w, |
|
|
|
|
|
margin: EdgeInsets.only(left: 5.w), |
|
|
|
|
|
decoration: BoxDecoration( |
|
|
|
|
|
borderRadius: BorderRadius.all(Radius.circular(13.w)), |
|
|
|
|
|
color: const Color.fromRGBO( |
|
|
|
|
|
201, 201, 201, 1.0) |
|
|
|
|
|
), |
|
|
|
|
|
child: Center( |
|
|
|
|
|
child: Text( |
|
|
|
|
|
"复制", |
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
fontSize: 11.w, |
|
|
|
|
|
color: Colors.white |
|
|
|
|
|
), |
|
|
|
|
|
), |
|
|
|
|
|
), |
|
|
|
|
|
).onTap(() async { |
|
|
|
|
|
await Clipboard.setData( |
|
|
|
|
|
ClipboardData(text: controller.userId.value ?? ""), |
|
|
|
|
|
); |
|
|
|
|
|
SmartDialog.showToast('复制成功'); |
|
|
|
|
|
}), |
|
|
|
|
|
], |
|
|
), |
|
|
), |
|
|
if(controller.userData.value?.matchmakerFlag ?? false) Text( |
|
|
if(controller.userData.value?.matchmakerFlag ?? false) Text( |
|
|
"邀请码:${controller.userData.value?.code ?? ""}", |
|
|
"邀请码:${controller.userData.value?.code ?? ""}", |
|
|
|