|
@@ -19,14 +19,14 @@ class _LoginPageState extends State<LoginPage> {
|
|
Image.asset("assets/images/bg.png"),
|
|
Image.asset("assets/images/bg.png"),
|
|
Column(
|
|
Column(
|
|
children: [
|
|
children: [
|
|
- Text("用户名:"),
|
|
|
|
|
|
+ const Text("用户名:"),
|
|
|
|
+ const TextField(),
|
|
|
|
+ const Text("密码:"),
|
|
TextField(),
|
|
TextField(),
|
|
- Text("密码:"),
|
|
|
|
- TextField(),
|
|
|
|
- TextButton(onPressed: login, child: Text("登录")),
|
|
|
|
- TextButton(onPressed: register, child: Text("注册")),
|
|
|
|
- TextButton(onPressed: withoutLogin, child: Text("游客")),
|
|
|
|
- TextButton(onPressed: back, child: Text("返回")),
|
|
|
|
|
|
+ TextButton(onPressed: login, child: const Text("登录")),
|
|
|
|
+ TextButton(onPressed: register, child: const Text("注册")),
|
|
|
|
+ TextButton(onPressed: withoutLogin, child: const Text("游客")),
|
|
|
|
+ TextButton(onPressed: back, child: const Text("返回")),
|
|
],
|
|
],
|
|
)
|
|
)
|
|
],
|
|
],
|