From acbeffd964a229eca0e8352091dc702e6bc938d1 Mon Sep 17 00:00:00 2001 From: laiiihz Date: Sat, 20 Feb 2021 17:11:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BF=E5=AE=A2=E7=AE=A1=E7=90=86=E8=A7=92?= =?UTF-8?q?=E6=A0=87=E5=AE=9A=E4=BD=8D=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ui/sub_pages/visitor_manager/visitor_manager_card.dart | 2 +- lib/ui/sub_pages/visitor_manager/visitor_manager_view.dart | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ui/sub_pages/visitor_manager/visitor_manager_card.dart b/lib/ui/sub_pages/visitor_manager/visitor_manager_card.dart index 2bfe763..11b8fa7 100644 --- a/lib/ui/sub_pages/visitor_manager/visitor_manager_card.dart +++ b/lib/ui/sub_pages/visitor_manager/visitor_manager_card.dart @@ -136,7 +136,7 @@ class _VisitorManagerCardState extends State { ], ), Positioned( - left: 552.w - 24.w, + right: 0, bottom: 75.w - 28.w, child: Transform.rotate( angle: pi / 4, diff --git a/lib/ui/sub_pages/visitor_manager/visitor_manager_view.dart b/lib/ui/sub_pages/visitor_manager/visitor_manager_view.dart index 9a1013b..8a48404 100644 --- a/lib/ui/sub_pages/visitor_manager/visitor_manager_view.dart +++ b/lib/ui/sub_pages/visitor_manager/visitor_manager_view.dart @@ -1,10 +1,10 @@ import 'package:aku_community_manager/const/api.dart'; import 'package:aku_community_manager/models/manager/visitor_item_model.dart'; import 'package:aku_community_manager/ui/sub_pages/visitor_manager/visitor_manager_card.dart'; -import 'package:aku_community_manager/ui/sub_pages/visitor_manager/visitor_manager_page.dart'; import 'package:aku_community_manager/ui/widgets/common/bee_list_view.dart'; import 'package:flutter/material.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart'; +import 'package:flutter_screenutil/flutter_screenutil.dart'; class VisitorManagerView extends StatefulWidget { final int status; @@ -31,6 +31,7 @@ class _VisitorManagerViewState extends State extraParams: {'visitorStatus': widget.status}, builder: (items) { return ListView.builder( + padding: EdgeInsets.symmetric(horizontal: 16.w), itemBuilder: (context, index) { final VisitorItemModel item = items[index]; return VisitorManagerCard(model: item);