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
e28013de
Commit
e28013de
authored
Dec 19, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f0404515
Changes
13
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
28 additions
and
510 deletions
+28
-510
dsl.json
dsl.json
+1
-1
rule.less
project/src/components/rule/rule.less
+2
-2
select.jsx
project/src/components/select/select.jsx
+2
-2
select.less
project/src/components/select/select.less
+2
-2
sign.jsx
project/src/components/sign/sign.jsx
+3
-4
sign.less
project/src/components/sign/sign.less
+2
-2
userinfo.jsx
project/src/components/userinfo/userinfo.jsx
+7
-4
userinfo.less
project/src/components/userinfo/userinfo.less
+2
-2
detail.jsx
project/src/pages/detail/detail.jsx
+0
-41
detail.less
project/src/pages/detail/detail.less
+0
-51
loading.jsx
project/src/pages/loading/loading.jsx
+2
-2
mainpage.jsx
project/src/pages/mainpage/mainpage.jsx
+1
-4
resList.js
project/src/resconfig/resList.js
+4
-393
No files found.
dsl.json
View file @
e28013de
This diff is collapsed.
Click to expand it.
project/src/components/rule/rule.less
View file @
e28013de
.rule {
.rule {
width: 612px;
width: 612px;
height: 784px;
height: 784px;
left:
calc(50% - (612px / 2))
;
left:
71px
;
top:
calc(50% - (784px / 2))
;
top:
386px
;
position: absolute;
position: absolute;
.rule_bg {
.rule_bg {
width: 609px;
width: 609px;
...
...
project/src/components/select/select.jsx
View file @
e28013de
...
@@ -13,9 +13,9 @@ class Select extends Component {
...
@@ -13,9 +13,9 @@ class Select extends Component {
};
};
}
}
componentDidMount
(){
componentDidMount
()
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
console
.
log
(
'关闭这个弹窗'
)
console
.
log
(
'关闭这个弹窗'
)
;
this
.
props
.
onClose
();
this
.
props
.
onClose
();
},
1000
);
},
1000
);
}
}
...
...
project/src/components/select/select.less
View file @
e28013de
.select {
.select {
width: 656px;
width: 656px;
height: 1140px;
height: 1140px;
left:
calc(50% - (656px / 2))
;
left:
47px
;
top:
calc(50% - (1140px / 2))
;
top:
228px
;
position: absolute;
position: absolute;
.select_role1 {
.select_role1 {
width: 535px;
width: 535px;
...
...
project/src/components/sign/sign.jsx
View file @
e28013de
...
@@ -4,8 +4,7 @@ import React, { Component } from 'react';
...
@@ -4,8 +4,7 @@ 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'
import
{
Toast
,
Loading
,
Badge
,
CountDownButton
,
InputNumber
}
from
'@spark/ui'
;
class
Sign
extends
Component
{
class
Sign
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -15,9 +14,9 @@ class Sign extends Component {
...
@@ -15,9 +14,9 @@ class Sign extends Component {
};
};
}
}
componentDidMount
(){
componentDidMount
()
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
Toast
(
'sdfsdfsdfsdf'
,
1000
*
100
)
Toast
(
'sdfsdfsdfsdf'
,
1000
*
100
);
},
1000
);
},
1000
);
}
}
...
...
project/src/components/sign/sign.less
View file @
e28013de
.sign {
.sign {
width: 612px;
width: 612px;
height: 936px;
height: 936px;
left:
calc(50% - (612px / 2))
;
left:
71px
;
top:
calc(50% - (936px / 2))
;
top:
291px
;
position: absolute;
position: absolute;
.sign_bg {
.sign_bg {
width: 609px;
width: 609px;
...
...
project/src/components/userinfo/userinfo.jsx
View file @
e28013de
'use strict'
;
'use strict'
;
import
React
,
{
Component
}
from
'react'
;
import
React
,
{
Component
}
from
'react'
;
import
{
Aup
}
from
'../../pop'
import
{
Aup
}
from
'../../pop'
;
import
resList
from
'../../resconfig/resList'
;
import
resList
from
'../../resconfig/resList'
;
import
'./userinfo.less'
;
import
'./userinfo.less'
;
class
Userinfo
extends
Component
{
class
Userinfo
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
super
(
props
);
super
(
props
);
this
.
state
=
{
resList
:
resList
};
this
.
state
=
{
resList
:
resList
,
};
}
}
render
()
{
render
()
{
...
@@ -39,4 +41,5 @@ class Userinfo extends Component {
...
@@ -39,4 +41,5 @@ class Userinfo extends Component {
);
);
}
}
}
}
export
default
Userinfo
;
export
default
Userinfo
;
project/src/components/userinfo/userinfo.less
View file @
e28013de
.userinfo {
.userinfo {
width: 514px;
width: 514px;
height: 555px;
height: 555px;
left:
calc(50% - (514px / 2))
;
left:
121px
;
top:
calc(50% - (555px / 2))
;
top:
486px
;
position: absolute;
position: absolute;
.userinfo_bg {
.userinfo_bg {
width: 509px;
width: 509px;
...
...
project/src/pages/detail/detail.jsx
deleted
100644 → 0
View file @
f0404515
'use strict'
;
import
React
,
{
Component
}
from
'react'
;
import
resList
from
'../../resconfig/resList'
;
//import API from '../../api';
import
'./detail.less'
;
class
Detail
extends
Component
{
constructor
(
props
)
{
super
(
props
);
this
.
state
=
{
resList
:
resList
};
}
render
()
{
return
(
<
div
className=
"detail "
uuid=
"40303f78-3c87-463f-8633-a0043cdf118a"
>
<
img
className=
"bg "
uuid=
"9f7c3255-2829-4c0a-8585-5b668ddcde02"
src=
{
this
.
state
.
resList
[
'129f287f-8585-4d2b-b154-1de369768dd4'
].
url
}
/>
<
div
className=
"detail_item "
uuid=
"9692209d-7d42-40b7-bd7c-d1b6c4132233"
>
<
span
className=
"detail_item_title "
uuid=
"b2dee338-d45c-4f0c-b323-44ba03104e16"
>
每日签到
</
span
>
<
span
className=
"detail_item_day "
uuid=
"2d667e76-6d99-405c-92d3-1794b0679731"
>
2020-12-25 09:54:30
</
span
>
<
span
className=
"detail_item_num "
uuid=
"cd162388-3e1d-4f2e-a14e-539adac55aea"
>
+418
</
span
>
<
img
className=
"detail_item_bg "
uuid=
"1f564446-2649-497d-b70b-4424ae06c7cc"
src=
{
this
.
state
.
resList
[
'0b91c63a-0cc0-4dde-b95e-5d17ca479291'
].
url
}
/>
</
div
>
</
div
>
);
}
}
export
default
Detail
;
project/src/pages/detail/detail.less
deleted
100644 → 0
View file @
f0404515
.detail {
width: 1600px;
height: 3511px;
left: -379px;
top: -572px;
position: absolute;
.bg {
width: 1600px;
height: 3511px;
position: absolute;
}
.detail_item {
width: 618px;
height: 91px;
left: 444px;
top: 807px;
position: absolute;
.detail_item_title {
width: 93px;
height: 23px;
left: 53px;
position: absolute;
font-size: 24px;
color: rgba(71, 71, 71, 1);
}
.detail_item_day {
width: 184px;
height: 16px;
left: 52px;
top: 42px;
position: absolute;
font-size: 20px;
color: rgba(148, 148, 148, 1);
}
.detail_item_num {
width: 88px;
height: 31px;
left: 455px;
top: 8px;
position: absolute;
font-size: 40px;
color: rgba(71, 71, 71, 1);
}
.detail_item_bg {
width: 618px;
height: 1px;
top: 90px;
position: absolute;
}
}
}
project/src/pages/loading/loading.jsx
View file @
e28013de
'use strict'
;
'use strict'
;
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'
;
...
...
project/src/pages/mainpage/mainpage.jsx
View file @
e28013de
...
@@ -16,14 +16,11 @@ class Mainpage extends Component {
...
@@ -16,14 +16,11 @@ class Mainpage extends Component {
componentDidMount
()
{
componentDidMount
()
{
if
(
this
.
props
.
data
)
{
if
(
this
.
props
.
data
)
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
// Aup.show('PopRule', {}, this)
// Aup.show('PopRule', {}, this)
// Aup.show('Userinfo', {}, this);
// Aup.show('Userinfo', {}, this);
Aup
.
show
(
'Sign'
,
{},
this
);
Aup
.
show
(
'Sign'
,
{},
this
);
// Aup.show('Select', {}, this);
// Aup.show('Select', {}, this);
},
200
);
},
200
);
}
}
}
}
...
...
project/src/resconfig/resList.js
View file @
e28013de
This diff is collapsed.
Click to expand it.
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