更新商品悬浮大小

master
章文轩 2 years ago
parent 6a1b751854
commit 634aa29577

@ -572,11 +572,11 @@ class _ChatKFPageState extends State<ChatKFPage>
showGood? Positioned(
top: 0,
child:Container(
width: 300,
margin: EdgeInsets.all(10),
width: MediaQuery.of(context).size.width,
padding: EdgeInsets.symmetric(vertical: 10),
decoration: BoxDecoration(
color: Color(0xFFe5f9ff).withOpacity(0.8),
color: Color(0xFFe5f9ff),
borderRadius: BorderRadius.all(Radius.circular(5)),
),
child: Row(

@ -253,15 +253,15 @@ class MessageWidget extends StatelessWidget {
overflow: TextOverflow.ellipsis,
),
),
Container(
margin: EdgeInsets.only(top: 10, left: 8),
child: Text(
'$content',
style: TextStyle(fontSize: 12, color: Colors.grey),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
)
// Container(
// margin: EdgeInsets.only(top: 10, left: 8),
// child: Text(
// '$content',
// style: TextStyle(fontSize: 12, color: Colors.grey),
// maxLines: 1,
// overflow: TextOverflow.ellipsis,
// ),
// )
// Gaps.vGap4,
],
),
@ -689,15 +689,15 @@ class MessageWidget extends StatelessWidget {
overflow: TextOverflow.ellipsis,
),
),
Container(
margin: EdgeInsets.only(top: 10, left: 8),
child: Text(
'$content',
style: TextStyle(fontSize: 12, color: Colors.grey),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
)
// Container(
// margin: EdgeInsets.only(top: 10, left: 8),
// child: Text(
// '$content',
// style: TextStyle(fontSize: 12, color: Colors.grey),
// maxLines: 1,
// overflow: TextOverflow.ellipsis,
// ),
// )
// Gaps.vGap4,
],
),

Loading…
Cancel
Save