默认选中年会员和查看资料的问题

This commit is contained in:
YangYuhao 2023-08-10 16:43:23 +08:00
parent 9679520dd3
commit d8cc691814
6 changed files with 21 additions and 15 deletions

View File

@ -790,7 +790,7 @@ class _TIMTextFieldLayoutNarrowState
Get.bottomSheet( Get.bottomSheet(
Scaffold( Scaffold(
backgroundColor: Colors.transparent, backgroundColor: Colors.transparent,
body: Open_vip_tipPage(false), body: Open_vip_tipPage(true),
), ),
isScrollControlled: true, isScrollControlled: true,
enableDrag: false); enableDrag: false);

View File

@ -139,7 +139,7 @@ class CircleLogic extends GetxController {
Get.bottomSheet( Get.bottomSheet(
Scaffold( Scaffold(
backgroundColor: Colors.transparent, backgroundColor: Colors.transparent,
body: Open_vip_tipPage(false), body: Open_vip_tipPage(true),
), ),
isScrollControlled: true, isScrollControlled: true,
enableDrag: false); enableDrag: false);

View File

@ -218,16 +218,20 @@ class InfoListViewState extends State<InfoListView> with AutomaticKeepAliveClien
List<JoinUser> urlList = widget.bean.lastJoinUsers; List<JoinUser> urlList = widget.bean.lastJoinUsers;
List<Widget> widgets = []; List<Widget> widgets = [];
int i = 0; int i = 0;
// print(urlList);
if(null!=urlList){
urlList.forEach((element) { urlList.forEach((element) {
if(widgets.length>2){ if(widgets.length>2){
return; return;
} }
widgets.add(Positioned( widgets.add(Positioned(
left: 15.sp * i, left: 15.sp * i,
child: circleWidget(element.avatar,element.id.toString()), child: circleWidget(element.avatar??"https://qiniuyun.leyuan666.com/quanzi/avatar/default.png",element.id.toString()),
)); ));
i++; i++;
}); });
}
return ClipRRect( return ClipRRect(
borderRadius: BorderRadius.circular(10.sp), borderRadius: BorderRadius.circular(10.sp),
@ -1173,7 +1177,7 @@ class InfoListViewState extends State<InfoListView> with AutomaticKeepAliveClien
), ),
ClipOval( ClipOval(
child: Image.network( child: Image.network(
url, url??"https://qiniuyun.leyuan666.com/quanzi/avatar/default.png",
width: (width - 1).sp, width: (width - 1).sp,
height: (width - 1).sp, height: (width - 1).sp,
fit: BoxFit.cover, fit: BoxFit.cover,

View File

@ -544,7 +544,7 @@ class MinefragmentPage extends StatelessWidget {
Get.bottomSheet( Get.bottomSheet(
Scaffold( Scaffold(
backgroundColor: Colors.transparent, backgroundColor: Colors.transparent,
body: Open_vip_tipPage(false), body: Open_vip_tipPage(true),
), ),
isScrollControlled: true, isScrollControlled: true,
enableDrag: false); enableDrag: false);

View File

@ -107,7 +107,7 @@ class PrivacyPage extends StatelessWidget {
Get.bottomSheet( Get.bottomSheet(
Scaffold( Scaffold(
backgroundColor: Colors.transparent, backgroundColor: Colors.transparent,
body: Open_vip_tipPage(false), body: Open_vip_tipPage(true),
), ),
isScrollControlled: true, isScrollControlled: true,
enableDrag: false); enableDrag: false);

View File

@ -60,6 +60,8 @@ class UserinfoLogic extends GetxController {
state.imaglist.clear(); state.imaglist.clear();
if (userId.isEmpty) { if (userId.isEmpty) {
isMe =true;
update();
fetchUserInfo(Api.getUserInfo); fetchUserInfo(Api.getUserInfo);
fetchMyAlbum(Api.getMyAlbum); fetchMyAlbum(Api.getMyAlbum);
} else { } else {