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
97bdf834
Commit
97bdf834
authored
Dec 17, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
7c930082
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
31 deletions
+12
-31
dsl.json
dsl.json
+1
-1
loading.jsx
project/src/pages/loading/loading.jsx
+7
-3
resList.js
project/src/resconfig/resList.js
+4
-27
No files found.
dsl.json
View file @
97bdf834
{
"
assets"
:[{
"name"
:
"loading_bg"
,
"ext"
:
".png"
,
"uuid"
:
"486d644d-196a-4d71-99fe-bbaf06ecacbf"
,
"url"
:
"https://yun.duiba.com.cn/spark/assets/4a232be651feab99b4fba76a9a8359a19eb46219.png"
},{
"name"
:
"loading_front"
,
"ext"
:
".png"
,
"uuid"
:
"042d5356-2585-46db-889d-664a8100598e"
,
"url"
:
"https://yun.duiba.com.cn/spark/assets/da77308a053bd24455373152d12640cdd56215c8.png"
},{
"name"
:
"loading_progress"
,
"ext"
:
".png"
,
"uuid"
:
"97cb2a19-7bb9-4b41-ad0d-2b0f757b97ad"
,
"url"
:
"https://yun.duiba.com.cn/spark/assets/be3668797d9e5bbce50bc3c2a905dbe7d65dc8f0.png"
},{
"name"
:
"loading_icon"
,
"ext"
:
".png"
,
"uuid"
:
"c2df1a83-e9ea-4627-b376-1ac7f3e87b5c"
,
"url"
:
"https://yun.duiba.com.cn/spark/assets/3e280b88318ca603cfd973f81b2238628e543931.png"
}],
"view"
:{
"name"
:
"加载页-合并"
,
"nodeType"
:
"Div"
,
"uuid"
:
"6d605298-7b6f-44a2-ae12-016d515165fb"
,
"children"
:[{
"name"
:
"loading"
,
"properties"
:{
"style"
:{
"width"
:
750
,
"height"
:
1624
,
"position"
:
"absolute"
},
"attrs"
:{},
"className"
:
""
},
"uuid"
:
"b325d068-5750-48c1-8447-29b6f572e955"
,
"nodeType"
:
"Div"
,
"children"
:[{
"name"
:
"loading_bg"
,
"properties"
:{
"style"
:{
"width"
:
750
,
"height"
:
1624
,
"position"
:
"absolute"
},
"attrs"
:{
"source"
:
"asset://486d644d-196a-4d71-99fe-bbaf06ecacbf"
},
"className"
:
""
},
"uuid"
:
"caa1574c-edd4-4b5c-8332-18002df91464"
,
"nodeType"
:
"Image"
},{
"name"
:
"loading_front"
,
"properties"
:{
"style"
:{
"width"
:
679
,
"height"
:
163
,
"left"
:
27
,
"top"
:
693
,
"position"
:
"absolute"
},
"attrs"
:{
"source"
:
"asset://042d5356-2585-46db-889d-664a8100598e"
},
"className"
:
""
},
"uuid"
:
"0fadc807-1e4c-45df-9cb8-db801c1a5426"
,
"nodeType"
:
"Image"
},{
"name"
:
"loading_progress"
,
"properties"
:{
"style"
:{
"width"
:
557
,
"height"
:
37
,
"left"
:
88
,
"top"
:
755
,
"position"
:
"absolute"
},
"attrs"
:{
"source"
:
"asset://97cb2a19-7bb9-4b41-ad0d-2b0f757b97ad"
},
"className"
:
""
},
"uuid"
:
"19f75998-1403-415a-a816-090af61cfc2e"
,
"nodeType"
:
"Image"
},{
"name"
:
"loading_icon"
,
"properties"
:{
"style"
:{
"width"
:
101
,
"height"
:
133
,
"left"
:
336
,
"top"
:
623
,
"position"
:
"absolute"
},
"attrs"
:{
"source"
:
"asset://c2df1a83-e9ea-4627-b376-1ac7f3e87b5c"
},
"className"
:
""
},
"uuid"
:
"fe96070d-8add-43d9-8575-a519d4981222"
,
"nodeType"
:
"Image"
}],
"viewType"
:
"Page"
}]}
}
{
"
view"
:{
"name"
:
"加载页-合并"
,
"nodeType"
:
"Div"
,
"uuid"
:
"6d605298-7b6f-44a2-ae12-016d515165fb"
,
"children"
:[{
"name"
:
"loading"
,
"properties"
:{
"style"
:{
"width"
:
750
,
"height"
:
1624
,
"position"
:
"absolute"
},
"attrs"
:{},
"className"
:
""
},
"uuid"
:
"b325d068-5750-48c1-8447-29b6f572e955"
,
"nodeType"
:
"Div"
,
"children"
:[{
"name"
:
"loading_bg"
,
"properties"
:{
"style"
:{
"width"
:
750
,
"height"
:
1624
,
"position"
:
"absolute"
},
"attrs"
:{
"source"
:
"asset://486d644d-196a-4d71-99fe-bbaf06ecacbf"
},
"className"
:
""
},
"uuid"
:
"caa1574c-edd4-4b5c-8332-18002df91464"
,
"nodeType"
:
"Image"
},{
"name"
:
"loading_front"
,
"properties"
:{
"style"
:{
"width"
:
679
,
"height"
:
163
,
"left"
:
27
,
"top"
:
693
,
"position"
:
"absolute"
},
"attrs"
:{
"source"
:
"asset://042d5356-2585-46db-889d-664a8100598e"
},
"className"
:
""
},
"uuid"
:
"0fadc807-1e4c-45df-9cb8-db801c1a5426"
,
"nodeType"
:
"Image"
},{
"name"
:
"loading_progress"
,
"properties"
:{
"style"
:{
"width"
:
557
,
"height"
:
37
,
"left"
:
88
,
"top"
:
755
,
"position"
:
"absolute"
},
"attrs"
:{
"source"
:
"asset://97cb2a19-7bb9-4b41-ad0d-2b0f757b97ad"
},
"className"
:
""
},
"uuid"
:
"19f75998-1403-415a-a816-090af61cfc2e"
,
"nodeType"
:
"Image"
},{
"name"
:
"loading_icon"
,
"properties"
:{
"style"
:{
"width"
:
101
,
"height"
:
133
,
"left"
:
336
,
"top"
:
623
,
"position"
:
"absolute"
},
"attrs"
:{
"source"
:
"asset://c2df1a83-e9ea-4627-b376-1ac7f3e87b5c"
},
"className"
:
""
},
"uuid"
:
"fe96070d-8add-43d9-8575-a519d4981222"
,
"nodeType"
:
"Image"
}],
"viewType"
:
"Page"
}]},
"assets"
:[{
"name"
:
"loading_bg"
,
"ext"
:
".png"
,
"uuid"
:
"486d644d-196a-4d71-99fe-bbaf06ecacbf"
,
"url"
:
"https://yun.duiba.com.cn/spark/assets/4a232be651feab99b4fba76a9a8359a19eb46219.png"
},{
"name"
:
"loading_front"
,
"ext"
:
".png"
,
"uuid"
:
"042d5356-2585-46db-889d-664a8100598e"
,
"url"
:
"https://yun.duiba.com.cn/spark/assets/da77308a053bd24455373152d12640cdd56215c8.png"
},{
"name"
:
"loading_progress"
,
"ext"
:
".png"
,
"uuid"
:
"97cb2a19-7bb9-4b41-ad0d-2b0f757b97ad"
,
"url"
:
"https://yun.duiba.com.cn/spark/assets/be3668797d9e5bbce50bc3c2a905dbe7d65dc8f0.png"
},{
"name"
:
"loading_icon"
,
"ext"
:
".png"
,
"uuid"
:
"c2df1a83-e9ea-4627-b376-1ac7f3e87b5c"
,
"url"
:
"https://yun.duiba.com.cn/spark/assets/3e280b88318ca603cfd973f81b2238628e543931.png"
}],
"animations"
:[],
"dependencies"
:{},
"customModules"
:{},
"type"
:
"save dsljson"
}
project/src/pages/loading/loading.jsx
View file @
97bdf834
'use strict'
;
'use strict'
;
import
React
,
{
Component
}
from
'react'
;
import
React
,
{
Component
}
from
'react'
;
import
resList
from
'../../resconfig/resList'
;
import
resList
from
'../../resconfig/resList'
;
//import API from '../../api';
//import API from '../../api';
import
'./loading.less'
;
import
'./loading.less'
;
class
Loading
extends
Component
{
class
Loading
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
super
(
props
);
super
(
props
);
this
.
state
=
{
resList
:
resList
};
this
.
state
=
{
resList
:
resList
,
};
}
}
render
()
{
render
()
{
return
(
return
(
<
div
className=
"loading "
uuid=
"b325d068-5750-48c1-8447-29b6f572e955"
>
<
div
className=
"loading "
uuid=
"b325d068-5750-48c1-8447-29b6f572e955"
>
...
@@ -37,4 +40,5 @@ class Loading extends Component {
...
@@ -37,4 +40,5 @@ class Loading extends Component {
);
);
}
}
}
}
export
default
Loading
;
export
default
Loading
;
project/src/resconfig/resList.js
View file @
97bdf834
const
resList
=
{
const
resList
=
{
'486d644d-196a-4d71-99fe-bbaf06ecacbf'
:
{
"486d644d-196a-4d71-99fe-bbaf06ecacbf"
:{
"name"
:
"loading_bg"
,
"ext"
:
".png"
,
"uuid"
:
"486d644d-196a-4d71-99fe-bbaf06ecacbf"
,
"url"
:
"https://yun.duiba.com.cn/spark/assets/4a232be651feab99b4fba76a9a8359a19eb46219.png"
},
"042d5356-2585-46db-889d-664a8100598e"
:{
"name"
:
"loading_front"
,
"ext"
:
".png"
,
"uuid"
:
"042d5356-2585-46db-889d-664a8100598e"
,
"url"
:
"https://yun.duiba.com.cn/spark/assets/da77308a053bd24455373152d12640cdd56215c8.png"
},
"97cb2a19-7bb9-4b41-ad0d-2b0f757b97ad"
:{
"name"
:
"loading_progress"
,
"ext"
:
".png"
,
"uuid"
:
"97cb2a19-7bb9-4b41-ad0d-2b0f757b97ad"
,
"url"
:
"https://yun.duiba.com.cn/spark/assets/be3668797d9e5bbce50bc3c2a905dbe7d65dc8f0.png"
},
"c2df1a83-e9ea-4627-b376-1ac7f3e87b5c"
:{
"name"
:
"loading_icon"
,
"ext"
:
".png"
,
"uuid"
:
"c2df1a83-e9ea-4627-b376-1ac7f3e87b5c"
,
"url"
:
"https://yun.duiba.com.cn/spark/assets/3e280b88318ca603cfd973f81b2238628e543931.png"
},
name
:
'loading_bg'
,
}
ext
:
'.png'
,
export
default
resList
;
uuid
:
'486d644d-196a-4d71-99fe-bbaf06ecacbf'
,
\ No newline at end of file
url
:
'https://yun.duiba.com.cn/spark/assets/4a232be651feab99b4fba76a9a8359a19eb46219.png'
,
},
'042d5356-2585-46db-889d-664a8100598e'
:
{
name
:
'loading_front'
,
ext
:
'.png'
,
uuid
:
'042d5356-2585-46db-889d-664a8100598e'
,
url
:
'https://yun.duiba.com.cn/spark/assets/da77308a053bd24455373152d12640cdd56215c8.png'
,
},
'97cb2a19-7bb9-4b41-ad0d-2b0f757b97ad'
:
{
name
:
'loading_progress'
,
ext
:
'.png'
,
uuid
:
'97cb2a19-7bb9-4b41-ad0d-2b0f757b97ad'
,
url
:
'https://yun.duiba.com.cn/spark/assets/be3668797d9e5bbce50bc3c2a905dbe7d65dc8f0.png'
,
},
'c2df1a83-e9ea-4627-b376-1ac7f3e87b5c'
:
{
name
:
'loading_icon'
,
ext
:
'.png'
,
uuid
:
'c2df1a83-e9ea-4627-b376-1ac7f3e87b5c'
,
url
:
'https://yun.duiba.com.cn/spark/assets/3e280b88318ca603cfd973f81b2238628e543931.png'
,
},
};
export
default
resList
;
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