Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
smart_hotel_app
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张宏
smart_hotel_app
Commits
3b5ba7b4
Commit
3b5ba7b4
authored
May 18, 2026
by
张宏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
d2ca6b18
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
5 deletions
+18
-5
.gitignore
.gitignore
+1
-0
btn_login.dart
lib/views/login/child/btn_login.dart
+6
-1
index_view.dart
lib/views/search/index_view.dart
+11
-4
No files found.
.gitignore
View file @
3b5ba7b4
...
@@ -15,6 +15,7 @@ migrate_working_dir/
...
@@ -15,6 +15,7 @@ migrate_working_dir/
*.ipr
*.ipr
*.iws
*.iws
.idea/
.idea/
.trae/
# The .vscode folder contains launch configuration and tasks you configure in
# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# VS Code which you may wish to be included in version control, so this line
...
...
lib/views/login/child/btn_login.dart
View file @
3b5ba7b4
...
@@ -20,8 +20,13 @@ class BtnLogin extends StatelessWidget {
...
@@ -20,8 +20,13 @@ class BtnLogin extends StatelessWidget {
color:
Color
.
fromRGBO
(
89
,
109
,
243
,
1
),
color:
Color
.
fromRGBO
(
89
,
109
,
243
,
1
),
borderRadius:
BorderRadius
.
circular
(
20
),
borderRadius:
BorderRadius
.
circular
(
20
),
),
),
child:
Text
Button
(
child:
Elevated
Button
(
onPressed:
isLoading
?
null
:
onPressed
,
onPressed:
isLoading
?
null
:
onPressed
,
style:
ElevatedButton
.
styleFrom
(
backgroundColor:
Colors
.
transparent
,
shadowColor:
Colors
.
transparent
,
elevation:
0
,
),
child:
isLoading
child:
isLoading
?
const
SizedBox
(
?
const
SizedBox
(
width:
20
,
width:
20
,
...
...
lib/views/search/index_view.dart
View file @
3b5ba7b4
import
'package:auto_route/auto_route.dart'
;
import
'package:auto_route/auto_route.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_bloc/flutter_bloc.dart'
;
import
'package:flutter_bloc/flutter_bloc.dart'
;
import
'package:flutter_screenutil/flutter_screenutil.dart'
;
import
'package:flutter_screenutil/flutter_screenutil.dart'
;
@RoutePage
()
@RoutePage
()
class
SearchView
extends
StatefulWidget
{
class
SearchView
extends
StatefulWidget
{
...
@@ -17,9 +17,16 @@ class _SearchViewState extends State<SearchView> {
...
@@ -17,9 +17,16 @@ class _SearchViewState extends State<SearchView> {
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
return
Container
(
return
Container
(
margin:
EdgeInsets
.
only
(
top:
200
.
h
),
margin:
EdgeInsets
.
only
(
top:
200
.
h
),
child:
Center
(
child:
child:
Column
(
Text
(
"data"
)
children:
[
ElevatedButton
(
onPressed:
()
{
},
child:
Text
(
"点击"
),
),
],
),
),
);
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment