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
5c227879
Commit
5c227879
authored
Dec 18, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
035122e7
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
1 deletion
+7
-1
dsl.json
dsl.json
+1
-1
app.jsx
project/src/app.jsx
+6
-0
sign.jsx
project/src/components/sign/sign.jsx
+0
-0
sign.less
project/src/components/sign/sign.less
+0
-0
No files found.
dsl.json
View file @
5c227879
This diff is collapsed.
Click to expand it.
project/src/app.jsx
View file @
5c227879
...
@@ -8,6 +8,9 @@ MD();
...
@@ -8,6 +8,9 @@ MD();
//此处为spark-cli动态生成
//此处为spark-cli动态生成
import
Loading
from
"./pages/loading/loading.jsx"
;
import
Loading
from
"./pages/loading/loading.jsx"
;
import
Mainpage
from
"./pages/mainpage/mainpage.jsx"
;
import
Mainpage
from
"./pages/mainpage/mainpage.jsx"
;
import
Sign
from
"./components/sign/sign.jsx"
;
import
Select
from
"./components/select/select.jsx"
;
import
Rule
from
"./components/rule/rule.jsx"
;
class
App
extends
Component
{
class
App
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
super
(
props
);
super
(
props
);
...
@@ -26,6 +29,9 @@ class App extends Component {
...
@@ -26,6 +29,9 @@ class App extends Component {
<
div
>
<
div
>
{
page
==
'loading'
&&
<
Loading
data=
{
pagedata
}
navigateTo=
{
this
.
navigateTo
}
></
Loading
>
}
{
page
==
'loading'
&&
<
Loading
data=
{
pagedata
}
navigateTo=
{
this
.
navigateTo
}
></
Loading
>
}
{
page
==
'mainpage'
&&
<
Mainpage
data=
{
pagedata
}
navigateTo=
{
this
.
navigateTo
}
></
Mainpage
>
}
{
page
==
'mainpage'
&&
<
Mainpage
data=
{
pagedata
}
navigateTo=
{
this
.
navigateTo
}
></
Mainpage
>
}
{
/* <Select></Select> */
}
<
Sign
></
Sign
>
{
/* <Rule></Rule> */
}
</
div
>
</
div
>
);
);
}
}
...
...
project/src/
page
s/sign/sign.jsx
→
project/src/
component
s/sign/sign.jsx
View file @
5c227879
File moved
project/src/
page
s/sign/sign.less
→
project/src/
component
s/sign/sign.less
View file @
5c227879
File moved
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