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
6bac8218
Commit
6bac8218
authored
Jun 13, 2019
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
冲突的样式;公共组件封装
parent
a04430d7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
src/common/HeaderBar/index.js
+3
-3
src/components/scholarship/CategoryItem/CategoryItem.js
+1
-1
src/components/scholarship/CategoryItem/CategoryItem.scss
+1
-1
No files found.
src/common/HeaderBar/index.js
View file @
6bac8218
...
...
@@ -3,10 +3,10 @@ import './index.scss'
const
HeaderBar
=
(
props
)
=>
{
return
(
<
div
className
=
"detail-header"
>
<
i
className
=
{
'iconfont iconiconfront-68 return'
}
><
/i
>
<
div
className
=
"detail-header"
style
=
{{...
props
.
style
}}
>
<
i
className
=
{
`iconfont
${
props
.
arrow
?
'iconiconfront-68'
:
''
}
return`
}
onClick
=
{
props
.
goBack
}
><
/i
>
<
span
className
=
'herder'
>
{
props
.
title
}
<
/span
>
<
i
className
=
{
'iconfont icongouwuche shopping-cart'
}
><
/i
>
<
i
className
=
{
`iconfont
${
props
.
cart
?
'icongouwuche-xianxing'
:
''
}
shopping-cart`
}
onClick
=
{
props
.
goShop
}
><
/i
>
<
/div
>
);
};
...
...
src/components/scholarship/CategoryItem/CategoryItem.js
View file @
6bac8218
...
...
@@ -10,7 +10,7 @@ export default class CategoryItem extends Component {
const
{
course_title
,
price1
,
price0
,
first_level_tip
,
image_name
,
upgrade
,
upgradeImg
}
=
this
.
props
;
return
(
<
WingBlank
>
<
div
className
=
{
'category'
}
>
<
div
className
=
{
'
scholarship-
category'
}
>
<
div
className
=
{
'imageContainer'
}
>
<
img
className
=
{
'image'
}
src
=
{
image_name
}
><
/img
>
{
...
...
src/components/scholarship/CategoryItem/CategoryItem.scss
View file @
6bac8218
.category
{
.
scholarship-
category
{
display
:
flex
;
align-items
:
flex-start
;
height
:
90px
;
...
...
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