Commit d5e965a7 authored by 李硕's avatar 李硕

提交

parent 75c7487d
......@@ -14,8 +14,8 @@ export class BaseRouter extends Component {
return (
<Router history={mHistory}>
<Switch>
<Route path="/" exact component={Pagemainscene} />
<Route path="/a" exact component={Pagewishscene} />
<Route path="/a" exact component={Pagemainscene} />
<Route path="/" exact component={Pagewishscene} />
<Route path="/b" exact component={Pageresultscene} />
</Switch>
</Router>
......
......@@ -5,12 +5,14 @@
height: 1624px;
display: block;
position: absolute;
.guide {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
.guidebg {
width: 750px;
height: 1624px;
......@@ -18,6 +20,7 @@
position: absolute;
transform-origin: 0px 0px 0px;
}
.guidebtn {
width: 286px;
height: 78px;
......@@ -27,6 +30,7 @@
position: absolute;
transform-origin: 0px 0px 0px;
}
.hand {
width: 79px;
height: 91px;
......@@ -35,6 +39,19 @@
top: 243px;
position: absolute;
transform-origin: 0px 0px 0px;
animation: move 1s linear infinite;
}
@keyframes move {
0% {
transform: rotate(-30deg);
}
50% {
transform: rotate(30deg);
}
100% {
transform: rotate(-30deg);
}
}
}
}
}
\ No newline at end of file
......@@ -5,6 +5,7 @@
height: 1624px;
display: block;
position: absolute;
.awardshow {
width: 769px;
height: 1624px;
......@@ -14,6 +15,7 @@
transform-origin: 0px 0px 0px;
display: block;
top: 0px;
.shadow {
width: 750px;
height: 1624px;
......@@ -22,6 +24,7 @@
position: absolute;
transform-origin: 0px 0px 0px;
}
.prize {
width: 769px;
height: 951px;
......@@ -29,7 +32,9 @@
top: 295px;
position: absolute;
transform-origin: 0px 0px 0px;
animation: openPrize 1s linear infinite;
}
.awardcontent {
width: 365px;
height: 105px;
......@@ -42,4 +47,19 @@
color: rgba(254, 221, 180, 1);
}
}
}
@keyframes openPrize {
0% {
transform: rotate(-30deg);
}
50% {
transform: rotate(30deg);
}
100% {
transform: rotate(-30deg);
}
}
}
\ No newline at end of file
......@@ -58,8 +58,12 @@ class Pagewishscene extends Component {
};
}
componentDidMount() {
this.initPagesData();
this.getWishTagsList();
//动画调试
// this.modalControl(MODAL_NAME.P_GUIDE);
this.modalControl(MODAL_NAME.P_PRIZE_OPEN);
// this.initPagesData();
// this.getWishTagsList();
}
/**
......
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