王亚玲 2 years ago
parent 6ed26f43c4
commit a531c26d74

@ -189,6 +189,7 @@ class _UserPageState extends State<UserPage> {
children: [ children: [
GestureDetector( GestureDetector(
onTap: () { onTap: () {
if (!userProvider.isLogin) { if (!userProvider.isLogin) {
Get.to(() => const LoginPage()); Get.to(() => const LoginPage());
} }

@ -24,14 +24,12 @@ class AppDialog extends Dialog {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Container( return Container(
margin: EdgeInsets.symmetric(horizontal: 95.w, vertical: 452.w),
margin:EdgeInsets.only(left: 95.w,top: 452.w),
// EdgeInsets.symmetric(horizontal: 95.w,vertical: 452.w),
decoration: BoxDecoration( decoration: BoxDecoration(
image: image: DecorationImage(
DecorationImage(image: AssetImage(Assets.images.bouncedbg.path,))), image: AssetImage(
Assets.images.bouncedbg.path,
))),
child: Column( child: Column(
children: [ children: [
32.hb, 32.hb,

Loading…
Cancel
Save