diff --git a/assets/images/huawei.png b/assets/images/huawei.png new file mode 100644 index 00000000..db453a2c Binary files /dev/null and b/assets/images/huawei.png differ diff --git a/lib/features/auth/presentation/pages/login_page.dart b/lib/features/auth/presentation/pages/login_page.dart index 2a9316ad..cb6c385a 100644 --- a/lib/features/auth/presentation/pages/login_page.dart +++ b/lib/features/auth/presentation/pages/login_page.dart @@ -50,7 +50,36 @@ class _LoginPageState extends State { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - const SizedBox(height: 40), + const SizedBox(height: 15), + + // 顶部居中图片和认证信息 + Center( + child: Column( + children: [ + Image.asset( + 'assets/images/huawei.png', + width: 80, + height: 80, + fit: BoxFit.contain, + ), + const SizedBox(height: 8), + Padding( + padding: const EdgeInsets.symmetric(horizontal: 20.0), + child: Text( + "通过华为云生态技术认证,请放心使用,证书编号C202605301", + textAlign: TextAlign.center, + style: TextStyle( + fontSize: 11, + color: Colors.grey.shade600, + height: 1.4, + ), + ), + ), + ], + ), + ), + + const SizedBox(height: 20), const Text( "账号登录", style: TextStyle(fontSize: 28, fontWeight: FontWeight.bold, color: Colors.black), @@ -149,7 +178,7 @@ class _LoginPageState extends State { ), ), - const SizedBox(height: 20), + const SizedBox(height: 15),