|
|
|
@ -183,34 +183,25 @@ class _PointsMallPage extends State<PointsMallPage>
|
|
|
|
|
alignment: Alignment.centerLeft, |
|
|
|
|
child: DefaultTabController( |
|
|
|
|
length: 4, |
|
|
|
|
child:Stack( |
|
|
|
|
children: [ |
|
|
|
|
Padding(padding: EdgeInsets.only(top: 39),child:Divider( |
|
|
|
|
// indent: 0.0, |
|
|
|
|
thickness:1.5, |
|
|
|
|
color: Color(0xffE6E6E6), |
|
|
|
|
)), |
|
|
|
|
TabBar( |
|
|
|
|
child: TabBar( |
|
|
|
|
isScrollable: true, //可滚动 |
|
|
|
|
indicatorColor: Color(0xff39B54A), |
|
|
|
|
labelColor: Color(0xff32A060), |
|
|
|
|
labelStyle: TextStyle(fontSize: 14), |
|
|
|
|
labelStyle: TextStyle(fontSize: 14,fontWeight: FontWeight.bold), |
|
|
|
|
unselectedLabelStyle: TextStyle( |
|
|
|
|
fontSize: 14, |
|
|
|
|
fontWeight: FontWeight.normal, |
|
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
|
), |
|
|
|
|
// controller: tabController, |
|
|
|
|
//未选中文字颜色 |
|
|
|
|
unselectedLabelColor: Color(0xff262626), |
|
|
|
|
unselectedLabelColor: Color(0xff4D4D4D), |
|
|
|
|
indicatorSize: TabBarIndicatorSize.label, |
|
|
|
|
//指示器与文字等宽 |
|
|
|
|
tabs: <Widget>[ |
|
|
|
|
Tab(text: "全部"), |
|
|
|
|
Tab(text: "饮食"), |
|
|
|
|
Tab(text: "生活娱乐"), |
|
|
|
|
Tab(text: "办公"), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
Tab(text: S.current.quanbu), |
|
|
|
|
Tab(text: S.current.yinshi), |
|
|
|
|
Tab(text: S.current.shenghuoyule), |
|
|
|
|
Tab(text: S.current.bangong), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -320,7 +311,7 @@ class _PointsMallPage extends State<PointsMallPage>
|
|
|
|
|
), |
|
|
|
|
Container( |
|
|
|
|
margin: |
|
|
|
|
EdgeInsets.only(left: 12.w, right: 12.w, bottom: 10.h, top: 10.h), |
|
|
|
|
EdgeInsets.only(left: 12.w, right: 12.w, top: 10.h), |
|
|
|
|
child: Column( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
@ -329,8 +320,8 @@ class _PointsMallPage extends State<PointsMallPage>
|
|
|
|
|
goods.name, |
|
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Colors.black, |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
color: Color(0xff353535), |
|
|
|
|
fontWeight: FontWeight.w600, |
|
|
|
|
fontSize: 16.sp, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -338,7 +329,7 @@ class _PointsMallPage extends State<PointsMallPage>
|
|
|
|
|
height: 8.h, |
|
|
|
|
), |
|
|
|
|
Container( |
|
|
|
|
height: 34.h, |
|
|
|
|
height: 30.h, |
|
|
|
|
child: Text( |
|
|
|
|
goods.description, |
|
|
|
|
maxLines: 2, |
|
|
|
@ -474,6 +465,7 @@ class _PointsMallPage extends State<PointsMallPage>
|
|
|
|
|
), |
|
|
|
|
Container( |
|
|
|
|
margin: EdgeInsets.only(left: 15), |
|
|
|
|
height: 50.h, |
|
|
|
|
child: Column( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.end, |
|
|
|
|