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
842aba95
Commit
842aba95
authored
Dec 22, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1f01001c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
27 deletions
+37
-27
launch.json
project/.vscode/launch.json
+15
-0
index.js
project/mock/e-family/index.js
+1
-1
detail2.less
project/src/pages/detail2/detail2.less
+10
-16
loading.jsx
project/src/pages/loading/loading.jsx
+7
-1
main3.jsx
project/src/pages/main3/main3.jsx
+4
-9
No files found.
project/.vscode/launch.json
0 → 100644
View file @
842aba95
{
//
Use
IntelliSense
to
learn
about
possible
attributes.
//
Hover
to
view
descriptions
of
existing
attributes.
//
For
more
information
,
visit
:
https
:
//go.microsoft.com/fwlink/?linkid=
830387
"version"
:
"0.2.0"
,
"configurations"
:
[
{
"type"
:
"chrome"
,
"request"
:
"launch"
,
"name"
:
"Launch Chrome against localhost"
,
"url"
:
"http://localhost:8088/"
,
"webRoot"
:
"${workspaceFolder}"
}
]
}
\ No newline at end of file
project/mock/e-family/index.js
View file @
842aba95
...
...
@@ -13,7 +13,7 @@ export const homeInfo = {
"figureId"
:
"3"
}
],
"newUser"
:
fals
e
,
"newUser"
:
tru
e
,
"userInfo"
:
{
"figureId"
:
"1"
,
"joyBeans"
:
10000
,
...
...
project/src/pages/detail2/detail2.less
View file @
842aba95
...
...
@@ -48,36 +48,30 @@
position: relative;
box-sizing: border-box;
width: 618px;
height: 91px;
padding: 25px 0 0 ;
// width: 618px;
// height: 91px;
// left: 65px;
// top: 235px;
// position: absolute;
height: 109px;
.detail2_item_title {
width: 193px;
height: 23px;
//
width: 193px;
//
height: 23px;
left: 53px;
top:20px;
position: absolute;
font-size: 24px;
color: #474747;
}
.detail2_item_day {
width: 284px;
height: 16px;
//
width: 284px;
//
height: 16px;
left: 52px;
top:
4
2px;
top:
6
2px;
position: absolute;
font-size: 20px;
color: #949494;
}
.detail2_item_num {
width: 88px;
height: 31px;
//
width: 88px;
//
height: 31px;
left: 455px;
top:
8
px;
top:
23
px;
position: absolute;
font-size: 40px;
color: #474747;
...
...
project/src/pages/loading/loading.jsx
View file @
842aba95
...
...
@@ -91,8 +91,14 @@ class Loading extends Component {
if
(
homeinfo
){
const
{
newUser
}
=
homeinfo
;
if
(
newUser
){
if
(
newUser
){
//新用户,走选择,然后再走引导,引导结束后,走签到
Aup
.
show
(
'Select'
,
{},
this
);
}
else
{
API
.
signInfo
().
then
((
res
)
=>
{
const
{
needPopup
}
=
res
.
data
;
if
(
needPopup
)
Aup
.
show
(
'Sign'
,
res
.
data
,
this
);
})
}
}
}
...
...
project/src/pages/main3/main3.jsx
View file @
842aba95
...
...
@@ -2,7 +2,7 @@
import
React
,
{
Component
}
from
'react'
;
import
resList
from
'../../resconfig/resList'
;
//import API from '../../api';
import
API
from
'../../api'
;
import
{
Aup
,
AUPOP
,
AUP_MBX_STATE
}
from
'../../pop'
;
import
'./main3.less'
;
import
{
CanvasWidget
}
from
'spark-utils'
;
...
...
@@ -29,7 +29,9 @@ class Main3 extends Component {
}
onClick_signBtn
=
()
=>
{
Aup
.
show
(
'Sign'
,
{},
this
);
API
.
signInfo
().
then
((
res
)
=>
{
Aup
.
show
(
'Sign'
,
res
.
data
,
this
);
})
// console.log('onClick_signBtn')
}
...
...
@@ -48,13 +50,6 @@ class Main3 extends Component {
componentDidMount
()
{
this
.
initEvent
();
// if (this.props.data) {
// setTimeout(() => {
// // Aup.show('PopRule', {}, this)
// // Aup.show('Userinfo', {}, this);
// // Aup.show('Sign', {}, this); // Aup.show('Select', {}, this);
// }, 200);
// }
}
initEvent
()
{
GDispatcher
.
addEventListener
(
Store
.
homeinfo
,
this
.
freshHomeInfo
,
this
);
...
...
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