Commit 77e5e35c by FE

rule modify

parent 71b4f546
...@@ -52,7 +52,7 @@ class Prizes extends Component { ...@@ -52,7 +52,7 @@ class Prizes extends Component {
Popup({ Popup({
title: '组队开宝箱活动规则', title: '组队开宝箱活动规则',
className: 'landing-treasure-rules', className: 'landing-treasure-rules',
content: this.state.rule, content: <div className="rule-content" dangerouslySetInnerHTML={{__html: this.state.rule}}></div>,
closeIcon: this.closeIcon closeIcon: this.closeIcon
}) })
} }
......
...@@ -228,6 +228,15 @@ ...@@ -228,6 +228,15 @@
.landing-treasure-rules { .landing-treasure-rules {
width: 320px; width: 320px;
.rule-content {
p {
font-size: 14px;
color: #666;
line-height: 18px;
}
}
&.popup-container { &.popup-container {
.title { .title {
font-size: 18px; font-size: 18px;
...@@ -236,7 +245,7 @@ ...@@ -236,7 +245,7 @@
} }
.content { .content {
padding: 0 29px 15px; padding: 0 19px 15px;
margin-top: 22px; margin-top: 22px;
color: #666666; color: #666666;
font-size: 14px; font-size: 14px;
......
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