Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
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
baiguangyao
mr-julyedu
Commits
8b05fa8b
Commit
8b05fa8b
authored
Sep 11, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bug'
# Conflicts: # src/components/search/searchHead.js
parents
fb850d31
33a31f51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/components/search/searchHead.js
+2
-2
No files found.
src/components/search/searchHead.js
View file @
8b05fa8b
...
@@ -38,9 +38,8 @@ class SearchHead extends PureComponent {
...
@@ -38,9 +38,8 @@ class SearchHead extends PureComponent {
render
()
{
render
()
{
const
{
isFocus
}
=
this
.
state
;
const
{
isFocus
}
=
this
.
state
;
const
cls
=
classnames
(
'submit-btn'
,
{
'submit-btn--active'
:
isFocus
})
const
cls
=
classnames
(
'submit-btn'
,
{
'submit-btn--active'
:
isFocus
})
// console.log(isFocus);
return
(
return
(
<
div
className
=
"search-head"
>
<
div
className
=
"search-head"
style
=
{
this
.
props
.
style
}
ref
=
{
this
.
props
.
forwardedRef
}
>
<
div
className
=
"left"
onClick
=
{
this
.
returnPage
}
>
<
div
className
=
"left"
onClick
=
{
this
.
returnPage
}
>
<
i
className
=
"iconfont iconiconfront-68"
/>
<
i
className
=
"iconfont iconiconfront-68"
/>
...
@@ -57,6 +56,7 @@ class SearchHead extends PureComponent {
...
@@ -57,6 +56,7 @@ class SearchHead extends PureComponent {
placeholder
=
"搜索课程"
placeholder
=
"搜索课程"
onFocus
=
{()
=>
this
.
changeFontColor
(
true
)}
onFocus
=
{()
=>
this
.
changeFontColor
(
true
)}
onBlur
=
{()
=>
this
.
changeFontColor
(
false
)}
onBlur
=
{()
=>
this
.
changeFontColor
(
false
)}
onSubmit
=
{
this
.
search
}
/
>
/
>
<
/div
>
<
/div
>
<
div
className
=
"right right-btn"
onClick
=
{
this
.
search
}
>
<
div
className
=
"right right-btn"
onClick
=
{
this
.
search
}
>
...
...
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