Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend
Project
Project
Details
Activity
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
CI / CD
CI / CD
Pipelines
Schedules
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
h5-communicate
frontend
Commits
186034f2
Commit
186034f2
authored
Jun 08, 2020
by
熊成伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
b475f9de
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
8 additions
and
31 deletions
+8
-31
workspace.xml
.idea/workspace.xml
+0
-0
index.jsx
src/components/BlankTabs/index.jsx
+0
-0
index.less
src/components/BlankTabs/index.less
+0
-0
index.jsx
src/components/LogCard/index.jsx
+1
-1
index.less
src/components/LogCard/index.less
+0
-0
index.jsx
src/components/NoticeTab/index.jsx
+0
-0
index.less
src/components/NoticeTab/index.less
+0
-0
index.jsx
src/components/Steps/index.jsx
+0
-18
index.less
src/components/Steps/index.less
+0
-5
Backlog.jsx
src/pages/Backlog/Backlog.jsx
+3
-3
Process.jsx
src/pages/EventProcessing/Process.jsx
+1
-1
Notice.jsx
src/pages/Notice/Notice.jsx
+2
-2
router.js
src/router.js
+1
-1
No files found.
.idea/workspace.xml
View file @
186034f2
This diff is collapsed.
Click to expand it.
src/components/
Top
Tabs/index.jsx
→
src/components/
Blank
Tabs/index.jsx
View file @
186034f2
File moved
src/components/
Top
Tabs/index.less
→
src/components/
Blank
Tabs/index.less
View file @
186034f2
File moved
src/components/
Todo
Card/index.jsx
→
src/components/
Log
Card/index.jsx
View file @
186034f2
...
@@ -3,7 +3,7 @@ import './index.less'
...
@@ -3,7 +3,7 @@ import './index.less'
const
Index
=
(
props
)
=>
{
const
Index
=
(
props
)
=>
{
return
(
return
(
<
div
className=
"todo-card"
onClick=
{
props
.
onC
L
ick
}
>
<
div
className=
"todo-card"
onClick=
{
props
.
onC
l
ick
}
>
<
div
className=
"todo-title pos-aline"
>
<
div
className=
"todo-title pos-aline"
>
<
div
className=
"pos-aline"
>
<
div
className=
"pos-aline"
>
<
div
className=
"todo-tag pos-aline"
>
<
div
className=
"todo-tag pos-aline"
>
...
...
src/components/
Todo
Card/index.less
→
src/components/
Log
Card/index.less
View file @
186034f2
File moved
src/components/
TopNotice
/index.jsx
→
src/components/
NoticeTab
/index.jsx
View file @
186034f2
File moved
src/components/
TopNotice
/index.less
→
src/components/
NoticeTab
/index.less
View file @
186034f2
File moved
src/components/Steps/index.jsx
deleted
100644 → 0
View file @
b475f9de
import
React
from
'react'
;
import
{
Steps
,
Icon
}
from
'antd-mobile'
const
Step
=
Steps
.
Step
;
// const data = [{}, {current: true}, {}]
const
Index
=
(
props
)
=>
{
return
(
<
Steps
direction=
{
props
.
direction
}
current=
{
3
}
>
<
Step
icon=
{
<
Icon
type=
"check-circle"
size=
"xxs"
/>
}
/>
<
Step
icon=
{
<
Icon
type=
"check-circle"
size=
"xxs"
/>
}
/>
<
Step
status=
"error"
icon=
{
<
Icon
type=
"check-circle"
size=
"xxs"
/>
}
/>
{
/*<Step icon={<div style={{width: 17, height: 17, borderRadius: '50%', background: 'gray'}}/>}/>*/
}
</
Steps
>
);
};
export
default
Index
;
src/components/Steps/index.less
deleted
100644 → 0
View file @
b475f9de
.step_success{
width: 16.7px;
height: 16.7px;
border-radius: 50%;
}
src/pages/Backlog/Backlog.jsx
View file @
186034f2
import
React
,
{
Component
}
from
'react'
;
import
React
,
{
Component
}
from
'react'
;
import
{
WhiteSpace
,
WingBlank
,
ActivityIndicator
}
from
'antd-mobile'
import
{
WhiteSpace
,
WingBlank
,
ActivityIndicator
}
from
'antd-mobile'
import
TodoCard
from
'../../components/
Todo
Card'
import
TodoCard
from
'../../components/
Log
Card'
import
TopSearch
from
'../../components/TopSearch'
import
TopSearch
from
'../../components/TopSearch'
class
Index
extends
Component
{
class
Index
extends
Component
{
...
@@ -11,7 +11,7 @@ class Index extends Component {
...
@@ -11,7 +11,7 @@ class Index extends Component {
};
};
};
};
checkLog
=
()
=>
{
checkLog
=
()
=>
{
this
.
props
.
history
.
push
(
`/blank/example/1`
)
this
.
props
.
history
.
push
(
`/blank/
info/
example/1`
)
}
}
render
()
{
render
()
{
const
{
loading
}
=
this
.
state
;
const
{
loading
}
=
this
.
state
;
...
@@ -28,7 +28,7 @@ class Index extends Component {
...
@@ -28,7 +28,7 @@ class Index extends Component {
[{},{},{},{},{},{}].
map
((
item
,
index
)
=>
(
[{},{},{},{},{},{}].
map
((
item
,
index
)
=>
(
<
div
key=
{
index
}
>
<
div
key=
{
index
}
>
<
WhiteSpace
/>
<
WhiteSpace
/>
<
TodoCard
data=
{
item
}
onC
L
ick=
{
this
.
checkLog
}
/>
<
TodoCard
data=
{
item
}
onC
l
ick=
{
this
.
checkLog
}
/>
</
div
>
</
div
>
))
))
...
...
src/pages/EventProcessing/Process.jsx
View file @
186034f2
import
React
,
{
Component
}
from
'react'
;
import
React
,
{
Component
}
from
'react'
;
import
{
WingBlank
,
WhiteSpace
,
ActionSheet
,
ActivityIndicator
}
from
'antd-mobile'
import
{
WingBlank
,
WhiteSpace
,
ActionSheet
,
ActivityIndicator
}
from
'antd-mobile'
import
'./index.less'
import
'./index.less'
import
TopTabs
from
'../../components/
Top
Tabs'
import
TopTabs
from
'../../components/
Blank
Tabs'
import
Basic
from
'./Basic'
import
Basic
from
'./Basic'
import
Adjunct
from
'./Adjunct'
import
Adjunct
from
'./Adjunct'
import
Flow
from
'./Flow'
;
import
Flow
from
'./Flow'
;
...
...
src/pages/Notice/Notice.jsx
View file @
186034f2
import
React
,
{
Component
}
from
'react'
;
import
React
,
{
Component
}
from
'react'
;
import
{
ActivityIndicator
,
WhiteSpace
,
WingBlank
}
from
'antd-mobile'
import
{
ActivityIndicator
,
WhiteSpace
,
WingBlank
}
from
'antd-mobile'
import
TodoCard
from
'../../components/
Todo
Card'
import
TodoCard
from
'../../components/
Log
Card'
import
TopNotice
from
'../../components/
TopNotice
'
import
TopNotice
from
'../../components/
NoticeTab
'
...
...
src/router.js
View file @
186034f2
...
@@ -30,7 +30,7 @@ const ReactRouter = () => {
...
@@ -30,7 +30,7 @@ const ReactRouter = () => {
}
/
>
}
/
>
<
Route
path
=
"/blank"
component
=
{()
=>
<
Route
path
=
"/blank"
component
=
{()
=>
<
BlankLayout
>
<
BlankLayout
>
<
Route
path
=
"/blank/:name/:id"
component
=
{
Process
}
/
>
<
Route
path
=
"/blank/
info/
:name/:id"
component
=
{
Process
}
/
>
<
/BlankLayout
>
<
/BlankLayout
>
}
/
>
}
/
>
<
Route
component
=
{
NoFound
}
/
>
<
Route
component
=
{
NoFound
}
/
>
...
...
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