Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
max_android_panel
Overview
Overview
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
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xin
max_android_panel
Commits
c204ecff
Commit
c204ecff
authored
Sep 18, 2018
by
wujiabao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add breakage页面
parent
6a12c70a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
8 deletions
+10
-8
client/components/BreakageComponent/BreakageCode/BreakageCode.jsx
+3
-1
client/containers/BreakageContainer/BreakageConatiner.jsx
+5
-1
client/containers/HomePageContainer/HomePageContainer.jsx
+1
-5
client/containers/PageContainer/PageContainer.jsx
+1
-1
No files found.
client/components/BreakageComponent/BreakageCode/BreakageCode.jsx
View file @
c204ecff
...
...
@@ -8,7 +8,9 @@ class BreakageCode extends React.Component{
render
(){
return
(
<
div
className=
{
'breakageContent'
}
>
<
div
className=
{
'breakageHeader'
}
>
</
div
>
</
div
>
)
}
...
...
client/containers/BreakageContainer/BreakageConatiner.jsx
View file @
c204ecff
...
...
@@ -4,12 +4,13 @@ import RightContainer from '../RightContainer/RightContainer'
import
HeaderComponent
from
'../../components/CommonComponent/HeaderComponent/HeaderComponent'
import
DefaultComponent
from
'../../components/BreakageComponent/defaultComponent/DefaultComponnet'
import
BreakageProductDetail
from
'../../components/BreakageComponent/BreakageProductDetail/BreakageProductDetail'
import
BreakageCode
from
'../../components/BreakageComponent/BreakageCode/BreakageCode'
require
(
'./index.css'
)
class
BreakageContainer
extends
React
.
Component
{
constructor
(
props
){
super
(
props
)
this
.
state
=
{
showPage
:
2
showPage
:
3
}
}
...
...
@@ -45,6 +46,9 @@ class BreakageContainer extends React.Component {
case
2
:
pages
=
<
BreakageProductDetail
/>
break
;
case
3
:
pages
=
<
BreakageCode
/>
break
;
}
return
pages
;
}
...
...
client/containers/HomePageContainer/HomePageContainer.jsx
View file @
c204ecff
...
...
@@ -19,10 +19,6 @@ export default class HomePageContainer extends React.Component{
let
{
headerInfo
}
=
props
;
let
{
taskInfo
=
{}}
=
headerInfo
;
let
buttonStyle
=
{
background
:
'#ff775c'
,
margin
:
"0 auto"
,
marginTop
:
'77px'
};
let
classInfo
=
{
colorInfo
:
'colfff'
,
fontInfo
:
'font30'
};
return
(
<
div
>
<
HeaderComponent
...
...
@@ -36,7 +32,7 @@ export default class HomePageContainer extends React.Component{
:
null
}
<
div
className=
{
"homeText font42"
}
style=
{
{
fontWeight
:
'800'
,
marginTop
:
'20px'
}
}
>
下午好, 你辛苦了!
</
div
>
<
Button
text=
{
'开始工作'
}
classInfo=
{
classInfo
}
style=
{
buttonStyle
}
option=
{
this
.
start
.
bind
(
this
)
}
/>
<
Button
text=
{
'开始工作'
}
btnContainer=
{
'colfff font30'
}
style=
{
buttonStyle
}
option=
{
this
.
start
.
bind
(
this
)
}
/>
</
div
>
</
div
>
...
...
client/containers/PageContainer/PageContainer.jsx
View file @
c204ecff
...
...
@@ -56,7 +56,7 @@ class PageContainer extends React.Component {
constructor
(
props
)
{
super
(
props
);
this
.
state
=
{
showPage
:
showPage
[
5
],
showPage
:
showPage
[
13
],
lastPage
:
''
,
page
:
null
,
popupInfo
:
defaultPopupInfo
,
...
...
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