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
571a92e6
Commit
571a92e6
authored
Nov 01, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Plain Diff
BUG
parents
6e055ead
412d2753
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
12 deletions
+16
-12
src/components/blessingPreheat/collectBlessing/index.js
+2
-1
src/components/blessingPreheat/courseItem/index.js
+2
-2
src/components/blessingPreheat/courseItem/index.scss
+2
-0
src/components/blessingPreheat/courseList/index.js
+7
-7
src/components/blessingPreheat/courseList/index.scss
+3
-2
src/components/blessingPreheat/index.js
+0
-0
No files found.
src/components/blessingPreheat/collectBlessing/index.js
View file @
571a92e6
...
...
@@ -177,7 +177,8 @@ class CollectBlessing extends Component {
render
()
{
const
{
isSign
,
userInfo
:
{
isLogin
=
false
,
blessingVal
=
0
,
buyBlessing
=
0
,
inviteBlessing
=
0
},
userInfo
:
{
blessingVal
=
0
,
buyBlessing
=
0
,
inviteBlessing
=
0
},
isLogin
,
handleToShowNotice
,
handleToShowList
,
handleToShowInvite
,
...
...
src/components/blessingPreheat/courseItem/index.js
View file @
571a92e6
...
...
@@ -3,11 +3,11 @@ import './index.scss';
class
CourseItem
extends
Component
{
render
()
{
const
{
image
}
=
this
.
props
;
const
{
image
,
toCourse
,
id
}
=
this
.
props
;
return
(
<
div
className
=
"course-container"
>
<
div
className
=
"course__cover"
>
<
img
src
=
{
image
}
alt
=
"cover"
/>
<
img
src
=
{
image
}
alt
=
"cover"
onClick
=
{()
=>
toCourse
(
id
)}
/
>
<
/div
>
{
this
.
props
.
children
}
<
/div
>
...
...
src/components/blessingPreheat/courseItem/index.scss
View file @
571a92e6
...
...
@@ -15,5 +15,6 @@
img
{
display
:
block
;
width
:
100%
;
height
:
100%
;
}
}
\ No newline at end of file
src/components/blessingPreheat/courseList/index.js
View file @
571a92e6
...
...
@@ -259,7 +259,7 @@ class CourseList extends Component {
}
else
{
toLogin
();
}
}
...
...
@@ -298,7 +298,7 @@ class CourseList extends Component {
<
div
data
-
layout
=
"row"
>
{
group
.
course
.
map
(
item
=>
(
<
CourseItem
image
=
{
item
.
image_name
}
key
=
{
item
.
course_id
}
>
<
CourseItem
image
=
{
item
.
image_name
}
key
=
{
item
.
course_id
}
id
=
{
item
.
course_id
}
toCourse
=
{
this
.
toCourse
}
>
<
div
className
=
"coupon-course__footer"
>
<
a
onClick
=
{()
=>
this
.
toQQque
()}
className
=
"course-button"
>
立抢超低团购价
<
/a
>
<
/div
>
...
...
@@ -323,7 +323,7 @@ class CourseList extends Component {
<
div
data
-
layout
=
"row"
>
{
training
.
course
.
map
(
item
=>
(
<
CourseItem
image
=
{
item
.
image_name
}
key
=
{
item
.
course_id
}
>
<
CourseItem
image
=
{
item
.
image_name
}
key
=
{
item
.
course_id
}
id
=
{
item
.
course_id
}
toCourse
=
{
this
.
toCourse
}
>
<
div
className
=
"coupon-course__footer"
>
{
item
.
course_status
===
1
&&
...
...
@@ -391,7 +391,7 @@ class CourseList extends Component {
<
div
data
-
layout
=
"row"
>
{
basic
.
course
.
map
(
item
=>
(
<
CourseItem
image
=
{
item
.
image_name
}
key
=
{
item
.
course_id
}
>
<
CourseItem
image
=
{
item
.
image_name
}
key
=
{
item
.
course_id
}
id
=
{
item
.
course_id
}
toCourse
=
{
this
.
toCourse
}
>
{
item
.
type
===
0
&&
<
div
className
=
"coupon-course__footer"
>
...
...
@@ -472,7 +472,7 @@ class CourseList extends Component {
<
div
data
-
layout
=
"row"
>
{
advanced
.
course
.
map
(
item
=>
(
<
CourseItem
image
=
{
item
.
image_name
}
key
=
{
item
.
course_id
}
>
<
CourseItem
image
=
{
item
.
image_name
}
key
=
{
item
.
course_id
}
id
=
{
item
.
course_id
}
toCourse
=
{
this
.
toCourse
}
>
{
item
.
type
===
0
&&
<
div
className
=
"coupon-course__footer"
>
...
...
@@ -552,7 +552,7 @@ class CourseList extends Component {
<
div
data
-
layout
=
"row"
>
{
higher
.
course
.
map
(
item
=>
(
<
CourseItem
image
=
{
item
.
image_name
}
key
=
{
item
.
course_id
}
>
<
CourseItem
image
=
{
item
.
image_name
}
key
=
{
item
.
course_id
}
id
=
{
item
.
course_id
}
toCourse
=
{
this
.
toCourse
}
>
{
item
.
type
===
0
&&
<
div
className
=
"coupon-course__footer"
>
...
...
@@ -632,7 +632,7 @@ class CourseList extends Component {
<
div
data
-
layout
=
"row"
>
{
expand
.
course
.
map
(
item
=>
(
<
CourseItem
image
=
{
item
.
image_name
}
key
=
{
item
.
course_id
}
>
<
CourseItem
image
=
{
item
.
image_name
}
key
=
{
item
.
course_id
}
id
=
{
item
.
course_id
}
toCourse
=
{
this
.
toCourse
}
>
{
item
.
type
===
0
&&
<
div
className
=
"coupon-course__footer"
>
...
...
src/components/blessingPreheat/courseList/index.scss
View file @
571a92e6
...
...
@@ -23,7 +23,7 @@
padding
:
10px
0
;
.course-button
{
margin
:
5px
auto
0
;
//
margin: 5px auto 0;
}
}
...
...
@@ -42,7 +42,8 @@
text-align
:
center
;
line-height
:
1
;
background-image
:
url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/coupon-bg-0.png')
;
background-repeat
:
no-repeat
;
background-size
:
cover
;
}
.coupon-course__button--receive
{
...
...
src/components/blessingPreheat/index.js
View file @
571a92e6
This diff is collapsed.
Click to expand it.
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