提交 8241a923 编写于 作者: zhuxueliang's avatar zhuxueliang

dev

上级 2310294f
import 'package:flutter/material.dart';
class MineScreen extends StatelessWidget {
class MineScreen extends StatefulWidget {
const MineScreen({super.key});
@override
State<MineScreen> createState() => _MineScreen();
}
class _MineScreen extends State<MineScreen> {
List<Map> navs = [
{'url': '/', 'title': '', 'icon': ''}
];
@override
Widget build(BuildContext context) {
return Scaffold(
......@@ -42,9 +51,70 @@ class MineScreen extends StatelessWidget {
child: Image.network(
'https://static.preclight.com/uploads/2022-12-28/63abf8cf52957.jpg'),
),
)
),
const Padding(
padding: EdgeInsets.only(
left: 10), // apply padding to all four sides
child: Text(
'小模盒用户',
style: TextStyle(
color: Color(0xFF1A1A1A),
fontSize: 18,
fontWeight: FontWeight.w500),
)),
]),
),
Container(
margin: const EdgeInsets.only(top: 200, left: 14, right: 14),
padding: const EdgeInsets.fromLTRB(6, 20, 6, 20),
height: 200,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10),
color: Colors.white,
),
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,
),
),
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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册