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
f7d53af3
Commit
f7d53af3
authored
Jan 06, 2020
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Python分享样式
parent
7cf1323e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
src/components/pythonShare/index.js
+1
-1
src/components/pythonShare/index.scss
+8
-4
No files found.
src/components/pythonShare/index.js
View file @
f7d53af3
...
@@ -203,7 +203,7 @@ function PythonContent(props) {
...
@@ -203,7 +203,7 @@ function PythonContent(props) {
<
div
className
=
"python-popup"
onClick
=
{
handleToHide
}
>
<
div
className
=
"python-popup"
onClick
=
{
handleToHide
}
>
<
div
className
=
"python-header"
>
<
div
className
=
"python-header"
>
<
p
className
=
"python-wechat__title"
>
请点击右上角分享
<
/p
>
<
p
className
=
"python-wechat__title"
>
请点击右上角分享
<
/p
>
<
i
className
=
"iconfont
iconyindao
"
><
/i
>
<
i
className
=
"iconfont"
><
/i
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
}
}
...
...
src/components/pythonShare/index.scss
View file @
f7d53af3
...
@@ -11,22 +11,26 @@
...
@@ -11,22 +11,26 @@
.python-header
{
.python-header
{
position
:
relative
;
position
:
relative
;
height
:
100px
;
height
:
100px
;
padding-top
:
3
4
px
;
padding-top
:
3
6
px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
.iconfont
{
.iconfont
{
position
:
absolute
;
position
:
absolute
;
top
:
-6
px
;
top
:
10
px
;
right
:
40px
;
right
:
40px
;
font-size
:
38px
;
font-size
:
38px
;
color
:
#fff
;
color
:
#fff
;
width
:
50px
;
height
:
38px
;
background
:
url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/pythonCourse/h5/share_arrow.png')
center
center
no-repeat
;
background-size
:
100%
100%
;
}
}
}
}
.python-wechat__title
{
.python-wechat__title
{
margin
:
0
;
margin
:
0
;
font-size
:
17px
;
font-size
:
17px
;
color
:
#F
CFF1D
;
color
:
#F
FF
;
text-align
:
center
;
text-align
:
center
;
line-height
:
1
;
line-height
:
1
;
}
}
...
@@ -172,7 +176,7 @@
...
@@ -172,7 +176,7 @@
left
:
0
;
left
:
0
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
.
3
);
background-color
:
rgba
(
0
,
0
,
0
,
.
6
);
z-index
:
99
;
z-index
:
99
;
}
}
...
...
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