55 lines
1.7 KiB
Dart
55 lines
1.7 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
import 'package:recording_tool/app/router/app_navigator.dart';
|
|
import 'package:recording_tool/features/scan_qrcode/pages/page_scan_qrcode.dart';
|
|
import 'package:recording_tool/shared/widgets/widgets.dart';
|
|
|
|
class AuthPageWidget extends StatefulWidget {
|
|
const AuthPageWidget({super.key});
|
|
|
|
@override
|
|
State<AuthPageWidget> createState() => _AuthPageWidgetState();
|
|
}
|
|
|
|
class _AuthPageWidgetState extends State<AuthPageWidget> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Center(
|
|
child: Column(
|
|
children: [
|
|
SizedBox(height: 180.h),
|
|
Text('裁判工作台', style: TextStyle(fontSize: 50, color: Colors.black)),
|
|
SizedBox(height: 20.h),
|
|
Text('输入执裁口令', style: TextStyle(fontSize: 30, color: Colors.black)),
|
|
SizedBox(height: 20.h),
|
|
|
|
SizedBox(
|
|
width: 280.w,
|
|
height: 80.h,
|
|
child: AppTextField(initialValue: 'hhh'),
|
|
),
|
|
SizedBox(height: 20.h),
|
|
SizedBox(
|
|
width: 280.w,
|
|
height: 80.h,
|
|
child: AppButton(
|
|
label: '确定',
|
|
onPressed: () {
|
|
AppNavigator.push(const ScanQrCodePage());
|
|
// return;
|
|
// AppNavigator.push(
|
|
// const WebviewPage(
|
|
// url:
|
|
// 'http://192.168.1.64:5173/#/pages/h5/score-entry?eventId=10237&scheduleId=113716750536806400&playerId=74300708945531007',
|
|
// ),
|
|
// );
|
|
},
|
|
variant: AppButtonVariant.secondary,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|