Commit f7d53af3 by wangshuo

Python分享样式

parent 7cf1323e
...@@ -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>
} }
......
...@@ -11,22 +11,26 @@ ...@@ -11,22 +11,26 @@
.python-header { .python-header {
position: relative; position: relative;
height: 100px; height: 100px;
padding-top: 34px; padding-top: 36px;
box-sizing: border-box; box-sizing: border-box;
.iconfont { .iconfont {
position: absolute; position: absolute;
top: -6px; top: 10px;
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: #FCFF1D; color: #FFF;
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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment