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
add2a825
Commit
add2a825
authored
Dec 31, 2019
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Python小课 价格 以及 序号
parent
5bbb8ca7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
src/components/python/pythomDes/Test/index.js
+1
-1
src/components/python/pythomDes/index.js
+4
-2
No files found.
src/components/python/pythomDes/Test/index.js
View file @
add2a825
...
@@ -40,7 +40,7 @@ export default class Test extends Component {
...
@@ -40,7 +40,7 @@ export default class Test extends Component {
{
{
item
.
questions
.
map
((
question
,
index
)
=>
{
item
.
questions
.
map
((
question
,
index
)
=>
{
return
<
div
key
=
{
index
}
className
=
{
'line'
}
>
return
<
div
key
=
{
index
}
className
=
{
'line'
}
>
<
span
>
{
index
}
<
/span
>
<
span
>
{
question
.
number
}
<
/span
>
<
div
className
=
{
'test_name'
}
>
<
div
className
=
{
'test_name'
}
>
<
img
src
=
{
question
.
icon
}
alt
=
""
/>
<
img
src
=
{
question
.
icon
}
alt
=
""
/>
<
p
>
{
question
.
name
}
<
/p
>
<
p
>
{
question
.
name
}
<
/p
>
...
...
src/components/python/pythomDes/index.js
View file @
add2a825
...
@@ -95,6 +95,7 @@ class PythonDes extends Component {
...
@@ -95,6 +95,7 @@ class PythonDes extends Component {
subTitle
:
'每节课的知识点都设有代码编写部分,每节课课后都有课后实操。有多次代码编写练习的机会,助你真正学以致用。'
subTitle
:
'每节课的知识点都设有代码编写部分,每节课课后都有课后实操。有多次代码编写练习的机会,助你真正学以致用。'
},
},
],
],
payMoney
:
0
,
}
}
}
}
...
@@ -202,6 +203,7 @@ class PythonDes extends Component {
...
@@ -202,6 +203,7 @@ class PythonDes extends Component {
allSyllabus
:
data
.
syllabus
,
allSyllabus
:
data
.
syllabus
,
practice
:
data
.
practice
.
slice
(
0
,
2
),
practice
:
data
.
practice
.
slice
(
0
,
2
),
allPractice
:
data
.
practice
,
allPractice
:
data
.
practice
,
payMoney
:
data
.
course_info
.
price1
,
})
})
}
else
{
}
else
{
Toast
.
info
(
msg
)
Toast
.
info
(
msg
)
...
@@ -223,7 +225,7 @@ class PythonDes extends Component {
...
@@ -223,7 +225,7 @@ class PythonDes extends Component {
}
}
render
()
{
render
()
{
const
{
defineList
,
desList
,
worryList
,
syllabus
,
practice
,
allSyllabusShow
,
allPracticeShow
,
toApp
}
=
this
.
state
const
{
defineList
,
desList
,
worryList
,
syllabus
,
practice
,
allSyllabusShow
,
allPracticeShow
,
toApp
,
payMoney
}
=
this
.
state
return
(
return
(
<
div
className
=
{
'python__des'
}
>
<
div
className
=
{
'python__des'
}
>
<
div
className
=
{
'des__start'
}
><
/div
>
<
div
className
=
{
'des__start'
}
><
/div
>
...
@@ -242,7 +244,7 @@ class PythonDes extends Component {
...
@@ -242,7 +244,7 @@ class PythonDes extends Component {
<
div
className
=
{
'course__introduce'
}
><
/div
>
<
div
className
=
{
'course__introduce'
}
><
/div
>
<
div
className
=
{
'bottom__btn_group'
}
>
<
div
className
=
{
'bottom__btn_group'
}
>
<
div
className
=
{
'course__price'
}
>
<
div
className
=
{
'course__price'
}
>
<
div
className
=
{
'money'
}
>
199
<
span
style
=
{{
fontSize
:
'18px'
}}
>
元
<
/span></
div
>
<
div
className
=
{
'money'
}
>
{
payMoney
}
<
span
style
=
{{
fontSize
:
'18px'
}}
>
元
<
/span></
div
>
<
div
className
=
{
'discount'
}
>
<
div
className
=
{
'discount'
}
>
限时特惠
限时特惠
<
div
className
=
{
'triangle'
}
><
/div
>
<
div
className
=
{
'triangle'
}
><
/div
>
...
...
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