|
|
@ -10,6 +10,7 @@ import 'package:flutter/rendering.dart'; |
|
|
|
import 'package:flutter/services.dart'; |
|
|
|
import 'package:flutter/services.dart'; |
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
import 'package:huixiang/im/database/message.dart'; |
|
|
|
import 'package:huixiang/im/database/message.dart'; |
|
|
|
|
|
|
|
import 'package:huixiang/im/im_view/w_popup_menu.dart'; |
|
|
|
import 'package:huixiang/main.dart'; |
|
|
|
import 'package:huixiang/main.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/im_user.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/im_user.dart'; |
|
|
|
import 'package:huixiang/retrofit/retrofit_api.dart'; |
|
|
|
import 'package:huixiang/retrofit/retrofit_api.dart'; |
|
|
@ -569,6 +570,7 @@ class _ChatDetailsPage extends State<ChatDetailsPage> |
|
|
|
Padding( |
|
|
|
Padding( |
|
|
|
padding: EdgeInsets.only(left: 17.w, right: 39.w), |
|
|
|
padding: EdgeInsets.only(left: 17.w, right: 39.w), |
|
|
|
child: Row( |
|
|
|
child: Row( |
|
|
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
GestureDetector( |
|
|
|
GestureDetector( |
|
|
|
behavior: HitTestBehavior.opaque, |
|
|
|
behavior: HitTestBehavior.opaque, |
|
|
@ -727,6 +729,7 @@ class _ChatDetailsPage extends State<ChatDetailsPage> |
|
|
|
Padding( |
|
|
|
Padding( |
|
|
|
padding: EdgeInsets.only(left: 36.w, right: 16.w), |
|
|
|
padding: EdgeInsets.only(left: 36.w, right: 16.w), |
|
|
|
child: Row( |
|
|
|
child: Row( |
|
|
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
if (messages[position].state == 3) |
|
|
|
if (messages[position].state == 3) |
|
|
|
Container( |
|
|
|
Container( |
|
|
@ -1139,14 +1142,10 @@ class _ChatDetailsPage extends State<ChatDetailsPage> |
|
|
|
context: context, |
|
|
|
context: context, |
|
|
|
builder: (BuildContext context) { |
|
|
|
builder: (BuildContext context) { |
|
|
|
return AlertDialog( |
|
|
|
return AlertDialog( |
|
|
|
// backgroundColor: Color(0xFF2A2A2A), |
|
|
|
backgroundColor: Colors.transparent, |
|
|
|
// elevation: 0, |
|
|
|
elevation: 0, |
|
|
|
contentPadding: EdgeInsets.only( |
|
|
|
|
|
|
|
top: 8.h, |
|
|
|
|
|
|
|
bottom: 5.h, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
content: Container( |
|
|
|
content: Container( |
|
|
|
width: 160.w, |
|
|
|
// width: 60.w, |
|
|
|
height:50.h, |
|
|
|
height:50.h, |
|
|
|
decoration: BoxDecoration( |
|
|
|
decoration: BoxDecoration( |
|
|
|
color: Color(0xFF2A2A2A), |
|
|
|
color: Color(0xFF2A2A2A), |
|
|
|