修改圈子描述大小、缘分匹配开通VIP弹窗提示、缘分匹配聊天页面卡片高度自适配

This commit is contained in:
CYH 2023-08-10 15:19:16 +03:00
parent b3e43fd187
commit 7bcf0dbefe
3 changed files with 18 additions and 15 deletions

View File

@ -414,10 +414,10 @@ class _TIMUIKItHistoryMessageListItemState
image: AssetImage(
getCircleImage('pic_bg'),
))),
constraints: BoxConstraints(
maxHeight: 175.sp,
minHeight: 135.sp
),
// constraints: BoxConstraints(
// maxHeight: (info.containsKey('city')) && (info.containsKey('both_interests')) ? 175.sp : 155.sp,
// minHeight: 105.sp
// ),
child: Column(
children: [
Container(
@ -463,10 +463,10 @@ class _TIMUIKItHistoryMessageListItemState
borderRadius: BorderRadius.circular(1.5),
color: Color(0xFF00FFF4)),
),
Container(
width:Get.width - 80.sp,
Expanded(
child: Container(
child: Text(
info['both_interests'],
info['both_interests'] + info['both_interests'] + info['both_interests'],
style: TextStyle(
color: Colors.white,
fontSize: 14.sp,
@ -474,6 +474,7 @@ class _TIMUIKItHistoryMessageListItemState
overflow: TextOverflow.ellipsis,
maxLines: 1,
),
),
)
],
),

View File

@ -128,6 +128,7 @@ class CircleLogic extends GetxController {
await sendTextMsg(data['data']['account_id']);
}
} else if(data['code'] == 21201){
showOKToast(data['msg']);
showRechargeDialog();
}else{
showOKToast(data['msg']);

View File

@ -262,7 +262,7 @@ class InfoListViewState extends State<InfoListView> with AutomaticKeepAliveClien
margin: EdgeInsets.only(bottom: 7.sp),
width: Get.width,
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(
context, widget.bean.intro);
},
@ -366,6 +366,7 @@ class InfoListViewState extends State<InfoListView> with AutomaticKeepAliveClien
widget.bean.image,
width: 40.sp,
height: 40.sp,
fit:BoxFit.cover
),
),
),