点击区域优化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,12 +96,16 @@ class MeetingMainPageState extends State<MeetingMainPage> {
),
SizedBox(width: 16.w),*/
GestureDetector(
child: Image.asset(
state.communicationMode.value == 1
? 'assets/images/meeting_main_receiver.png'
: 'assets/images/meeting_main_speaker.png',
width: 20.w,
height: 20.h,
child: Container(
color: ColorUtil.Color_0_0_0_0,
padding: const EdgeInsets.only(top: 10, bottom: 10, right: 12),
child: Image.asset(
state.communicationMode.value == 1
? 'assets/images/meeting_main_receiver.png'
: 'assets/images/meeting_main_speaker.png',
width: 20.w,
height: 20.h,
),
),
onTap: () {
if (state.communicationMode.value ==
@ -180,10 +184,14 @@ class MeetingMainPageState extends State<MeetingMainPage> {
children: [
/// 退
GestureDetector(
child: Image.asset(
'assets/images/meeting_leave.png',
width: 20.w,
height: 20.h,
child: Container(
color: ColorUtil.Color_0_0_0_0,
padding: const EdgeInsets.only(top: 10, bottom: 10, left: 20),
child: Image.asset(
'assets/images/meeting_leave.png',
width: 20.w,
height: 20.h,
),
),
onTap: () {
Get.bottomSheet(