小细节 和增加圈子介绍的行数 还有弹窗加title
This commit is contained in:
parent
2f7876fae9
commit
9679520dd3
@ -30,7 +30,7 @@ class AboutappPage extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
backgroundColor: Colors.transparent,
|
backgroundColor: Colors.transparent,
|
||||||
appBar: const MyAppBar(centerTitle: '关于圈子',),
|
appBar: const MyAppBar(centerTitle: '关于微乐园',),
|
||||||
body: Scaffold(
|
body: Scaffold(
|
||||||
backgroundColor: Colors.transparent,
|
backgroundColor: Colors.transparent,
|
||||||
// Replace with your desired color
|
// Replace with your desired color
|
||||||
@ -61,7 +61,7 @@ class AboutappPage extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
SizedBox(height: 10.sp),
|
SizedBox(height: 10.sp),
|
||||||
Text(
|
Text(
|
||||||
'圈子',
|
'微乐园',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: const Color(0xFFF7FAFA),
|
color: const Color(0xFFF7FAFA),
|
||||||
fontSize: 16.sp,
|
fontSize: 16.sp,
|
||||||
|
|||||||
@ -271,7 +271,7 @@ class InfoListViewState extends State<InfoListView> with AutomaticKeepAliveClien
|
|||||||
return Container(
|
return Container(
|
||||||
padding: EdgeInsets.only(
|
padding: EdgeInsets.only(
|
||||||
left: 12.sp, right: 12.sp),
|
left: 12.sp, right: 12.sp),
|
||||||
height:urlList.length==0?47.sp: 88.sp,
|
height:urlList.length==0?47.sp: 108.sp,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
image: DecorationImage(
|
image: DecorationImage(
|
||||||
fit: BoxFit.fill,
|
fit: BoxFit.fill,
|
||||||
@ -284,10 +284,10 @@ class InfoListViewState extends State<InfoListView> with AutomaticKeepAliveClien
|
|||||||
Container(
|
Container(
|
||||||
margin: EdgeInsets.only(bottom: 7.sp),
|
margin: EdgeInsets.only(bottom: 7.sp),
|
||||||
width: Get.width,
|
width: Get.width,
|
||||||
height: 30.sp,
|
height: 50.sp,
|
||||||
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: () {
|
child: HideText(text: widget.bean.intro,additionText: '查看更多',maxLines: 3,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,widget.bean.title);
|
||||||
},
|
},
|
||||||
)),
|
)),
|
||||||
|
|
||||||
@ -471,7 +471,7 @@ class InfoListViewState extends State<InfoListView> with AutomaticKeepAliveClien
|
|||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
|
|
||||||
void _showTextContentDialog(BuildContext context, String msg) {
|
void _showTextContentDialog(BuildContext context, String msg,String title) {
|
||||||
showDialog(
|
showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
@ -506,6 +506,12 @@ class InfoListViewState extends State<InfoListView> with AutomaticKeepAliveClien
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Positioned(
|
||||||
|
top: 15,
|
||||||
|
left: 0,
|
||||||
|
right: 0,
|
||||||
|
child: Center(child: Text(title, style: TextStyle(
|
||||||
|
color: const Color(0xFFF7FAFA), fontSize: 16.sp)),)),
|
||||||
Container(
|
Container(
|
||||||
margin: EdgeInsets.only(top: 24.sp,bottom: 24.sp),
|
margin: EdgeInsets.only(top: 24.sp,bottom: 24.sp),
|
||||||
child: Container(
|
child: Container(
|
||||||
|
|||||||
@ -438,7 +438,7 @@ class MinefragmentPage extends StatelessWidget {
|
|||||||
onTap: () {
|
onTap: () {
|
||||||
if(logic.userInfoBean!=null){
|
if(logic.userInfoBean!=null){
|
||||||
var imgList = <String>[];
|
var imgList = <String>[];
|
||||||
imgList.add(logic.userInfoBean!.avatar);
|
imgList.add(logic.userInfoBean!.avatarThumb);
|
||||||
// Get.toNamed(AppRoutes.Swiper,arguments:imgList);
|
// Get.toNamed(AppRoutes.Swiper,arguments:imgList);
|
||||||
Get.toNamed(AppRoutes.Swiper, arguments: {
|
Get.toNamed(AppRoutes.Swiper, arguments: {
|
||||||
'imaglist': imgList,
|
'imaglist': imgList,
|
||||||
|
|||||||
@ -117,7 +117,7 @@ class SetupPage extends StatelessWidget {
|
|||||||
onTap: () {
|
onTap: () {
|
||||||
Get.toNamed(AppRoutes.AboutAppActivity);
|
Get.toNamed(AppRoutes.AboutAppActivity);
|
||||||
},
|
},
|
||||||
child: _buildItemRow('关于圈子', getHomeImage("icon_in")),
|
child: _buildItemRow('关于微乐园', getHomeImage("icon_in")),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user