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