点击区域优化1
This commit is contained in:
parent
87bea363b6
commit
9161c33741
|
|
@ -898,7 +898,6 @@ class MeetingMainPageState extends State<MeetingMainPage> {
|
|||
color: ColorUtil.Color_57_57_57_08,
|
||||
child: Container(
|
||||
width: double.infinity,
|
||||
padding: const EdgeInsets.only(top: 16, bottom: 16),
|
||||
margin: const EdgeInsets.only(left: 40, right: 40),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: const BorderRadius.all(Radius.circular(6)),
|
||||
|
|
@ -928,8 +927,8 @@ class MeetingMainPageState extends State<MeetingMainPage> {
|
|||
List<Widget> audioList() {
|
||||
List<Widget> audioList = [];
|
||||
audioList.add(GestureDetector(
|
||||
child: Column(children: [
|
||||
Text(
|
||||
child: Container(
|
||||
child: Text(
|
||||
'听筒',
|
||||
style: TextStyle(
|
||||
fontSize: 14.sp,
|
||||
|
|
@ -940,33 +939,38 @@ class MeetingMainPageState extends State<MeetingMainPage> {
|
|||
? ColorUtil.Color_85_117_242
|
||||
: ColorUtil.Color_134_134_134),
|
||||
),
|
||||
Container(
|
||||
width: double.infinity,
|
||||
height: 1.h,
|
||||
color: ColorUtil.Color_49_47_47,
|
||||
margin: const EdgeInsets.only(top: 14, bottom: 14),
|
||||
)
|
||||
]),
|
||||
color: ColorUtil.Color_0_0_0_0,
|
||||
width: double.infinity,
|
||||
height: 46.h,
|
||||
alignment: Alignment.center,
|
||||
),
|
||||
onTap: () {
|
||||
logic.setEnableSpeakerphone(1);
|
||||
logic.changeMeetingAudioState(false);
|
||||
},
|
||||
));
|
||||
audioList.add(Container(
|
||||
width: double.infinity,
|
||||
height: 1.h,
|
||||
color: ColorUtil.Color_49_47_47,
|
||||
));
|
||||
audioList.add(GestureDetector(
|
||||
child: Column(
|
||||
children: [
|
||||
Text(
|
||||
'扬声器',
|
||||
style: TextStyle(
|
||||
fontSize: 14.sp,
|
||||
fontWeight: state.communicationMode.value == 3
|
||||
? FontWeight.w500
|
||||
: FontWeight.w400,
|
||||
color: state.communicationMode.value == 3
|
||||
? ColorUtil.Color_85_117_242
|
||||
: ColorUtil.Color_134_134_134),
|
||||
),
|
||||
],
|
||||
child: Container(
|
||||
child: Text(
|
||||
'扬声器',
|
||||
style: TextStyle(
|
||||
fontSize: 14.sp,
|
||||
fontWeight: state.communicationMode.value == 3
|
||||
? FontWeight.w500
|
||||
: FontWeight.w400,
|
||||
color: state.communicationMode.value == 3
|
||||
? ColorUtil.Color_85_117_242
|
||||
: ColorUtil.Color_134_134_134),
|
||||
),
|
||||
color: ColorUtil.Color_0_0_0_0,
|
||||
width: double.infinity,
|
||||
height: 46.h,
|
||||
alignment: Alignment.center,
|
||||
),
|
||||
onTap: () {
|
||||
logic.setEnableSpeakerphone(3);
|
||||
|
|
|
|||
Loading…
Reference in New Issue