Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
pidan
/
FuSiLive
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6069c379
authored
Jun 16, 2026
by
ludi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
搜索界面点击搜索才开始搜索
parent
6c0766a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
14 deletions
FuSiLive.xcodeproj/project.pbxproj
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Search/Controller/FUSSearchViewController.swift
FuSiLive.xcodeproj/project.pbxproj
View file @
6069c379
...
@@ -691,7 +691,7 @@
...
@@ -691,7 +691,7 @@
CLANG_CXX_LANGUAGE_STANDARD
=
"gnu++17"
;
CLANG_CXX_LANGUAGE_STANDARD
=
"gnu++17"
;
CODE_SIGN_ENTITLEMENTS
=
FuSiLive/FuSiLive.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
FuSiLive/FuSiLive.entitlements
;
CODE_SIGN_STYLE
=
Automatic
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
2026051
7
;
CURRENT_PROJECT_VERSION
=
2026051
8
;
DEFINES_MODULE
=
YES
;
DEFINES_MODULE
=
YES
;
DEVELOPMENT_TEAM
=
6GG26BHUMC
;
DEVELOPMENT_TEAM
=
6GG26BHUMC
;
ENABLE_ON_DEMAND_RESOURCES
=
NO
;
ENABLE_ON_DEMAND_RESOURCES
=
NO
;
...
@@ -956,7 +956,7 @@
...
@@ -956,7 +956,7 @@
CLANG_CXX_LANGUAGE_STANDARD
=
"gnu++17"
;
CLANG_CXX_LANGUAGE_STANDARD
=
"gnu++17"
;
CODE_SIGN_ENTITLEMENTS
=
FuSiLive/FuSiLive.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
FuSiLive/FuSiLive.entitlements
;
CODE_SIGN_STYLE
=
Automatic
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
2026051
7
;
CURRENT_PROJECT_VERSION
=
2026051
8
;
DEFINES_MODULE
=
YES
;
DEFINES_MODULE
=
YES
;
DEVELOPMENT_TEAM
=
6GG26BHUMC
;
DEVELOPMENT_TEAM
=
6GG26BHUMC
;
ENABLE_ON_DEMAND_RESOURCES
=
NO
;
ENABLE_ON_DEMAND_RESOURCES
=
NO
;
...
...
Modules/FUSUserCenterModule/FUSUserCenterModule/Features/Search/Controller/FUSSearchViewController.swift
View file @
6069c379
...
@@ -144,17 +144,17 @@ public class FUSSearchViewController: FUSBaseViewController, UITableViewDelegate
...
@@ -144,17 +144,17 @@ public class FUSSearchViewController: FUSBaseViewController, UITableViewDelegate
@objc
func
fus_searchTextDidChange
(){
@objc
func
fus_searchTextDidChange
(){
self
.
dataSource
?
.
removeAllObjects
()
//
self.dataSource?.removeAllObjects()
self
.
tableView
.
reloadData
()
//
self.tableView.reloadData()
self
.
pageindex
=
1
//
self.pageindex = 1
self
.
lastHandledAddedJumpIdentifier
=
""
//
self.lastHandledAddedJumpIdentifier = ""
//
if
self
.
searchTextField
.
text
!=
nil
{
//
if self.searchTextField.text != nil {
self
.
bgViewTopContraint
.
constant
=
-
30
//
self.bgViewTopContraint.constant = -30
self
.
fus_startTimer
()
//
self.fus_startTimer()
}
else
{
//
}else{
self
.
fus_stopTimer
()
//
self.fus_stopTimer()
}
//
}
}
}
@objc
func
fus_clickJump
(
_
onClickBlock
:
@escaping
editorBlock
)
->
Void
{
@objc
func
fus_clickJump
(
_
onClickBlock
:
@escaping
editorBlock
)
->
Void
{
...
@@ -176,7 +176,6 @@ public class FUSSearchViewController: FUSBaseViewController, UITableViewDelegate
...
@@ -176,7 +176,6 @@ public class FUSSearchViewController: FUSBaseViewController, UITableViewDelegate
}
}
@objc
func
fus_doSearchOperation
()
{
@objc
func
fus_doSearchOperation
()
{
if
searchType
==
FUSSearchVcType
.
peopleNetwork
{
if
searchType
==
FUSSearchVcType
.
peopleNetwork
{
self
.
tableView
.
mj_footer
.
state
=
MJRefreshState
.
willRefresh
self
.
tableView
.
mj_footer
.
state
=
MJRefreshState
.
willRefresh
self
.
fus_searchUser
(
keyword
:
self
.
searchTextField
.
text
??
""
,
pageIndex
:
"
\(
self
.
pageindex
)
"
)
self
.
fus_searchUser
(
keyword
:
self
.
searchTextField
.
text
??
""
,
pageIndex
:
"
\(
self
.
pageindex
)
"
)
...
...
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