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
7c72662d
Commit
7c72662d
authored
Dec 19, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
dcb77cf6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
71 additions
and
0 deletions
+71
-0
package-lock.json
project/package-lock.json
+9
-0
package.json
project/package.json
+1
-0
app.less
project/src/app.less
+53
-0
sign.jsx
project/src/components/sign/sign.jsx
+8
-0
No files found.
project/package-lock.json
View file @
7c72662d
...
@@ -34,6 +34,15 @@
...
@@ -34,6 +34,15 @@
"spark-wrapper-fyge"
:
"^1.0.4"
"spark-wrapper-fyge"
:
"^1.0.4"
}
}
},
},
"@spark/ui"
:
{
"version"
:
"1.0.25"
,
"resolved"
:
"http://npm.dui88.com:80/@spark%2fui/-/ui-1.0.25.tgz"
,
"integrity"
:
"sha512-NjY36x9pcPH/ULPr6TJMXFJFVRLnyb1uEvJp5pqwK+1JJF33yxmY5g/gDEXI/p/hWTAuO7XRL/2fpjylfddvpA=="
,
"requires"
:
{
"@types/react"
:
"^16.9.56"
,
"spark-wrapper-fyge"
:
"^1.0.4"
}
},
"@spark/utils"
:
{
"@spark/utils"
:
{
"version"
:
"1.0.30"
,
"version"
:
"1.0.30"
,
"resolved"
:
"http://npm.dui88.com:80/@spark%2futils/-/utils-1.0.30.tgz"
,
"resolved"
:
"http://npm.dui88.com:80/@spark%2futils/-/utils-1.0.30.tgz"
,
...
...
project/package.json
View file @
7c72662d
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
"dependencies"
:
{
"dependencies"
:
{
"@spark/api-base"
:
"^1.0.11"
,
"@spark/api-base"
:
"^1.0.11"
,
"@spark/projectx"
:
"^1.0.3"
,
"@spark/projectx"
:
"^1.0.3"
,
"@spark/ui"
:
"^1.0.25"
,
"axios"
:
"^0.19.2"
,
"axios"
:
"^0.19.2"
,
"css-loader"
:
"^3.6.0"
,
"css-loader"
:
"^3.6.0"
,
"duiba-utils"
:
"^1.0.2"
,
"duiba-utils"
:
"^1.0.2"
,
...
...
project/src/app.less
View file @
7c72662d
...
@@ -8,3 +8,56 @@ body {
...
@@ -8,3 +8,56 @@ body {
width: 100%;
width: 100%;
height: 100%;
height: 100%;
}
}
#toast_container * {
box-sizing: border-box;
}
.toast-list {
box-sizing: border-box;
position: fixed;
top: 50%;
left: 50%;
z-index: 2001;
line-height: 1.5;
text-align: center;
transform: translate(-50%, -50%);
}
.toast-message {
opacity: 1;
margin-bottom: 10px;
font-size: 0;
transition: height 0.3s, opacity 0.3s, transform 0.3s;
}
.toast-content {
display: inline-block;
overflow: hidden;
min-width: 520px;
padding: 50px 22px;
background: rgba(0, 0, 10, 0.75);
box-shadow: 1px 2px 5px 1px rgba(0, 0, 0, 0.2);
border-radius: 10px;
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
color: #fff;
font-size: 24px;
text-align: center;
line-height: 1.5;
}
.toast-enter {
height: 0;
}
.toast-enter-active {
opacity: 1;
}
.toast-enter-done {
opacity: 1;
}
.toast-exit-active {
transform: translateY(-10px);
}
.btn_heartbeats {
transform-origin: center center;
animation: heartbeats 0.775s infinite;
}
\ No newline at end of file
project/src/components/sign/sign.jsx
View file @
7c72662d
...
@@ -4,6 +4,8 @@ import React, { Component } from 'react';
...
@@ -4,6 +4,8 @@ import React, { Component } from 'react';
import
resList
from
'../../resconfig/resList'
;
//import API from '../../api';
import
resList
from
'../../resconfig/resList'
;
//import API from '../../api';
import
'./sign.less'
;
import
'./sign.less'
;
import
{
Toast
,
Loading
,
Badge
,
CountDownButton
,
InputNumber
}
from
'@spark/ui'
class
Sign
extends
Component
{
class
Sign
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -13,6 +15,12 @@ class Sign extends Component {
...
@@ -13,6 +15,12 @@ class Sign extends Component {
};
};
}
}
componentDidMount
(){
setTimeout
(()
=>
{
Toast
(
'sdfsdfsdfsdf'
,
1000
*
100
)
},
1000
);
}
render
()
{
render
()
{
return
(
return
(
<
div
className=
"sign "
uuid=
"14a66aed-4e41-4fea-9d16-6aa02c1bad5a"
>
<
div
className=
"sign "
uuid=
"14a66aed-4e41-4fea-9d16-6aa02c1bad5a"
>
...
...
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