|
|
@@ -52,27 +52,34 @@ class ScanImageReplyView extends BaseView<ScanImageReplyController> {
|
|
|
contentWidget: Column(
|
|
|
children: [
|
|
|
Container(
|
|
|
+ width: 312.w,
|
|
|
+ height: 314.h,
|
|
|
margin: EdgeInsets.only(left: 12.w, top: 17.h, right: 12.w),
|
|
|
- padding: EdgeInsets.only(
|
|
|
- left: 12.w,
|
|
|
- top: 12.h,
|
|
|
- right: 12.w,
|
|
|
- bottom: 12.h,
|
|
|
- ),
|
|
|
+ padding: EdgeInsets.all(12.w),
|
|
|
decoration: BoxDecoration(
|
|
|
color: ColorName.white,
|
|
|
borderRadius: BorderRadius.circular(16.r),
|
|
|
),
|
|
|
child: Stack(
|
|
|
children: [
|
|
|
- Assets.images.iconUploadScreenshotSampleImage.image(
|
|
|
- width: 288.w,
|
|
|
- height: 290.h,
|
|
|
- // fit: BoxFit.cover,
|
|
|
+ Positioned.fill(
|
|
|
+ child: Container(
|
|
|
+ padding: EdgeInsets.all(12.w),
|
|
|
+ child: ClipRRect(
|
|
|
+ // 图片裁切成圆角
|
|
|
+ borderRadius: BorderRadius.circular(16.r),
|
|
|
+ child: Assets.images.iconUploadScreenshotSampleImage
|
|
|
+ .image(
|
|
|
+ width: 288.w,
|
|
|
+ height: 290.h,
|
|
|
+ fit: BoxFit.cover,
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
),
|
|
|
Positioned(
|
|
|
- right: 12.w,
|
|
|
- bottom: 12.w,
|
|
|
+ right: 0,
|
|
|
+ bottom: 0,
|
|
|
child: Container(
|
|
|
padding: EdgeInsets.all(6.w),
|
|
|
decoration: BoxDecoration(
|