pull/1/head
章文轩 3 years ago
parent 17e136b20c
commit 2ece9afab7

File diff suppressed because it is too large Load Diff

@ -239,8 +239,7 @@ class _HomePageState extends State<HomePage>
borderRadius: BorderRadius.circular(16.w),
image: DecorationImage(
fit: BoxFit.fill,
image: AssetImage(
Assets.home.imgFkyq.path),
image: AssetImage( Assets.home.imgFkyq.path),
)),
child: Column(
crossAxisAlignment:
@ -264,8 +263,11 @@ class _HomePageState extends State<HomePage>
],
),
),
onTap: () {
Get.to(() => VisitorAccessPage());
onTap: () async {
BotToast.showText(
text: '本小区尚未配置门禁设备',
align: Alignment(0, 0.5));
//Get.to(() => VisitorAccessPage());
},
),
),
@ -355,7 +357,9 @@ class _HomePageState extends State<HomePage>
),
),
onTap: () async {
await TipsDialog.tipsDialog();
BotToast.showText(
text: '本小区尚未配置门禁设备',
align: Alignment(0, 0.5));
// Get.to(AdvicePage(
// type: AdviceType.SUGGESTION));
},

@ -428,7 +428,7 @@ class _PersonalIndexState extends State<PersonalIndex>
// 36.hb,
_function('我的访客', Assets.newIcon.icWdfk.path, () {
BotToast.showText(
text: '当前小区尚未连接设备',
text: '本小区尚未配置门禁设备',
align: Alignment(0, 0.5));
}, ''),
_function(

@ -78,44 +78,54 @@ class ActivityCard extends StatelessWidget {
],
),
24.hb,
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
constraints: BoxConstraints(maxWidth: 340.w),
child: Text(
model == null ? '' : model!.title,
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: TextStyle(
color: Color(0xD9000000),
fontSize: 28.sp,
fontWeight: FontWeight.bold),
Padding(
padding: EdgeInsets.symmetric(horizontal: 32.w),
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
constraints: BoxConstraints(maxWidth: 340.w),
child: Text(
model == null ? '' : model!.title,
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: TextStyle(
color: Color(0xD9000000),
fontSize: 28.sp,
fontWeight: FontWeight.bold),
),
),
),
Spacer(),
],
Spacer(),
],
),
),
Spacer(),
[
Flexible(
child: AvatarsParticipate(
avatars:
Padding(
padding:EdgeInsets.only(left: 32.w,right: 32.w,bottom: 32.w),
child: Row(
children: [
Flexible(
child: AvatarsParticipate(
avatars:
(model?.avatarImgList?.map((e) => e.url).toList() ?? []),
pNum: model?.registrationNum ?? 0,
hasIcon: false,
pNum: model?.registrationNum ?? 0,
hasIcon: false,
),
),
),
// Spacer(),
Offstage(
offstage: ActivityFunc.dateCheck(model!.end) == '已结束',
child: ActivityFunc.dateCheck(model!.end)
.text
.size(24.sp)
.black
.make()),
],
),
// Spacer(),
Offstage(
offstage: ActivityFunc.dateCheck(model!.end) == '已结束',
child: ActivityFunc.dateCheck(model!.end)
.text
.size(24.sp)
.black
.make()),
].row(),
)
],
),
),

Loading…
Cancel
Save