Browse Source

修改会议助手

weicu
tanlongsheng 2 years ago
parent
commit
f8ae302ba3
  1. 53
      lib/modules/meeting/views/meeting_details_view.dart
  2. 16
      lib/modules/meeting/views/meeting_edit_view.dart
  3. 53
      lib/modules/meeting/views/meeting_record_view.dart

53
lib/modules/meeting/views/meeting_details_view.dart

@ -56,24 +56,47 @@ class MeetingDetailsView extends GetView<MeetingDetailsController> {
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
Text( Row(
controller.meetingData.value.title, children: [
style: TextStyle( Expanded(
color: isDarkMode ? Colors.white : Colors.black87, child: Text(
fontSize: 17.sp, controller.meetingData.value.title,
), style: TextStyle(
color: isDarkMode ? Colors.white : Colors.black87,
fontSize: 17.sp,
),
),
),
10.horizontalSpace,
Text(
DateUtil.formatDateMs(
controller.meetingData.value.creationtime,
format: DateFormats.y_mo_d_h_m,
),
style: TextStyle(
color: isDarkMode ? Colors.grey[400] : Colors.grey[500],
fontSize: 14.sp,
),
),
],
), ),
Padding( Padding(
padding: EdgeInsets.symmetric(vertical: 5.w), padding: EdgeInsets.symmetric(vertical: 5.w),
child: Text( child: Row(
DateUtil.formatDateMs( children: [
controller.meetingData.value.creationtime, Icon(
format: DateFormats.y_mo_d_h_m, Icons.location_on,
), size: 16.w,
style: TextStyle( color: isDarkMode ? Colors.grey[400] : Colors.grey[500],
color: isDarkMode ? Colors.grey[400] : Colors.grey[500], ),
fontSize: 14.sp, Text(
), '深圳市高新技术产业园区W2-A座',
style: TextStyle(
color: isDarkMode ? Colors.grey[400] : Colors.grey[500],
fontSize: 14.sp,
),
),
],
), ),
), ),
_audioWave(isDarkMode), _audioWave(isDarkMode),

16
lib/modules/meeting/views/meeting_edit_view.dart

@ -112,6 +112,22 @@ class MeetingEditView extends GetView<MeetingEditController> {
), ),
), ),
), ),
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), _audioWave(isDarkMode),
_recordContent(isDarkMode), _recordContent(isDarkMode),
], ],

53
lib/modules/meeting/views/meeting_record_view.dart

@ -96,25 +96,48 @@ class MeetingRecordView extends GetView<MeetingRecordController> {
10.verticalSpace, 10.verticalSpace,
Padding( Padding(
padding: EdgeInsets.symmetric(horizontal: 12.w), padding: EdgeInsets.symmetric(horizontal: 12.w),
child: Text( child: Row(
controller.title, children: [
style: TextStyle( Expanded(
color: isDarkMode ? Colors.white : Colors.black87, child: Text(
fontSize: 17.sp, controller.title,
), style: TextStyle(
color: isDarkMode ? Colors.white : Colors.black87,
fontSize: 17.sp,
),
),
),
10.horizontalSpace,
Text(
DateUtil.formatDateMs(
controller.creationTime,
format: DateFormats.y_mo_d_h_m,
),
style: TextStyle(
color: isDarkMode ? Colors.grey[400] : Colors.grey[500],
fontSize: 14.sp,
),
),
],
), ),
), ),
Padding( Padding(
padding: EdgeInsets.symmetric(horizontal: 12.w, vertical: 5.w), padding: EdgeInsets.symmetric(horizontal: 12.w, vertical: 5.w),
child: Text( child: Row(
DateUtil.formatDateMs( children: [
controller.creationTime, Icon(
format: DateFormats.y_mo_d_h_m, Icons.location_on,
), size: 16.w,
style: TextStyle( color: isDarkMode ? Colors.grey[400] : Colors.grey[500],
color: isDarkMode ? Colors.grey[400] : Colors.grey[500], ),
fontSize: 14.sp, Text(
), '深圳市高新技术产业园区W2-A座',
style: TextStyle(
color: isDarkMode ? Colors.grey[400] : Colors.grey[500],
fontSize: 14.sp,
),
),
],
), ),
), ),
_recordContent(isDarkMode), _recordContent(isDarkMode),

Loading…
Cancel
Save