点击区域优化
This commit is contained in:
parent
cf8f710a38
commit
87bea363b6
|
|
@ -86,7 +86,7 @@ class MeetingMainPageState extends State<MeetingMainPage> {
|
|||
width: 92.w,
|
||||
child: Row(
|
||||
children: [
|
||||
GestureDetector(
|
||||
/*GestureDetector(
|
||||
child: Image.asset(
|
||||
'assets/images/meeting_main_narrow.png',
|
||||
width: 20.w,
|
||||
|
|
@ -94,7 +94,7 @@ class MeetingMainPageState extends State<MeetingMainPage> {
|
|||
),
|
||||
onTap: () {},
|
||||
),
|
||||
SizedBox(width: 16.w),
|
||||
SizedBox(width: 16.w),*/
|
||||
GestureDetector(
|
||||
child: Image.asset(
|
||||
state.communicationMode.value == 1
|
||||
|
|
@ -134,37 +134,40 @@ class MeetingMainPageState extends State<MeetingMainPage> {
|
|||
),
|
||||
),
|
||||
GestureDetector(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Row(
|
||||
children: [
|
||||
Text(
|
||||
state.meetingRoomInfo.value
|
||||
?.roomName ??
|
||||
'',
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 14.sp,
|
||||
fontWeight: FontWeight.w500),
|
||||
),
|
||||
SizedBox(width: 4.w),
|
||||
Image.asset(
|
||||
'assets/images/meeting_main_down.png',
|
||||
width: 16.w,
|
||||
height: 16.h,
|
||||
)
|
||||
],
|
||||
),
|
||||
SizedBox(height: 4.h),
|
||||
Text(
|
||||
state.duration.value,
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 12.sp,
|
||||
child: Container(
|
||||
color: ColorUtil.Color_0_0_0_0,
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Row(
|
||||
children: [
|
||||
Text(
|
||||
state.meetingRoomInfo.value
|
||||
?.roomName ??
|
||||
'',
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 14.sp,
|
||||
fontWeight: FontWeight.w500),
|
||||
),
|
||||
SizedBox(width: 4.w),
|
||||
Image.asset(
|
||||
'assets/images/meeting_main_down.png',
|
||||
width: 16.w,
|
||||
height: 16.h,
|
||||
)
|
||||
],
|
||||
),
|
||||
)
|
||||
],
|
||||
SizedBox(height: 4.h),
|
||||
Text(
|
||||
state.duration.value,
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 12.sp,
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
onTap: () {
|
||||
logic.changeMeetingInfoState(true);
|
||||
|
|
@ -739,31 +742,31 @@ class MeetingMainPageState extends State<MeetingMainPage> {
|
|||
fontWeight: FontWeight.w500,
|
||||
color: ColorUtil.Color_134_134_134),
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
Text(
|
||||
state.roomNumber.value,
|
||||
style: TextStyle(
|
||||
fontSize: 12.sp,
|
||||
color: ColorUtil.Color_202_202_202,
|
||||
fontWeight: FontWeight.w500),
|
||||
),
|
||||
SizedBox(width: 12.w),
|
||||
GestureDetector(
|
||||
child: Container(
|
||||
child: Image.asset(
|
||||
GestureDetector(
|
||||
child: Container(
|
||||
color: ColorUtil.Color_0_0_0_0,
|
||||
child: Row(
|
||||
children: [
|
||||
Text(
|
||||
state.roomNumber.value,
|
||||
style: TextStyle(
|
||||
fontSize: 12.sp,
|
||||
color: ColorUtil.Color_202_202_202,
|
||||
fontWeight: FontWeight.w500),
|
||||
),
|
||||
const SizedBox(width: 12),
|
||||
Image.asset(
|
||||
'assets/images/meeting_main_copy.png',
|
||||
width: 18.w,
|
||||
height: 18.h,
|
||||
),
|
||||
padding: const EdgeInsets.all(4),
|
||||
),
|
||||
onTap: (){
|
||||
Clipboard.setData(ClipboardData(text: state.roomNumber.value));
|
||||
ToastUtils.showSuccess("复制成功");
|
||||
},
|
||||
)
|
||||
],
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
onTap: (){
|
||||
Clipboard.setData(ClipboardData(text: state.roomNumber.value));
|
||||
ToastUtils.showSuccess("复制成功");
|
||||
},
|
||||
)
|
||||
],
|
||||
),
|
||||
|
|
@ -834,6 +837,7 @@ class MeetingMainPageState extends State<MeetingMainPage> {
|
|||
SizedBox(height: 10.h),
|
||||
GestureDetector(
|
||||
child: Container(
|
||||
color: ColorUtil.Color_0_0_0_0,
|
||||
padding: const EdgeInsets.only(top: 10, bottom: 10),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
|
|
|
|||
Loading…
Reference in New Issue