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
9130af4d
Commit
9130af4d
authored
Dec 19, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
72d3071c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
15 deletions
+17
-15
dsl.json
dsl.json
+1
-1
app.jsx
project/src/app.jsx
+1
-1
detail2.jsx
project/src/pages/detail2/detail2.jsx
+1
-0
detail2.less
project/src/pages/detail2/detail2.less
+6
-6
loading.jsx
project/src/pages/loading/loading.jsx
+8
-7
No files found.
dsl.json
View file @
9130af4d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
project/src/app.jsx
View file @
9130af4d
...
...
@@ -16,7 +16,7 @@ class App extends Component {
constructor
(
props
)
{
super
(
props
);
this
.
state
=
{
page
:
'
loading
'
,
page
:
'
detail
'
,
};
}
...
...
project/src/pages/detail2/detail2.jsx
View file @
9130af4d
...
...
@@ -16,6 +16,7 @@ class Detail2 extends Component {
render
()
{
return
(
<
div
className=
"detail2 "
uuid=
"c5abc304-1a0b-4804-956a-d61c1d5b75ed"
>
<
div
className=
""
></
div
>
<
img
className=
"detail2_bg "
uuid=
"2b6c5d97-e458-42a0-b49b-49e9efc6abbc"
...
...
project/src/pages/detail2/detail2.less
View file @
9130af4d
.detail2 {
width: 750px;
height: 1624px;
width: 100vw;
height: 100vh;
opacity: 1;
position: absolute;
left: 0px
;
top: 0px
;
transform-origin: 0 0 0
;
top: 0
;
left: 0
;
overflow: hidden
;
.detail2_bg {
width: 750px;
height: 1624px;
position: absolute;
left: -2px;
top: 0px;
transform-origin: 0px 0px 0px;
}
...
...
project/src/pages/loading/loading.jsx
View file @
9130af4d
'use strict'
;
import
{
appID
}
from
'duiba-utils'
;
import
React
,
{
Component
}
from
'react'
;
// import { Timer } from 'teddi';
import
React
,
{
Component
}
from
'react'
;
import
{
Timer
}
from
'teddi'
;
import
resList
from
'../../resconfig/resList'
;
//import API from '../../api';
...
...
@@ -24,12 +25,12 @@ class Loading extends Component {
getCountdown
()
{
return
new
Promise
((
r
)
=>
{
//
const delta = 30;
//
const timer = new Timer(1 * 30, 1000 / 30);
//
timer.on('timer', this.onupdate, this);
//
timer.on('complete', r, this);
//
timer.start();
r
();
const
delta
=
30
;
const
timer
=
new
Timer
(
1
*
30
,
1000
/
30
);
timer
.
on
(
'timer'
,
this
.
onupdate
,
this
);
timer
.
on
(
'complete'
,
r
,
this
);
timer
.
start
();
//
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