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
28bb4c68
Commit
28bb4c68
authored
Nov 13, 2018
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加约车和报修的详情展开动画
parent
e03bae99
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
5 deletions
+27
-5
PublicCarItem.js
src/containers/PublicCar/components/PublicCarItem.js
+8
-3
style.css
src/containers/PublicCar/components/style.css
+4
-0
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/components/PublicCarItem.js
View file @
28bb4c68
...
@@ -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
}
>
处理中
处理中
...
@@ -132,8 +137,8 @@ class PublicCarItem extends Component {
...
@@ -132,8 +137,8 @@ class PublicCarItem extends Component {
{
data
.
dealResult
===
1
{
data
.
dealResult
===
1
?
'待处理后显示'
?
'待处理后显示'
:
data
.
carPlate
:
data
.
carPlate
?
data
.
carPlate
?
data
.
carPlate
:
'无'
}
:
'无'
}
<
/div
>
<
/div
>
<
/div>
,
<
/div>
,
data
.
dealResult
===
3
?
(
data
.
dealResult
===
3
?
(
...
...
src/containers/PublicCar/components/style.css
View file @
28bb4c68
...
@@ -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/Repair/components/RepairItem.js
View file @
28bb4c68
...
@@ -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 @
28bb4c68
...
@@ -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