This commit is contained in:
Developer
2026-03-31 23:31:38 +08:00
parent b081f09895
commit 2f785d6279
11 changed files with 549 additions and 94 deletions

View File

@@ -118,7 +118,7 @@ class _LoginRegisterDialogState extends State<LoginRegisterDialog> {
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
const Text(
'填写投票凭证',
'填写 投票凭证',
style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold),
),
IconButton(
@@ -127,7 +127,14 @@ class _LoginRegisterDialogState extends State<LoginRegisterDialog> {
),
],
),
const SizedBox(height: 20),
// const SizedBox(height: 8),
// 副标题
const Text(
'微信号或手机号或邮箱作为投票凭证,\n任何人都可以填写,限时开放投票,\n投票凭证仅用于投票,不会泄露隐私.\n结束后删除会所有凭证,仅保留投票结果',
style: TextStyle(fontSize: 14, color: Colors.grey),
textAlign: TextAlign.center,
),
const SizedBox(height: 2),
Form(
key: _formKey,
child: Column(
@@ -135,7 +142,7 @@ class _LoginRegisterDialogState extends State<LoginRegisterDialog> {
TextFormField(
controller: _usernameController,
decoration: const InputDecoration(
labelText: '投票凭证',
labelText: '点击填写',
hintText: '手机号/邮箱/微信号',
border: OutlineInputBorder(),
prefixIcon: Icon(Icons.person),