提交 07f35a6a 编写于 作者: zhuxueliang's avatar zhuxueliang

dev

上级 8241a923
...@@ -9,7 +9,8 @@ class MineScreen extends StatefulWidget { ...@@ -9,7 +9,8 @@ class MineScreen extends StatefulWidget {
class _MineScreen extends State<MineScreen> { class _MineScreen extends State<MineScreen> {
List<Map> navs = [ List<Map> navs = [
{'url': '/', 'title': '', 'icon': ''} {'url': '/', 'title': '收货地址', 'icon': 'assets/mine/i02.png'},
{'url': '/', 'title': '收货地址', 'icon': 'assets/mine/i02.png'}
]; ];
@override @override
...@@ -74,44 +75,45 @@ class _MineScreen extends State<MineScreen> { ...@@ -74,44 +75,45 @@ class _MineScreen extends State<MineScreen> {
), ),
child: Column( child: Column(
children: [ children: [
Container( for (int i = 0; i < navs.length; i++)
height: 50, Container(
margin: const EdgeInsets.fromLTRB(15, 0, 15, 0), height: 50,
decoration: const BoxDecoration( margin: const EdgeInsets.fromLTRB(15, 0, 15, 0),
border: Border( decoration: const BoxDecoration(
bottom: BorderSide( border: Border(
width: 1, color: Color(0xF4F4F4FF)))), bottom: BorderSide(
child: Row( width: 1, color: Color(0xF4F4F4FF)))),
crossAxisAlignment: CrossAxisAlignment.center, child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween, crossAxisAlignment: CrossAxisAlignment.center,
children: [ mainAxisAlignment: MainAxisAlignment.spaceBetween,
Row( children: [
children: const [ Row(
Padding( children: const [
padding: EdgeInsets.only(right: 6), Padding(
child: Image( padding: EdgeInsets.only(right: 6),
image: AssetImage('assets/mine/i02.png'), child: Image(
width: 22, image: AssetImage('assets/mine/i02.png'),
height: 22, width: 22,
height: 22,
),
), ),
), Text(
Text( '收货地址',
'收货地址', style: TextStyle(
style: TextStyle( color: Color(0xFF1A1A1A),
color: Color(0xFF1A1A1A), fontSize: 14,
fontSize: 14, fontWeight: FontWeight.w400),
fontWeight: FontWeight.w400), )
) ],
], ),
), const Image(
const Image( image: AssetImage('assets/mine/i05.png'),
image: AssetImage('assets/mine/i05.png'), width: 16,
width: 16, height: 16,
height: 16, ),
), ],
], ),
), ),
),
], ],
), ),
) )
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册