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
a9b0ff2d
Commit
a9b0ff2d
authored
Jan 07, 2020
by
FE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style and add alter
parent
4b06d4c7
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
44 additions
and
4 deletions
+44
-4
src/components/python/index.js
+3
-0
src/components/python/pythomDes/Test/index.js
+1
-1
src/components/python/pythomDes/Test/index.scss
+5
-1
src/components/python/pythomDes/index.js
+10
-2
src/components/python/pythonStudy/index.scss
+25
-0
No files found.
src/components/python/index.js
View file @
a9b0ff2d
...
...
@@ -87,6 +87,7 @@ class Python extends Component {
fetchCourseInfo
=
()
=>
{
const
id
=
getParam
(
'id'
)
alert
(
0
)
http
.
get
(
`
${
API
.
home
}
/m/course/detail/
${
id
}
`
).
then
((
res
)
=>
{
const
{
data
,
code
}
=
res
.
data
if
(
code
===
200
)
{
...
...
@@ -104,7 +105,9 @@ class Python extends Component {
isPay
:
0
,
})
}
else
{
// 安卓/IOS 的高版本
alert
(
'的高版本'
)
if
(
data
.
course_info
.
is_pay
===
1
)
{
// 在APP内未登录-去登陆-登录后还显示此页;如果是已购买的用户 就需要跳转到 APP已购买的原生页面
alert
(
1
)
SendMessageToApp
(
'toSyllabusChapter'
,
id
);
// 跳转到APP的已购买详情页 id 是课程ID
return
;
}
...
...
src/components/python/pythomDes/Test/index.js
View file @
a9b0ff2d
...
...
@@ -35,7 +35,7 @@ export default class Test extends Component {
<
div
className
=
{
'table_body'
}
>
{
this
.
props
.
practice
.
map
((
item
,
index
)
=>
{
return
<
div
key
=
{
index
}
>
return
<
div
className
=
"stage-item"
key
=
{
index
}
>
<
div
className
=
'stage'
>
{
`第
${
this
.
Change
(
item
.
stage
)}
阶段
${
item
.
name
}
`
}
<
/div
>
{
item
.
questions
.
map
((
question
,
index
)
=>
{
...
...
src/components/python/pythomDes/Test/index.scss
View file @
a9b0ff2d
...
...
@@ -49,6 +49,10 @@
.table_body
{
background
:
#34AFFF
;
.stage-item
{
border-bottom
:
1px
solid
#0099FF
;
}
.stage
{
height
:
38px
;
font-size
:
14px
;
...
...
@@ -59,6 +63,7 @@
justify-content
:
center
;
align-items
:
center
;
}
.line
{
display
:
flex
;
justify-content
:
space-between
;
...
...
@@ -94,7 +99,6 @@
.table_bottom
{
height
:
36px
;
background
:
#3DB1FF
;
border-top
:
1px
solid
#0099FF
;
div
{
display
:
flex
;
justify-content
:
center
;
...
...
src/components/python/pythomDes/index.js
View file @
a9b0ff2d
...
...
@@ -304,10 +304,18 @@ class PythonDes extends Component {
<
Description
list
=
{
desList
}
/
>
<
NoWorry
list
=
{
worryList
}
><
/NoWorry
>
<
Study
syllabus
=
{
syllabus
}
allSyllabusShow
=
{
allSyllabusShow
}
show
=
{
this
.
showAll
}
hide
=
{
this
.
hideSome
}
><
/Study
>
<
Test
practice
=
{
practice
}
allPracticeShow
=
{
allPracticeShow
}
show
=
{
this
.
showAll
}
hide
=
{
this
.
hideSome
}
><
/Test
>
{
/* 课后实操 */
}
<
Test
practice
=
{
practice
}
allPracticeShow
=
{
allPracticeShow
}
show
=
{
this
.
showAll
}
hide
=
{
this
.
hideSome
}
/
>
<
Team
/>
{
/* 试学体验 */
}
...
...
src/components/python/pythonStudy/index.scss
View file @
a9b0ff2d
...
...
@@ -59,9 +59,34 @@ html:not([data-scale]) .am-accordion.python-study__stage .am-accordion-item .am-
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
position
:
relative
;
height
:
55px
;
padding
:
0
12px
;
background-color
:
#1A9BFC
;
&
:
:
after
{
content
:
''
;
position
:
absolute
;
left
:
-60px
;
top
:
0
;
width
:
146px
;
height
:
100%
;
background-repeat
:
no-repeat
;
background-size
:
100%
auto
;
background-image
:
url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/pythonCourse/pc/python-title-bg-1.png')
;
}
&
:
:
before
{
content
:
''
;
position
:
absolute
;
right
:
-60px
;
bottom
:
-20px
;
width
:
106px
;
height
:
100%
;
background-repeat
:
no-repeat
;
background-size
:
100%
auto
;
background-image
:
url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/pythonCourse/pc/python-title-bg-0.png')
;
}
}
.python-study__course-name
{
...
...
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