|
|
@ -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);
|
|
|
|