feat: 静态页面开发完成
This commit is contained in:
@@ -66,7 +66,7 @@ class _EmployeePageState extends ConsumerState<EmployeePage> {
|
||||
const SizedBox(height: 20),
|
||||
Text(
|
||||
l10n.addEmployee,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: AppColors.textPrimary,
|
||||
@@ -208,7 +208,7 @@ class _EmployeePageState extends ConsumerState<EmployeePage> {
|
||||
const SizedBox(height: 20),
|
||||
Text(
|
||||
emp['name'],
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: AppColors.textPrimary,
|
||||
@@ -217,7 +217,7 @@ class _EmployeePageState extends ConsumerState<EmployeePage> {
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
'${emp['role']} | ${emp['phone']}',
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 14,
|
||||
color: AppColors.textSecondary,
|
||||
),
|
||||
@@ -319,7 +319,7 @@ class _EmployeePageState extends ConsumerState<EmployeePage> {
|
||||
size: 64, color: AppColors.textTertiary.withValues(alpha: 0.5)),
|
||||
const SizedBox(height: 16),
|
||||
Text(l10n.noEmployees,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 16, color: AppColors.textSecondary)),
|
||||
],
|
||||
),
|
||||
@@ -367,7 +367,7 @@ class _EmployeePageState extends ConsumerState<EmployeePage> {
|
||||
children: [
|
||||
Text(
|
||||
emp['name'],
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: AppColors.textPrimary,
|
||||
@@ -399,7 +399,7 @@ class _EmployeePageState extends ConsumerState<EmployeePage> {
|
||||
const SizedBox(height: 6),
|
||||
Text(
|
||||
'${emp['role']} | ${emp['phone']}',
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 13,
|
||||
color: AppColors.textSecondary,
|
||||
),
|
||||
@@ -409,7 +409,7 @@ class _EmployeePageState extends ConsumerState<EmployeePage> {
|
||||
),
|
||||
if (isBoss)
|
||||
IconButton(
|
||||
icon: const Icon(Icons.more_vert,
|
||||
icon: Icon(Icons.more_vert,
|
||||
color: AppColors.textTertiary),
|
||||
onPressed: () => _showEmployeeActions(index),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user