mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: login page
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -150,6 +150,7 @@ class _LoginPageState extends State<LoginPage> {
|
|||||||
|
|
||||||
Widget loginByCookie() {
|
Widget loginByCookie() {
|
||||||
return Column(
|
return Column(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 20),
|
const SizedBox(height: 20),
|
||||||
const Text('使用Cookie登录'),
|
const Text('使用Cookie登录'),
|
||||||
@@ -348,7 +349,10 @@ class _LoginPageState extends State<LoginPage> {
|
|||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
const SizedBox(width: 12),
|
const SizedBox(width: 12),
|
||||||
const Icon(Icons.phone),
|
Icon(
|
||||||
|
Icons.phone,
|
||||||
|
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||||
|
),
|
||||||
const SizedBox(width: 12),
|
const SizedBox(width: 12),
|
||||||
PopupMenuButton<Map<String, dynamic>>(
|
PopupMenuButton<Map<String, dynamic>>(
|
||||||
padding: EdgeInsets.zero,
|
padding: EdgeInsets.zero,
|
||||||
@@ -422,7 +426,7 @@ class _LoginPageState extends State<LoginPage> {
|
|||||||
child: TextField(
|
child: TextField(
|
||||||
controller: _loginPageCtr.smsCodeTextController,
|
controller: _loginPageCtr.smsCodeTextController,
|
||||||
decoration: const InputDecoration(
|
decoration: const InputDecoration(
|
||||||
prefixIcon: Icon(Icons.sms),
|
prefixIcon: Icon(Icons.sms_outlined),
|
||||||
border: InputBorder.none,
|
border: InputBorder.none,
|
||||||
labelText: '验证码',
|
labelText: '验证码',
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user