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