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

dev

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