You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.9 KiB

import 'package:aku_new_community/base/base_style.dart';
import 'package:aku_new_community/widget/bee_scaffold.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:velocity_x/velocity_x.dart';
class LoginPage extends StatefulWidget {
const LoginPage({Key? key}) : super(key: key);
@override
_LoginPageState createState() => _LoginPageState();
}
class _LoginPageState extends State<LoginPage> {
@override
Widget build(BuildContext context) {
return BeeScaffold(
body: Column(
children: [
'登录解锁更多功能'.text.size(36.sp).color(ktextPrimary).bold.make(),
144.w.heightBox,
Column(
children: [
'${'154793018'}'.text.size(36.sp).color(ktextPrimary).bold.make(),
40.w.heightBox,
MaterialButton(
onPressed: () {},
elevation: 0,
height: 45.w,
minWidth: 256.w,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(60.w)),
child: '本机号码一键登录'.text.size(32.sp).black.bold.make(),
)
],
),
Spacer(),
RichText(
text: TextSpan(
style: TextStyle(
fontSize: 24.sp,
color: ktextSubColor,
),
text: '注册/登记即代表同意',
children: [
WidgetSpan(
child: InkWell(
onTap: () {
//TODO:跳转隐私政策
},
child: '《小蜜蜂隐私政策及用户协议》'
.text
.size(24.sp)
.color(Color(0xFF5096F1))
.make(),
)),
])),
],
),
);
}
}