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
1d52297b
Commit
1d52297b
authored
Mar 23, 2020
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ml
parent
4fedcfcc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
63 deletions
+6
-63
src/components/detail/index.js
+3
-1
src/components/ml/pythomDes/index.js
+3
-62
No files found.
src/components/detail/index.js
View file @
1d52297b
...
@@ -349,7 +349,9 @@ class Detail extends Component {
...
@@ -349,7 +349,9 @@ class Detail extends Component {
6
:
'python'
,
6
:
'python'
,
7
:
'ml'
7
:
'ml'
}
}
history
.
push
(
`
${
route
[
mode
]}
?id=
${
id
}
`
)
if
(
Object
.
keys
(
route
).
includes
(
mode
)){
history
.
push
(
`
${
route
[
mode
]}
?id=
${
id
}
`
)
}
}
}
let
course_info
=
data
.
course_info
;
let
course_info
=
data
.
course_info
;
...
...
src/components/ml/pythomDes/index.js
View file @
1d52297b
...
@@ -22,62 +22,8 @@ class PythonDes extends Component {
...
@@ -22,62 +22,8 @@ class PythonDes extends Component {
syllabus
:
[],
// 阶梯学习
syllabus
:
[],
// 阶梯学习
allSyllabus
:
[],
// 阶梯学习
allSyllabus
:
[],
// 阶梯学习
allSyllabusShow
:
false
,
allSyllabusShow
:
false
,
practice
:
[],
// 课后实操
allPractice
:
[],
// 课后实操
allPractice
:
[],
// 课后实操
allPracticeShow
:
false
,
toApp
:
false
,
toApp
:
false
,
defineList
:
[
{
titleUrl
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/trophy.png'
,
title
:
'排名第1的编程语言'
,
subTitle
:
'2018世界编程语言排行榜中,Python排名第1'
,
subWidth
:
'180px'
,
bottomUrl
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/program_lan.png'
,
desInfo
:
{
width
:
'240px'
,
height
:
'170px'
,
}
},
{
titleUrl
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/kaifa.png'
,
title
:
'开发快速、简单易掌握'
,
subTitle
:
'严谨的代码编写格式,语法格式简单易理解完成一个相同的任务'
,
subWidth
:
'260px'
,
bottomUrl
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/kuaisu.png'
,
desInfo
:
{
width
:
'212px'
,
height
:
'106px'
,
}
},
{
titleUrl
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/lingyu.png'
,
title
:
'适用领域广'
,
subTitle
:
'Python工程师可从事多领域编程工作,人才年需求增长6倍'
,
subWidth
:
'230px'
,
bottomUrl
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/jiandan.png'
,
desInfo
:
{
width
:
'234px'
,
height
:
'106px'
,
}
}
],
worryList
:
[
{
url
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/jiechu.png'
,
title
:
'初次接触,担心学不会'
,
subTitle
:
'本课程专门为零基础的你打造,全篇通过最白话沟通交流的方式进行讲解,无论你有无编程经验都可以轻松理解并且掌握。'
},
{
url
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/xuexi.png'
,
title
:
'想学习,没有坚持下来'
,
subTitle
:
'以故事性的方式编写学习内容, 把生硬的知识点有趣化。精美的图片+幽默的文字+代码编写让你越学越想学。'
},
{
url
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/zhishidian.png'
,
title
:
'知识点掌握了,不知如何运用'
,
subTitle
:
'每节课的知识点都设有代码编写部分,每节课课后都有课后实操。有多次代码编写练习的机会,助你真正学以致用。'
},
],
payMoney
:
0
,
payMoney
:
0
,
isOnline
:
true
,
//课程是否上架
isOnline
:
true
,
//课程是否上架
}
}
...
@@ -200,7 +146,6 @@ class PythonDes extends Component {
...
@@ -200,7 +146,6 @@ class PythonDes extends Component {
this
.
setState
({
this
.
setState
({
syllabus
:
data
.
syllabus
.
slice
(
0
,
2
),
syllabus
:
data
.
syllabus
.
slice
(
0
,
2
),
allSyllabus
:
data
.
syllabus
,
allSyllabus
:
data
.
syllabus
,
practice
:
data
.
practice
.
slice
(
0
,
2
),
allPractice
:
data
.
practice
,
allPractice
:
data
.
practice
,
payMoney
:
data
.
course_info
.
price1
,
payMoney
:
data
.
course_info
.
price1
,
})
})
...
@@ -230,13 +175,9 @@ class PythonDes extends Component {
...
@@ -230,13 +175,9 @@ class PythonDes extends Component {
render
()
{
render
()
{
const
{
const
{
defineList
,
syllabus
,
worryList
,
allSyllabusShow
,
syllabus
,
toApp
,
practice
,
allSyllabusShow
,
allPracticeShow
,
toApp
,
payMoney
,
payMoney
,
isOnline
isOnline
}
=
this
.
state
}
=
this
.
state
...
...
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