Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
icbcRPG
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
icbcRPG
Commits
d9628561
Commit
d9628561
authored
Dec 19, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9130af4d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
82 additions
and
71 deletions
+82
-71
dsl.json
dsl.json
+1
-1
detail2.jsx
project/src/pages/detail2/detail2.jsx
+20
-19
detail2.less
project/src/pages/detail2/detail2.less
+59
-47
loading.jsx
project/src/pages/loading/loading.jsx
+2
-4
No files found.
dsl.json
View file @
d9628561
This source diff could not be displayed because it is too large. You can
view the blob
instead.
project/src/pages/detail2/detail2.jsx
View file @
d9628561
...
@@ -16,7 +16,7 @@ class Detail2 extends Component {
...
@@ -16,7 +16,7 @@ class Detail2 extends Component {
render
()
{
render
()
{
return
(
return
(
<
div
className=
"detail2 "
uuid=
"c5abc304-1a0b-4804-956a-d61c1d5b75ed"
>
<
div
className=
"detail2 "
uuid=
"c5abc304-1a0b-4804-956a-d61c1d5b75ed"
>
<
div
className=
"
"
></
div
>
<
div
className=
"
detail2_wrapper"
uuid=
"583667d9-e382-49d8-bfc9-50b6d800c794"
>
<
img
<
img
className=
"detail2_bg "
className=
"detail2_bg "
uuid=
"2b6c5d97-e458-42a0-b49b-49e9efc6abbc"
uuid=
"2b6c5d97-e458-42a0-b49b-49e9efc6abbc"
...
@@ -39,6 +39,7 @@ class Detail2 extends Component {
...
@@ -39,6 +39,7 @@ class Detail2 extends Component {
/>
/>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
);
);
}
}
}
}
...
...
project/src/pages/detail2/detail2.less
View file @
d9628561
.detail2 {
.detail2 {
width:
100vw
;
width:
750px
;
height: 1
00vh
;
height: 1
624px
;
opacity: 1
;
position: fixed
;
position: absolute
;
left: 0px
;
top: 0;
top: 0
px
;
left:
0;
transform-origin: 0 0
0;
overflow: hidden;
.detail2_wrapper {
.detail2_bg {
.detail2_bg {
width: 750px;
width: 750px;
height: 1624px;
height: 1624px;
position: absolute;
position: absolute;
left: -2px;
top: 0px;
top: 0px;
transform-origin: 0px 0px 0px
;
transform-origin: 0 0 0
;
}
}
.detail2_item {
.detail2_item {
width: 618px;
width: 618px;
...
@@ -52,4 +53,15 @@
...
@@ -52,4 +53,15 @@
position: absolute;
position: absolute;
}
}
}
}
}
.div {
width: 300px;
height: 300px;
opacity: 1;
display: block;
left: 0px;
top: 0px;
position: absolute;
transform-origin: 0px 0px 0px;
}
}
}
project/src/pages/loading/loading.jsx
View file @
d9628561
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
import
{
appID
}
from
'duiba-utils'
;
import
{
appID
}
from
'duiba-utils'
;
import
React
,
{
Component
}
from
'react'
;
import
React
,
{
Component
}
from
'react'
;
import
{
Timer
}
from
'teddi'
;
import
{
Timer
}
from
'teddi'
;
import
resList
from
'../../resconfig/resList'
;
//import API from '../../api';
import
resList
from
'../../resconfig/resList'
;
//import API from '../../api';
import
API
from
'../../api'
;
import
API
from
'../../api'
;
...
@@ -29,8 +28,7 @@ class Loading extends Component {
...
@@ -29,8 +28,7 @@ class Loading extends Component {
const
timer
=
new
Timer
(
1
*
30
,
1000
/
30
);
const
timer
=
new
Timer
(
1
*
30
,
1000
/
30
);
timer
.
on
(
'timer'
,
this
.
onupdate
,
this
);
timer
.
on
(
'timer'
,
this
.
onupdate
,
this
);
timer
.
on
(
'complete'
,
r
,
this
);
timer
.
on
(
'complete'
,
r
,
this
);
timer
.
start
();
timer
.
start
();
// r();
// r();
});
});
}
}
...
...
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