|
|
@@ -36,40 +36,43 @@ class AddFriendPage extends BaseView<AddFriendDialogController> {
|
|
|
}
|
|
|
|
|
|
Widget _addFriendView() {
|
|
|
- return IntrinsicHeight(
|
|
|
- child: Container(
|
|
|
- decoration: BoxDecoration(
|
|
|
- color: '#FDFCFE'.color,
|
|
|
- borderRadius: BorderRadius.only(
|
|
|
- topLeft: Radius.circular(16.w),
|
|
|
- topRight: Radius.circular(16.w),
|
|
|
- ),
|
|
|
- ),
|
|
|
- child: Stack(
|
|
|
- children: [
|
|
|
- Positioned(
|
|
|
- top: 0,
|
|
|
- child: Assets.images.bgAddFriendDialog.image(width: 1.sw),
|
|
|
+ return GestureDetector(
|
|
|
+ onTap: () => FocusScope.of(Get.context!).unfocus(),
|
|
|
+ child: IntrinsicHeight(
|
|
|
+ child: Container(
|
|
|
+ decoration: BoxDecoration(
|
|
|
+ color: '#FDFCFE'.color,
|
|
|
+ borderRadius: BorderRadius.only(
|
|
|
+ topLeft: Radius.circular(16.w),
|
|
|
+ topRight: Radius.circular(16.w),
|
|
|
),
|
|
|
- _buildClose(),
|
|
|
- Column(
|
|
|
- crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
- children: [
|
|
|
- SizedBox(height: 19.h),
|
|
|
- _buildAddHeader(),
|
|
|
- SizedBox(height: 18.h),
|
|
|
- _buildPhone(),
|
|
|
- SizedBox(height: 16.h),
|
|
|
- _buildShareWx(),
|
|
|
- SizedBox(height: 20.h),
|
|
|
- Center(
|
|
|
- child: Text(StringName.friendAddRule,
|
|
|
- style: TextStyle(
|
|
|
- fontSize: 12.sp, color: '#A7A7A7'.color))),
|
|
|
- SizedBox(height: 30.h),
|
|
|
- ],
|
|
|
- )
|
|
|
- ],
|
|
|
+ ),
|
|
|
+ child: Stack(
|
|
|
+ children: [
|
|
|
+ Positioned(
|
|
|
+ top: 0,
|
|
|
+ child: Assets.images.bgAddFriendDialog.image(width: 1.sw),
|
|
|
+ ),
|
|
|
+ _buildClose(),
|
|
|
+ Column(
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
+ children: [
|
|
|
+ SizedBox(height: 19.h),
|
|
|
+ _buildAddHeader(),
|
|
|
+ SizedBox(height: 18.h),
|
|
|
+ _buildPhone(),
|
|
|
+ SizedBox(height: 16.h),
|
|
|
+ _buildShareWx(),
|
|
|
+ SizedBox(height: 20.h),
|
|
|
+ Center(
|
|
|
+ child: Text(StringName.friendAddRule,
|
|
|
+ style: TextStyle(
|
|
|
+ fontSize: 12.sp, color: '#A7A7A7'.color))),
|
|
|
+ SizedBox(height: 30.h),
|
|
|
+ ],
|
|
|
+ )
|
|
|
+ ],
|
|
|
+ ),
|
|
|
),
|
|
|
),
|
|
|
);
|