Commit cd278ae8 authored by wildfirecode13's avatar wildfirecode13

111

parent b820a2e1
...@@ -13,13 +13,22 @@ class Noprize extends React.Component { ...@@ -13,13 +13,22 @@ class Noprize extends React.Component {
constructor(props) { constructor(props) {
super(props); super(props);
} }
onClick_close = () => {
modalStore.closePop();
}
onClick_again = () => {
modalStore.closePop();
}
render() { render() {
return ( return (
<div className="noprize"> <div className="noprize">
<span className="noprize_bg"></span> <span className="noprize_bg"></span>
<span className="noprize_score">12800</span> <span className="noprize_score">12800</span>
<span className="noprize_again"></span> <span onClick={this.onClick_again} className="noprize_again"></span>
<span className="noprize_close"></span> <span onClick={this.onClick_close} className="noprize_close"></span>
</div> </div>
); );
} }
......
...@@ -3,7 +3,9 @@ ...@@ -3,7 +3,9 @@
width: 659px; width: 659px;
height: 667px; height: 667px;
left: 46px; left: 46px;
top: 497px; top: 50%;
transform: translateY(-50%);
position: absolute;
position: absolute; position: absolute;
.noprize_bg { .noprize_bg {
width: 657px; width: 657px;
......
...@@ -13,12 +13,20 @@ class Noprize_history extends React.Component { ...@@ -13,12 +13,20 @@ class Noprize_history extends React.Component {
constructor(props) { constructor(props) {
super(props); super(props);
} }
onClick_close = () => {
modalStore.closePop();
}
onClick_again = () => {
modalStore.closePop();
}
render() { render() {
return ( return (
<div className="noprize_history"> <div className="noprize_history">
<span className="noprize_history_bg"></span> <span className="noprize_history_bg"></span>
<span className="noprize_history_again"></span> <span onClick={this.onClick_again} className="noprize_history_again"></span>
<span className="noprize_history_close"></span> <span onClick={this.onClick_close} className="noprize_history_close"></span>
<span className="noprize_history_score">58889</span> <span className="noprize_history_score">58889</span>
<span className="noprize_history_tips2">历史最佳</span> <span className="noprize_history_tips2">历史最佳</span>
<span className="noprize_history_score1">12800</span> <span className="noprize_history_score1">12800</span>
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
width: 659px; width: 659px;
height: 667px; height: 667px;
left: 46px; left: 46px;
top: 497px; top: 50%;
transform: translateY(-50%);
position: absolute; position: absolute;
.noprize_history_bg { .noprize_history_bg {
width: 657px; width: 657px;
......
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