Browse Source

修改会议助手

weicu
tanlongsheng 2 years ago
parent
commit
1d356d1ad7
  1. 47
      lib/modules/meeting/views/meeting_details_view.dart
  2. 4
      lib/modules/meeting/views/meeting_edit_view.dart

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

@ -219,13 +219,44 @@ class MeetingDetailsView extends GetView<MeetingDetailsController> {
),
],
),
child: Align(
alignment: Alignment.topLeft,
child: SingleChildScrollView(
reverse: true,
child: Text(
controller.dataDetails.value.content,
),
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 +266,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: () {

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

@ -271,9 +271,7 @@ class MeetingEditView extends GetView<MeetingEditController> {
fillColor: Colors.transparent,
border: InputBorder.none,
focusedBorder: InputBorder.none,
contentPadding: EdgeInsets.symmetric(
horizontal: 10.w,
),
contentPadding: EdgeInsets.zero,
),
),
),

Loading…
Cancel
Save