修改圈子描述大小、缘分匹配开通VIP弹窗提示、缘分匹配聊天页面卡片高度自适配
This commit is contained in:
parent
b3e43fd187
commit
7bcf0dbefe
@ -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,16 +463,17 @@ class _TIMUIKItHistoryMessageListItemState
|
||||
borderRadius: BorderRadius.circular(1.5),
|
||||
color: Color(0xFF00FFF4)),
|
||||
),
|
||||
Container(
|
||||
width:Get.width - 80.sp,
|
||||
child: Text(
|
||||
info['both_interests'],
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 14.sp,
|
||||
fontWeight: FontWeight.w500,),
|
||||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 1,
|
||||
Expanded(
|
||||
child: Container(
|
||||
child: Text(
|
||||
info['both_interests'] + info['both_interests'] + info['both_interests'],
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 14.sp,
|
||||
fontWeight: FontWeight.w500,),
|
||||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 1,
|
||||
),
|
||||
),
|
||||
)
|
||||
],
|
||||
|
||||
@ -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']);
|
||||
|
||||
@ -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
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user