|
|
|
@ -56,16 +56,19 @@ class MeetingDetailsView extends GetView<MeetingDetailsController> { |
|
|
|
child: Column( |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
children: [ |
|
|
|
Text( |
|
|
|
Row( |
|
|
|
children: [ |
|
|
|
Expanded( |
|
|
|
child: Text( |
|
|
|
controller.meetingData.value.title, |
|
|
|
style: TextStyle( |
|
|
|
color: isDarkMode ? Colors.white : Colors.black87, |
|
|
|
fontSize: 17.sp, |
|
|
|
), |
|
|
|
), |
|
|
|
Padding( |
|
|
|
padding: EdgeInsets.symmetric(vertical: 5.w), |
|
|
|
child: Text( |
|
|
|
), |
|
|
|
10.horizontalSpace, |
|
|
|
Text( |
|
|
|
DateUtil.formatDateMs( |
|
|
|
controller.meetingData.value.creationtime, |
|
|
|
format: DateFormats.y_mo_d_h_m, |
|
|
|
@ -75,6 +78,26 @@ class MeetingDetailsView extends GetView<MeetingDetailsController> { |
|
|
|
fontSize: 14.sp, |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
), |
|
|
|
Padding( |
|
|
|
padding: EdgeInsets.symmetric(vertical: 5.w), |
|
|
|
child: Row( |
|
|
|
children: [ |
|
|
|
Icon( |
|
|
|
Icons.location_on, |
|
|
|
size: 16.w, |
|
|
|
color: isDarkMode ? Colors.grey[400] : Colors.grey[500], |
|
|
|
), |
|
|
|
Text( |
|
|
|
'深圳市高新技术产业园区W2-A座', |
|
|
|
style: TextStyle( |
|
|
|
color: isDarkMode ? Colors.grey[400] : Colors.grey[500], |
|
|
|
fontSize: 14.sp, |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
_audioWave(isDarkMode), |
|
|
|
_recordContent(isDarkMode), |
|
|
|
@ -219,14 +242,45 @@ class MeetingDetailsView extends GetView<MeetingDetailsController> { |
|
|
|
), |
|
|
|
], |
|
|
|
), |
|
|
|
child: Align( |
|
|
|
alignment: Alignment.topLeft, |
|
|
|
child: SingleChildScrollView( |
|
|
|
reverse: true, |
|
|
|
child: DefaultTabController( |
|
|
|
length: 2, |
|
|
|
child: Column( |
|
|
|
children: [ |
|
|
|
SizedBox( |
|
|
|
height: 40.w, |
|
|
|
child: TabBar( |
|
|
|
indicatorSize: TabBarIndicatorSize.tab, |
|
|
|
indicatorColor: isDarkMode ? AppColors.primary : Colors.blue, |
|
|
|
labelColor: isDarkMode ? AppColors.primary : Colors.blue, |
|
|
|
labelStyle: TextStyle( |
|
|
|
color: isDarkMode ? Colors.white : Colors.black87, |
|
|
|
fontSize: 14.sp, |
|
|
|
), |
|
|
|
tabs: const [ |
|
|
|
Tab(text: 'AI总结'), |
|
|
|
Tab(text: '会议原文'), |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
10.verticalSpace, |
|
|
|
Expanded( |
|
|
|
child: TabBarView( |
|
|
|
children: [ |
|
|
|
SingleChildScrollView( |
|
|
|
child: Text( |
|
|
|
controller.dataDetails.value.content, |
|
|
|
), |
|
|
|
), |
|
|
|
SingleChildScrollView( |
|
|
|
child: Text( |
|
|
|
controller.dataDetails.value.content, |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
); |
|
|
|
@ -235,7 +289,7 @@ class MeetingDetailsView extends GetView<MeetingDetailsController> { |
|
|
|
// 底部按钮 |
|
|
|
Widget _bottomButton(bool isDarkMode) { |
|
|
|
return Container( |
|
|
|
padding: EdgeInsets.only(top: 40.w, bottom: 30.w), |
|
|
|
padding: EdgeInsets.only(top: 20.w, bottom: 10.w), |
|
|
|
alignment: Alignment.center, |
|
|
|
child: GestureDetector( |
|
|
|
onTap: () { |
|
|
|
|