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
3102358e
Commit
3102358e
authored
Apr 22, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a标签
parent
de0a67fe
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
10 deletions
+9
-10
.idea/workspace.xml
+0
-0
src/components/classify/courselist.js
+6
-6
src/components/classify/courselist.scss
+3
-4
No files found.
.idea/workspace.xml
View file @
3102358e
This diff is collapsed.
Click to expand it.
src/components/classify/courselist.js
View file @
3102358e
...
@@ -6,12 +6,12 @@ class Classify extends Component {
...
@@ -6,12 +6,12 @@ class Classify extends Component {
state
=
{
state
=
{
mockData
:[
mockData
:[
{
{
title
:
'三月面试求职
班
'
,
title
:
'三月面试求职
三月面试求职三月面试求职
'
,
imgUrl
:
'https://julyedu-img-public.oss-cn-beijing.aliyuncs.com/Public/Image/4c5ccac604.jpg'
,
imgUrl
:
'https://julyedu-img-public.oss-cn-beijing.aliyuncs.com/Public/Image/4c5ccac604.jpg'
,
contact
:
'
QQ群:44914132
6'
,
contact
:
'
学习到第2课2三月面试求职班三月面试求职班三月面试求职班分33秒
6'
,
time
:
'03月12日'
,
time
:
'03月12日'
,
record
:
'学习到第2课2分33秒'
,
record
:
'学习到第2课2
三月面试求职班三月面试求职班三月面试求职班
分33秒'
,
isbuy
:
0
,
isbuy
:
1
,
price0
:
100
,
price0
:
100
,
price1
:
100
price1
:
100
},
},
...
@@ -58,8 +58,8 @@ class Classify extends Component {
...
@@ -58,8 +58,8 @@ class Classify extends Component {
{
this
.
state
.
mockData
.
map
((
item
,
index
)
=>
{
{
this
.
state
.
mockData
.
map
((
item
,
index
)
=>
{
const
Info
=
(
const
Info
=
(
<
div
className
=
"info"
>
<
div
className
=
"info"
>
<
p
className
=
'title'
>
{
item
.
title
}
<
/p
>
<
p
className
=
'title
text-overflow-2
'
>
{
item
.
title
}
<
/p
>
<
p
className
=
'contact'
>
{
item
.
contact
}
<
/p
>
<
p
className
=
'contact
text-overflow-2
'
>
{
item
.
contact
}
<
/p
>
<
div
className
=
'des'
>
<
div
className
=
'des'
>
{
item
.
isbuy
===
0
&&
<
p
className
=
"course-price"
>
{
item
.
isbuy
===
0
&&
<
p
className
=
"course-price"
>
<
span
className
=
"new"
>
¥
{
item
.
price0
}
<
/span
>
<
span
className
=
"new"
>
¥
{
item
.
price0
}
<
/span
>
...
...
src/components/classify/courselist.scss
View file @
3102358e
...
@@ -2,13 +2,14 @@
...
@@ -2,13 +2,14 @@
.v-list-item
{
.v-list-item
{
.content
{
.content
{
border
:
none
;
border
:
none
;
.cover
{
.cover
{
flex
:
inherit
;
flex
:
inherit
;
width
:
42
.2%
;
}
}
}
}
.info
{
.info
{
width
:
52
.3%
;
.title
{
.title
{
font-size
:
16px
;
font-size
:
16px
;
color
:
$color_333
;
color
:
$color_333
;
...
@@ -19,9 +20,8 @@
...
@@ -19,9 +20,8 @@
margin-top
:
14px
;
margin-top
:
14px
;
}
}
.des
{
.des
{
margin-top
:
25px
;
.course-price
{
.course-price
{
margin-top
:
15px
;
.new
{
.new
{
color
:
$red
;
color
:
$red
;
font-size
:
15px
;
font-size
:
15px
;
...
@@ -38,7 +38,6 @@
...
@@ -38,7 +38,6 @@
.isbuy
{
.isbuy
{
display
:
inline-block
;
display
:
inline-block
;
margin-top
:
15px
;
width
:
61px
;
width
:
61px
;
height
:
18px
;
height
:
18px
;
background-color
:
$bg_active
;
background-color
:
$bg_active
;
...
...
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