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
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
7 deletions
+29
-7
PublicCarList.js
src/containers/PublicCar/PublicCarList.js
+1
-1
PublicCarItem.js
src/containers/PublicCar/components/PublicCarItem.js
+8
-3
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 {
MyBody
=
props
=>
{
return
(
<
div
className
=
{
styles
.
repairList
}
>
<
div
className
=
{
styles
.
listInfo
}
>
显示最近半年的
报修
记录
<
/div
>
<
div
className
=
{
styles
.
listInfo
}
>
显示最近半年的
约车
记录
<
/div
>
{
props
.
children
}
<
/div
>
);
...
...
src/containers/PublicCar/components/PublicCarItem.js
View file @
361567b7
...
...
@@ -43,7 +43,12 @@ class PublicCarItem extends Component {
<
img
src
=
{
titleIcon
}
alt
=
""
/>
<
/i
>
<
/div
>
<
div
className
=
{
styles
.
content
}
onClick
=
{
this
.
toggleDetail
}
>
<
div
className
=
{
`
${
styles
.
content
}
${
showDetail
?
styles
.
showDetailContent
:
''
}
`
}
onClick
=
{
this
.
toggleDetail
}
>
{
data
.
dealResult
===
1
?
(
<
div
className
=
{
styles
.
dealing
}
onClick
=
{
this
.
dealHandle
}
>
处理中
...
...
@@ -132,8 +137,8 @@ class PublicCarItem extends Component {
{
data
.
dealResult
===
1
?
'待处理后显示'
:
data
.
carPlate
?
data
.
carPlate
:
'无'
}
?
data
.
carPlate
:
'无'
}
<
/div
>
<
/div>
,
data
.
dealResult
===
3
?
(
...
...
src/containers/PublicCar/components/style.css
View file @
361567b7
...
...
@@ -20,6 +20,10 @@
}
.content
{
composes
:
content
from
'../../Repair/components/style.css'
;
max-height
:
250px
;
}
.showDetailContent
{
max-height
:
1000px
;
}
.dealing
{
composes
:
dealing
from
'../../Repair/components/style.css'
;
...
...
src/containers/PublicCarDeal/index.js
View file @
361567b7
...
...
@@ -218,7 +218,7 @@ class PublicCarDeal extends Component {
}
=
this
.
state
;
return
(
<
div
className
=
{
styles
.
repairList
}
>
<
div
className
=
{
styles
.
listInfo
}
>
显示最近半年的
报修
记录
<
/div
>
<
div
className
=
{
styles
.
listInfo
}
>
显示最近半年的
约车
记录
<
/div
>
{
props
.
children
}
<
Modal
className
=
{
styles
.
dealDialog
}
...
...
src/containers/Repair/components/RepairItem.js
View file @
361567b7
...
...
@@ -44,7 +44,12 @@ class RepairItem extends Component {
<
img
src
=
{
titleIcon
}
alt
=
""
/>
<
/i
>
<
/div
>
<
div
className
=
{
styles
.
content
}
onClick
=
{
this
.
toggleDetail
}
>
<
div
className
=
{
`
${
styles
.
content
}
${
showDetail
?
styles
.
showDetailContent
:
''
}
`
}
onClick
=
{
this
.
toggleDetail
}
>
{
data
.
dealState
===
1
?
(
<
div
className
=
{
styles
.
dealing
}
onClick
=
{
this
.
dealHandle
}
>
处理中
...
...
@@ -86,7 +91,10 @@ class RepairItem extends Component {
<
/div
>
<
/div
>
<
/div>
,
<
div
key
=
"uploadImg"
className
=
{
`
${
styles
.
listLine
}
${
styles
.
listLineImg
}
`
}
>
<
div
key
=
"uploadImg"
className
=
{
`
${
styles
.
listLine
}
${
styles
.
listLineImg
}
`
}
>
{
imgList
[
0
]
&&
imgList
.
map
((
item
,
idx
)
=>
(
<
div
...
...
src/containers/Repair/components/style.css
View file @
361567b7
...
...
@@ -32,6 +32,11 @@
flex
:
1
;
padding
:
30px
12px
;
overflow
:
hidden
;
transition
:
all
.5s
ease-in
;
max-height
:
210px
;
}
.showDetailContent
{
max-height
:
1000px
;
}
.dealing
{
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