修改圈子描述大小、缘分匹配开通VIP弹窗提示、缘分匹配聊天页面卡片高度自适配
This commit is contained in:
parent
b3e43fd187
commit
7bcf0dbefe
@ -414,10 +414,10 @@ class _TIMUIKItHistoryMessageListItemState
|
|||||||
image: AssetImage(
|
image: AssetImage(
|
||||||
getCircleImage('pic_bg'),
|
getCircleImage('pic_bg'),
|
||||||
))),
|
))),
|
||||||
constraints: BoxConstraints(
|
// constraints: BoxConstraints(
|
||||||
maxHeight: 175.sp,
|
// maxHeight: (info.containsKey('city')) && (info.containsKey('both_interests')) ? 175.sp : 155.sp,
|
||||||
minHeight: 135.sp
|
// minHeight: 105.sp
|
||||||
),
|
// ),
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
Container(
|
Container(
|
||||||
@ -463,16 +463,17 @@ class _TIMUIKItHistoryMessageListItemState
|
|||||||
borderRadius: BorderRadius.circular(1.5),
|
borderRadius: BorderRadius.circular(1.5),
|
||||||
color: Color(0xFF00FFF4)),
|
color: Color(0xFF00FFF4)),
|
||||||
),
|
),
|
||||||
Container(
|
Expanded(
|
||||||
width:Get.width - 80.sp,
|
child: Container(
|
||||||
child: Text(
|
child: Text(
|
||||||
info['both_interests'],
|
info['both_interests'] + info['both_interests'] + info['both_interests'],
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
fontSize: 14.sp,
|
fontSize: 14.sp,
|
||||||
fontWeight: FontWeight.w500,),
|
fontWeight: FontWeight.w500,),
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
|||||||
@ -128,6 +128,7 @@ class CircleLogic extends GetxController {
|
|||||||
await sendTextMsg(data['data']['account_id']);
|
await sendTextMsg(data['data']['account_id']);
|
||||||
}
|
}
|
||||||
} else if(data['code'] == 21201){
|
} else if(data['code'] == 21201){
|
||||||
|
showOKToast(data['msg']);
|
||||||
showRechargeDialog();
|
showRechargeDialog();
|
||||||
}else{
|
}else{
|
||||||
showOKToast(data['msg']);
|
showOKToast(data['msg']);
|
||||||
|
|||||||
@ -262,7 +262,7 @@ class InfoListViewState extends State<InfoListView> with AutomaticKeepAliveClien
|
|||||||
margin: EdgeInsets.only(bottom: 7.sp),
|
margin: EdgeInsets.only(bottom: 7.sp),
|
||||||
width: Get.width,
|
width: Get.width,
|
||||||
height: 30.sp,
|
height: 30.sp,
|
||||||
child: HideText(text: widget.bean.intro,additionText: '查看更多',maxLines: 1,style: TextStyle(color: Colors.white, fontSize: 10.sp),additionStyle: TextStyle(color: const Color(0xFFFF4DF6), fontSize: 10.sp),onTap: () {
|
child: HideText(text: widget.bean.intro,additionText: '查看更多',maxLines: 1,style: TextStyle(color: Colors.white, fontSize: 14.sp),additionStyle: TextStyle(color: const Color(0xFFFF4DF6), fontSize: 14.sp),onTap: () {
|
||||||
_showTextContentDialog(
|
_showTextContentDialog(
|
||||||
context, widget.bean.intro);
|
context, widget.bean.intro);
|
||||||
},
|
},
|
||||||
@ -366,6 +366,7 @@ class InfoListViewState extends State<InfoListView> with AutomaticKeepAliveClien
|
|||||||
widget.bean.image,
|
widget.bean.image,
|
||||||
width: 40.sp,
|
width: 40.sp,
|
||||||
height: 40.sp,
|
height: 40.sp,
|
||||||
|
fit:BoxFit.cover
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user