Browse Source

优化会议助手

newdev_shunjiawei
tanlongsheng 1 year ago
parent
commit
451080975a
  1. 13
      lib/modules/meeting/views/bottomSheet/more_bottom_sheet.dart
  2. 14
      lib/modules/meeting/views/bottomSheet/share_bottom_sheet.dart

13
lib/modules/meeting/views/bottomSheet/more_bottom_sheet.dart

@ -64,7 +64,7 @@ class _MoreBottomSheetState extends State<MoreBottomSheet> {
return InkWell(
onTap: onTap,
child: Container(
padding: EdgeInsets.symmetric(horizontal: 12.w, vertical: 15.w),
padding: EdgeInsets.symmetric(horizontal: 12.w, vertical: 14.w),
margin: EdgeInsets.only(bottom: 10.w),
decoration: BoxDecoration(
color: onTap != null ? Colors.white : Colors.grey[200],
@ -72,9 +72,12 @@ class _MoreBottomSheetState extends State<MoreBottomSheet> {
),
child: Row(
children: [
Icon(
icon,
color: Colors.black87,
Opacity(
opacity: onTap != null ? 1.0 : 0.5,
child: Icon(
icon,
color: Colors.black87,
),
),
10.horizontalSpace,
Expanded(
@ -82,7 +85,7 @@ class _MoreBottomSheetState extends State<MoreBottomSheet> {
title,
style: TextStyle(
fontSize: 14.sp,
color: Colors.black87,
color: Colors.black87.withOpacity(onTap != null ? 1 : 0.5),
),
),
),

14
lib/modules/meeting/views/bottomSheet/share_bottom_sheet.dart

@ -218,12 +218,13 @@ class _ShareBottomSheetState extends State<ShareBottomSheet> {
return InkWell(
onTap: onTap,
child: Container(
padding: EdgeInsets.symmetric(horizontal: 12.w, vertical: 15.w),
padding: EdgeInsets.symmetric(horizontal: 12.w, vertical: 14.w),
decoration: BoxDecoration(
color: onTap != null ? null : Colors.grey[200],
border: isBorder
? Border(
bottom: BorderSide(
width: 0.5,
color: Colors.grey[300]!,
),
)
@ -231,9 +232,12 @@ class _ShareBottomSheetState extends State<ShareBottomSheet> {
),
child: Row(
children: [
Icon(
icon,
color: Colors.black87,
Opacity(
opacity: onTap != null ? 1.0 : 0.5,
child: Icon(
icon,
color: Colors.black87,
),
),
10.horizontalSpace,
Expanded(
@ -241,7 +245,7 @@ class _ShareBottomSheetState extends State<ShareBottomSheet> {
title,
style: TextStyle(
fontSize: 14.sp,
color: Colors.black87,
color: Colors.black87.withOpacity(onTap != null ? 1 : 0.5),
),
),
),

Loading…
Cancel
Save