访客管理角标定位修改

hmxc
小赖 4 years ago
parent f7250cfae3
commit acbeffd964

@ -136,7 +136,7 @@ class _VisitorManagerCardState extends State<VisitorManagerCard> {
], ],
), ),
Positioned( Positioned(
left: 552.w - 24.w, right: 0,
bottom: 75.w - 28.w, bottom: 75.w - 28.w,
child: Transform.rotate( child: Transform.rotate(
angle: pi / 4, angle: pi / 4,

@ -1,10 +1,10 @@
import 'package:aku_community_manager/const/api.dart'; import 'package:aku_community_manager/const/api.dart';
import 'package:aku_community_manager/models/manager/visitor_item_model.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_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:aku_community_manager/ui/widgets/common/bee_list_view.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class VisitorManagerView extends StatefulWidget { class VisitorManagerView extends StatefulWidget {
final int status; final int status;
@ -31,6 +31,7 @@ class _VisitorManagerViewState extends State<VisitorManagerView>
extraParams: {'visitorStatus': widget.status}, extraParams: {'visitorStatus': widget.status},
builder: (items) { builder: (items) {
return ListView.builder( return ListView.builder(
padding: EdgeInsets.symmetric(horizontal: 16.w),
itemBuilder: (context, index) { itemBuilder: (context, index) {
final VisitorItemModel item = items[index]; final VisitorItemModel item = items[index];
return VisitorManagerCard(model: item); return VisitorManagerCard(model: item);

Loading…
Cancel
Save