Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
陈智峰
jinfa-platform
Commits
94dc44a7
Commit
94dc44a7
authored
Sep 28, 2020
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:顶部导航logo样式修改
parent
d92fb3b2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
14 deletions
+25
-14
index.less
src/pages/lxMall/components/ChannelHeader/index.less
+7
-2
index.tsx
src/pages/lxMall/components/ChannelHeader/index.tsx
+8
-8
index.less
src/pages/lxMall/components/CommonHeader/index.less
+5
-1
index.tsx
src/pages/lxMall/components/CommonHeader/index.tsx
+0
-2
index.less
src/pages/lxMall/components/ShopHeader/index.less
+5
-1
No files found.
src/pages/lxMall/components/ChannelHeader/index.less
View file @
94dc44a7
...
...
@@ -15,10 +15,15 @@
.logo {
display: inline-block;
padding: 0 130px 0 17px;
width: 145px;
height: 50px;
position: relative;
margin: auto 97px auto 20px;
&>img {
width: 145px;
display: block;
margin: 0 auto;
max-width: 145px;
height: 50px;
}
}
...
...
src/pages/lxMall/components/ChannelHeader/index.tsx
View file @
94dc44a7
...
...
@@ -3,7 +3,7 @@ import { history } from 'umi'
import
{
Input
}
from
'antd'
import
{
GetTemplateChannelFindChannelResponse
}
from
'@/services/TemplateApi'
import
isEmpty
from
'lodash/isEmpty'
import
'./index.less'
import
styles
from
'./index.less'
import
{
LAYOUT_TYPE
}
from
'@/constants'
interface
HeaderPropsType
{
...
...
@@ -49,15 +49,15 @@ const Header: React.FC<HeaderPropsType> = (props) => {
}
return
(
<
div
className=
"header"
>
<
div
className=
"header_container"
>
<
div
className=
"logo"
>
<
div
className=
{
styles
.
header
}
>
<
div
className=
{
styles
.
header_container
}
>
<
div
className=
{
styles
.
logo
}
>
<
img
src=
{
shopInfo
?.
logo
}
/>
</
div
>
<
div
className=
"mall_search"
>
<
div
className=
"mall_search_box"
>
<
Input
className=
"mall_search_input"
value=
{
searchValue
}
placeholder=
"请输入关键词"
onChange=
{
e
=>
setSearchValue
(
e
.
target
.
value
)
}
onPressEnter=
{
()
=>
handleSearchCommodity
()
}
/>
<
div
className=
"search_btn"
onClick=
{
()
=>
handleSearchCommodity
()
}
>
搜索
</
div
>
<
div
className=
{
styles
.
mall_search
}
>
<
div
className=
{
styles
.
mall_search_box
}
>
<
Input
className=
{
styles
.
mall_search_input
}
value=
{
searchValue
}
placeholder=
"请输入关键词"
onChange=
{
e
=>
setSearchValue
(
e
.
target
.
value
)
}
onPressEnter=
{
()
=>
handleSearchCommodity
()
}
/>
<
div
className=
{
styles
.
search_btn
}
onClick=
{
()
=>
handleSearchCommodity
()
}
>
搜索
</
div
>
</
div
>
</
div
>
</
div
>
...
...
src/pages/lxMall/components/CommonHeader/index.less
View file @
94dc44a7
...
...
@@ -11,13 +11,17 @@
height: 110px;
display: flex;
align-items: center;
position: relative;
.logo {
padding-left: 14px;
overflow: hidden;
img {
width: 145px;
display: block;
margin: 0 auto;
height: 50px;
max-width: 145px;
}
}
...
...
src/pages/lxMall/components/CommonHeader/index.tsx
View file @
94dc44a7
...
...
@@ -33,9 +33,7 @@ const CommonHeader: React.FC<ShopHeaderPropsType> = (props) => {
<
div
className=
{
styles
.
common_header
}
>
<
div
className=
{
styles
.
common_header_container
}
>
<
div
className=
{
styles
.
logo
}
>
{
/* <Link to={getHomeLink()}> */
}
<
img
src=
{
logoUrl
}
/>
{
/* </Link> */
}
</
div
>
<
div
className=
{
styles
.
common_header_split
}
></
div
>
<
div
className=
{
styles
.
common_header_title
}
>
{
title
}
</
div
>
...
...
src/pages/lxMall/components/ShopHeader/index.less
View file @
94dc44a7
...
...
@@ -12,12 +12,16 @@
height: 110px;
display: flex;
align-items: center;
position: relative;
.logo {
padding-left: 14px;
&>img {
width: 145px;
// width: 145px;
display: block;
margin: 0 auto;
max-width: 145px;
height: 50px;
}
}
...
...
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