|
|
@@ -38,7 +38,7 @@ class ReplyModeSelectPopup {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- double popupWidth = 145.w;
|
|
|
+ double popupWidth = 128.w;
|
|
|
|
|
|
SmartDialog.showAttach(
|
|
|
// 绑定唯一tag
|
|
|
@@ -52,7 +52,9 @@ class ReplyModeSelectPopup {
|
|
|
// 动画类型
|
|
|
animationType: SmartAnimationType.fade,
|
|
|
// 是否允许事件穿透
|
|
|
- usePenetrate: true,
|
|
|
+ usePenetrate: false,
|
|
|
+ // 透明遮罩
|
|
|
+ maskColor: ColorName.transparent,
|
|
|
// 监听弹窗关闭
|
|
|
onDismiss: () {
|
|
|
_isShowing = false;
|
|
|
@@ -161,17 +163,19 @@ class ReplyModeSelectPopup {
|
|
|
child: Container(
|
|
|
width: 128.w,
|
|
|
margin: EdgeInsets.only(left: 6.w, right: 6.w, bottom: 10.h),
|
|
|
- padding: EdgeInsets.symmetric(vertical: 8.h, horizontal: 35.w),
|
|
|
+ padding: EdgeInsets.symmetric(vertical: 8.h),
|
|
|
decoration: BoxDecoration(
|
|
|
borderRadius: BorderRadius.circular(7.r),
|
|
|
color: isSelected ? ColorName.bgAiModelSelected : ColorName.white,
|
|
|
),
|
|
|
- child: Text(
|
|
|
- itemData,
|
|
|
- style: TextStyle(
|
|
|
- color: ColorName.black80,
|
|
|
- fontSize: 14.sp,
|
|
|
- fontWeight: isSelected ? FontWeight.w500 : FontWeight.w400,
|
|
|
+ child: Center(
|
|
|
+ child: Text(
|
|
|
+ itemData,
|
|
|
+ style: TextStyle(
|
|
|
+ color: ColorName.black80,
|
|
|
+ fontSize: 14.sp,
|
|
|
+ fontWeight: isSelected ? FontWeight.w500 : FontWeight.w400,
|
|
|
+ ),
|
|
|
),
|
|
|
),
|
|
|
),
|