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
9841f2f6
Commit
9841f2f6
authored
Mar 27, 2020
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小课加分销
parent
9f89dd3a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
2 deletions
+37
-2
src/components/ml/pythonStudy/index.js
+3
-1
src/components/ml/pythonStudy/index.scss
+15
-0
src/components/python/pythonStudy/index.js
+4
-1
src/components/python/pythonStudy/index.scss
+15
-0
No files found.
src/components/ml/pythonStudy/index.js
View file @
9841f2f6
import
React
,
{
Component
}
from
'react'
;
import
{
Accordion
,
Toast
}
from
'antd-mobile'
;
import
{
HeaderBar
}
from
'@/common'
;
import
{
HeaderBar
,
CallApp
}
from
'@/common'
;
import
{
http
,
getParam
}
from
'@/utils'
;
import
'./index.scss'
;
import
{
connect
}
from
"react-redux"
;
...
...
@@ -112,6 +112,8 @@ class PythonStudy extends Component {
<
/div
>
}
<
CallApp
className
=
'toapp'
/>
<
/div
>
{
!!
courseInfo
.
is_dist
&&
<
div
className
=
{
'dist-wrapper'
}
>
...
...
src/components/ml/pythonStudy/index.scss
View file @
9841f2f6
...
...
@@ -51,6 +51,21 @@ html:not([data-scale]) .am-accordion.python-study__stage .am-accordion-item .am-
background
:
#fff
;
margin
:
20px
10px
30px
;
}
.toapp
{
position
:
fixed
;
right
:
0
;
top
:
117px
;
width
:
82px
;
height
:
32px
;
text-align
:
center
;
line-height
:
32px
;
background
:
linear-gradient
(
-90deg
,
$bg_active
0%
,
$bg_0078FF
100%
);
border-radius
:
16px
0
0
16px
;
font-size
:
12px
;
color
:
$white
;
z-index
:
9
;
}
}
.python-study__header
{
...
...
src/components/python/pythonStudy/index.js
View file @
9841f2f6
import
React
,
{
Component
}
from
'react'
;
import
{
Accordion
,
Toast
}
from
'antd-mobile'
;
import
{
HeaderBar
}
from
'@/common'
;
import
{
HeaderBar
,
CallApp
}
from
'@/common'
;
import
{
http
,
getParam
}
from
'@/utils'
;
import
'./index.scss'
;
import
{
Link
}
from
"react-router-dom"
...
...
@@ -114,6 +114,9 @@ class PythonStudy extends Component {
<
ShareRank
courseInfo
=
{
courseInfo
}
/
>
<
/div
>
}
<
CallApp
className
=
{
'toapp'
}
/
>
<
Accordion
defaultActiveKey
=
"0"
className
=
"python-study__stage"
...
...
src/components/python/pythonStudy/index.scss
View file @
9841f2f6
...
...
@@ -50,6 +50,21 @@ html:not([data-scale]) .am-accordion.python-study__stage .am-accordion-item .am-
background
:
#fff
;
margin
:
20px
10px
30px
;
}
.toapp
{
position
:
fixed
;
right
:
0
;
top
:
117px
;
width
:
82px
;
height
:
32px
;
text-align
:
center
;
line-height
:
32px
;
background
:
linear-gradient
(
-90deg
,
$bg_active
0%
,
$bg_0078FF
100%
);
border-radius
:
16px
0
0
16px
;
font-size
:
12px
;
color
:
$white
;
z-index
:
9
;
}
}
.python-study__header
{
...
...
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