Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cdsf-wx-app
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姜雷
cdsf-wx-app
Commits
361567b7
Commit
361567b7
authored
Nov 15, 2018
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' into 'master'
Test See merge request
!20
parents
b31bef40
718da86d
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
5 deletions
+27
-5
PublicCarList.js
src/containers/PublicCar/PublicCarList.js
+1
-1
PublicCarItem.js
src/containers/PublicCar/components/PublicCarItem.js
+6
-1
style.css
src/containers/PublicCar/components/style.css
+4
-0
index.js
src/containers/PublicCarDeal/index.js
+1
-1
RepairItem.js
src/containers/Repair/components/RepairItem.js
+10
-2
style.css
src/containers/Repair/components/style.css
+5
-0
No files found.
src/containers/PublicCar/PublicCarList.js
View file @
361567b7
...
@@ -97,7 +97,7 @@ class PublicCarList extends Component {
...
@@ -97,7 +97,7 @@ class PublicCarList extends Component {
MyBody
=
props
=>
{
MyBody
=
props
=>
{
return
(
return
(
<
div
className
=
{
styles
.
repairList
}
>
<
div
className
=
{
styles
.
repairList
}
>
<
div
className
=
{
styles
.
listInfo
}
>
显示最近半年的
报修
记录
<
/div
>
<
div
className
=
{
styles
.
listInfo
}
>
显示最近半年的
约车
记录
<
/div
>
{
props
.
children
}
{
props
.
children
}
<
/div
>
<
/div
>
);
);
...
...
src/containers/PublicCar/components/PublicCarItem.js
View file @
361567b7
...
@@ -43,7 +43,12 @@ class PublicCarItem extends Component {
...
@@ -43,7 +43,12 @@ class PublicCarItem extends Component {
<
img
src
=
{
titleIcon
}
alt
=
""
/>
<
img
src
=
{
titleIcon
}
alt
=
""
/>
<
/i
>
<
/i
>
<
/div
>
<
/div
>
<
div
className
=
{
styles
.
content
}
onClick
=
{
this
.
toggleDetail
}
>
<
div
className
=
{
`
${
styles
.
content
}
${
showDetail
?
styles
.
showDetailContent
:
''
}
`
}
onClick
=
{
this
.
toggleDetail
}
>
{
data
.
dealResult
===
1
?
(
{
data
.
dealResult
===
1
?
(
<
div
className
=
{
styles
.
dealing
}
onClick
=
{
this
.
dealHandle
}
>
<
div
className
=
{
styles
.
dealing
}
onClick
=
{
this
.
dealHandle
}
>
处理中
处理中
...
...
src/containers/PublicCar/components/style.css
View file @
361567b7
...
@@ -20,6 +20,10 @@
...
@@ -20,6 +20,10 @@
}
}
.content
{
.content
{
composes
:
content
from
'../../Repair/components/style.css'
;
composes
:
content
from
'../../Repair/components/style.css'
;
max-height
:
250px
;
}
.showDetailContent
{
max-height
:
1000px
;
}
}
.dealing
{
.dealing
{
composes
:
dealing
from
'../../Repair/components/style.css'
;
composes
:
dealing
from
'../../Repair/components/style.css'
;
...
...
src/containers/PublicCarDeal/index.js
View file @
361567b7
...
@@ -218,7 +218,7 @@ class PublicCarDeal extends Component {
...
@@ -218,7 +218,7 @@ class PublicCarDeal extends Component {
}
=
this
.
state
;
}
=
this
.
state
;
return
(
return
(
<
div
className
=
{
styles
.
repairList
}
>
<
div
className
=
{
styles
.
repairList
}
>
<
div
className
=
{
styles
.
listInfo
}
>
显示最近半年的
报修
记录
<
/div
>
<
div
className
=
{
styles
.
listInfo
}
>
显示最近半年的
约车
记录
<
/div
>
{
props
.
children
}
{
props
.
children
}
<
Modal
<
Modal
className
=
{
styles
.
dealDialog
}
className
=
{
styles
.
dealDialog
}
...
...
src/containers/Repair/components/RepairItem.js
View file @
361567b7
...
@@ -44,7 +44,12 @@ class RepairItem extends Component {
...
@@ -44,7 +44,12 @@ class RepairItem extends Component {
<
img
src
=
{
titleIcon
}
alt
=
""
/>
<
img
src
=
{
titleIcon
}
alt
=
""
/>
<
/i
>
<
/i
>
<
/div
>
<
/div
>
<
div
className
=
{
styles
.
content
}
onClick
=
{
this
.
toggleDetail
}
>
<
div
className
=
{
`
${
styles
.
content
}
${
showDetail
?
styles
.
showDetailContent
:
''
}
`
}
onClick
=
{
this
.
toggleDetail
}
>
{
data
.
dealState
===
1
?
(
{
data
.
dealState
===
1
?
(
<
div
className
=
{
styles
.
dealing
}
onClick
=
{
this
.
dealHandle
}
>
<
div
className
=
{
styles
.
dealing
}
onClick
=
{
this
.
dealHandle
}
>
处理中
处理中
...
@@ -86,7 +91,10 @@ class RepairItem extends Component {
...
@@ -86,7 +91,10 @@ class RepairItem extends Component {
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div>
,
<
/div>
,
<
div
key
=
"uploadImg"
className
=
{
`
${
styles
.
listLine
}
${
styles
.
listLineImg
}
`
}
>
<
div
key
=
"uploadImg"
className
=
{
`
${
styles
.
listLine
}
${
styles
.
listLineImg
}
`
}
>
{
imgList
[
0
]
&&
{
imgList
[
0
]
&&
imgList
.
map
((
item
,
idx
)
=>
(
imgList
.
map
((
item
,
idx
)
=>
(
<
div
<
div
...
...
src/containers/Repair/components/style.css
View file @
361567b7
...
@@ -32,6 +32,11 @@
...
@@ -32,6 +32,11 @@
flex
:
1
;
flex
:
1
;
padding
:
30px
12px
;
padding
:
30px
12px
;
overflow
:
hidden
;
overflow
:
hidden
;
transition
:
all
.5s
ease-in
;
max-height
:
210px
;
}
.showDetailContent
{
max-height
:
1000px
;
}
}
.dealing
{
.dealing
{
position
:
absolute
;
position
:
absolute
;
...
...
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