|
|
@@ -462,38 +462,42 @@ class ChatPage extends BasePage<ChatController> {
|
|
|
}
|
|
|
|
|
|
_buildNormalReference(TalkInfo talkInfo) {
|
|
|
- return Row(
|
|
|
- children: [
|
|
|
- Image(
|
|
|
- image: Assets.images.iconReferenceChatArrow.provider(),
|
|
|
- width: 16.w,
|
|
|
- height: 16.w),
|
|
|
- Container(
|
|
|
- margin: EdgeInsets.only(right: 2.w, left: 4.w),
|
|
|
- child: Image(
|
|
|
- image: Assets.images.iconReferenceChatFile.provider(),
|
|
|
+ return Container(
|
|
|
+ margin: EdgeInsets.only(bottom: 14.h),
|
|
|
+ child: Row(
|
|
|
+ children: [
|
|
|
+ Image(
|
|
|
+ image: Assets.images.iconReferenceChatArrow.provider(),
|
|
|
width: 16.w,
|
|
|
height: 16.w),
|
|
|
- ),
|
|
|
- Text(talkInfo.title ?? '',
|
|
|
- overflow: TextOverflow.ellipsis,
|
|
|
- maxLines: 1,
|
|
|
- style: TextStyle(
|
|
|
- fontSize: 12.w,
|
|
|
- color: ColorName.primaryTextColor,
|
|
|
- overflow: TextOverflow.ellipsis)),
|
|
|
- const Spacer(),
|
|
|
- Container(
|
|
|
- margin: EdgeInsets.only(left: 8.w),
|
|
|
- child: GestureDetector(
|
|
|
- onTap: ()=> controller.onDeleteReference(),
|
|
|
+ Container(
|
|
|
+ margin: EdgeInsets.only(right: 2.w, left: 4.w),
|
|
|
child: Image(
|
|
|
- image: Assets.images.iconReferenceChatDeleteFile.provider(),
|
|
|
- width: 18.w,
|
|
|
- height: 18.w),
|
|
|
+ image: Assets.images.iconReferenceChatFile.provider(),
|
|
|
+ width: 16.w,
|
|
|
+ height: 16.w),
|
|
|
),
|
|
|
- ),
|
|
|
- ],
|
|
|
+ Text(talkInfo.title ?? '',
|
|
|
+ overflow: TextOverflow.ellipsis,
|
|
|
+ maxLines: 1,
|
|
|
+ style: TextStyle(
|
|
|
+ fontSize: 12.w,
|
|
|
+ color: ColorName.primaryTextColor,
|
|
|
+ overflow: TextOverflow.ellipsis)),
|
|
|
+ const Spacer(),
|
|
|
+ Container(
|
|
|
+ margin: EdgeInsets.only(left: 8.w),
|
|
|
+ color: "#F6F6F6".color,
|
|
|
+ child: GestureDetector(
|
|
|
+ onTap: () => controller.onDeleteReference(),
|
|
|
+ child: Image(
|
|
|
+ image: Assets.images.iconReferenceChatDeleteFile.provider(),
|
|
|
+ width: 18.w,
|
|
|
+ height: 18.w),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ ],
|
|
|
+ ),
|
|
|
);
|
|
|
}
|
|
|
|