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
6ec8b30f
Commit
6ec8b30f
authored
Dec 31, 2019
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Python小课价格以及序号
parent
8b38b20c
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 @
6ec8b30f
...
...
@@ -40,7 +40,7 @@ export default class Test extends Component {
{
item
.
questions
.
map
((
question
,
index
)
=>
{
return
<
div
key
=
{
index
}
className
=
{
'line'
}
>
<
span
>
{
index
}
<
/span
>
<
span
>
{
question
.
number
}
<
/span
>
<
div
className
=
{
'test_name'
}
>
<
img
src
=
{
question
.
icon
}
alt
=
""
/>
<
p
>
{
question
.
name
}
<
/p
>
...
...
src/components/python/pythomDes/index.js
View file @
6ec8b30f
...
...
@@ -95,6 +95,7 @@ class PythonDes extends Component {
subTitle
:
'每节课的知识点都设有代码编写部分,每节课课后都有课后实操。有多次代码编写练习的机会,助你真正学以致用。'
},
],
payMoney
:
0
,
}
}
...
...
@@ -202,6 +203,7 @@ class PythonDes extends Component {
allSyllabus
:
data
.
syllabus
,
practice
:
data
.
practice
.
slice
(
0
,
2
),
allPractice
:
data
.
practice
,
payMoney
:
data
.
course_info
.
price1
,
})
}
else
{
Toast
.
info
(
msg
)
...
...
@@ -223,7 +225,7 @@ class PythonDes extends Component {
}
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
(
<
div
className
=
{
'python__des'
}
>
<
div
className
=
{
'des__start'
}
><
/div
>
...
...
@@ -242,7 +244,7 @@ class PythonDes extends Component {
<
div
className
=
{
'course__introduce'
}
><
/div
>
<
div
className
=
{
'bottom__btn_group'
}
>
<
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
=
{
'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