|
|
|
@ -81,10 +81,11 @@ class _ActivityPreviewPageState extends State<ActivityPreviewPage> {
|
|
|
|
|
child: Column(
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
children: [
|
|
|
|
|
rHBox(11),
|
|
|
|
|
ClipRRect(
|
|
|
|
|
borderRadius: BorderRadius.circular(rSize(4)),
|
|
|
|
|
child: Column(
|
|
|
|
|
children: [
|
|
|
|
|
Stack(
|
|
|
|
|
children: [
|
|
|
|
|
Material(
|
|
|
|
|
color: AppColor.frenchColor,
|
|
|
|
@ -94,17 +95,36 @@ class _ActivityPreviewPageState extends State<ActivityPreviewPage> {
|
|
|
|
|
image: Api.getImgUrl(
|
|
|
|
|
widget.model.goods.mainPhotoURL,
|
|
|
|
|
),
|
|
|
|
|
width: rSize(100),
|
|
|
|
|
height: rSize(100),
|
|
|
|
|
width: rSize(110),
|
|
|
|
|
height: rSize(110),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Positioned(
|
|
|
|
|
bottom: 0,
|
|
|
|
|
left: 0,
|
|
|
|
|
right: 0,
|
|
|
|
|
child: Container(
|
|
|
|
|
color: Colors.black.withOpacity(0.4),
|
|
|
|
|
alignment: Alignment.center,
|
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
|
horizontal: rSize(8)),
|
|
|
|
|
child: Text(
|
|
|
|
|
widget.model.goods.name,
|
|
|
|
|
maxLines: 1,
|
|
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
rHBox(3),
|
|
|
|
|
Row(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
children: [
|
|
|
|
|
rWBox(5),
|
|
|
|
|
Text(
|
|
|
|
|
'¥',
|
|
|
|
|
style: TextStyle(
|
|
|
|
@ -141,6 +161,8 @@ class _ActivityPreviewPageState extends State<ActivityPreviewPage> {
|
|
|
|
|
// rWBox(22),
|
|
|
|
|
rWBox(15),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Container(
|
|
|
|
|
height: rSize(130),
|
|
|
|
|
child: ExtendedText.rich(
|
|
|
|
|
TextSpan(
|
|
|
|
|
children: [
|
|
|
|
@ -173,8 +195,12 @@ class _ActivityPreviewPageState extends State<ActivityPreviewPage> {
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
maxLines: 5,
|
|
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
rWBox(15),
|
|
|
|
|
Column(
|
|
|
|
|
children: [
|
|
|
|
|
CustomImageButton(
|
|
|
|
|