点击区域优化2

This commit is contained in:
fuenmao 2025-01-07 11:59:49 +08:00
parent 9161c33741
commit 01b4adeac7
1 changed files with 18 additions and 10 deletions

View File

@ -96,6 +96,9 @@ class MeetingMainPageState extends State<MeetingMainPage> {
), ),
SizedBox(width: 16.w),*/ SizedBox(width: 16.w),*/
GestureDetector( GestureDetector(
child: Container(
color: ColorUtil.Color_0_0_0_0,
padding: const EdgeInsets.only(top: 10, bottom: 10, right: 12),
child: Image.asset( child: Image.asset(
state.communicationMode.value == 1 state.communicationMode.value == 1
? 'assets/images/meeting_main_receiver.png' ? 'assets/images/meeting_main_receiver.png'
@ -103,6 +106,7 @@ class MeetingMainPageState extends State<MeetingMainPage> {
width: 20.w, width: 20.w,
height: 20.h, height: 20.h,
), ),
),
onTap: () { onTap: () {
if (state.communicationMode.value == if (state.communicationMode.value ==
1 || 1 ||
@ -180,11 +184,15 @@ class MeetingMainPageState extends State<MeetingMainPage> {
children: [ children: [
/// 退 /// 退
GestureDetector( GestureDetector(
child: Container(
color: ColorUtil.Color_0_0_0_0,
padding: const EdgeInsets.only(top: 10, bottom: 10, left: 20),
child: Image.asset( child: Image.asset(
'assets/images/meeting_leave.png', 'assets/images/meeting_leave.png',
width: 20.w, width: 20.w,
height: 20.h, height: 20.h,
), ),
),
onTap: () { onTap: () {
Get.bottomSheet( Get.bottomSheet(
isScrollControlled: true, isScrollControlled: true,