Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
Project
Project
Details
Activity
Releases
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
崔立强
db-game-template
Commits
d5e965a7
Commit
d5e965a7
authored
Dec 08, 2020
by
李硕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
75c7487d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
6 deletions
+47
-6
BaseRouter.jsx
wishList/project/src/BaseRouter.jsx
+2
-2
comguidepanel.less
...t/project/src/components/comguidepanel/comguidepanel.less
+18
-1
comshowprizepanel.less
...t/src/components/comshowprizepanel/comshowprizepanel.less
+21
-1
pagewishscene.jsx
wishList/project/src/pages/pagewishscene/pagewishscene.jsx
+6
-2
No files found.
wishList/project/src/BaseRouter.jsx
View file @
d5e965a7
...
...
@@ -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
>
...
...
wishList/project/src/components/comguidepanel/comguidepanel.less
View file @
d5e965a7
...
...
@@ -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
wishList/project/src/components/comshowprizepanel/comshowprizepanel.less
View file @
d5e965a7
...
...
@@ -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
wishList/project/src/pages/pagewishscene/pagewishscene.jsx
View file @
d5e965a7
...
...
@@ -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();
}
/**
...
...
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