Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-h5-ailipay
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit eb911c42
authored
Mar 24, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style: 头像样式修改
1 parent
d8967778
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
17 deletions
src/views/gift/detail.vue
src/views/gift/detail.vue
View file @
eb911c4
...
...
@@ -102,7 +102,7 @@
<
div
class
=
"title"
>
审批流程
<
/div
>
<
div
class
=
"connect"
:
style
=
"
{
height
:
lineHeight
+
'px'
}
"></div>
<div v-for="
(
pItem
,
pId
)
in
infoList
" :key="
pId
" :id="
'merchantItem'
+
pId
">
<div v-for="
(
sonItem
,
sonId
)
in
pItem
.
items
.
itemList
" :key="
sonId
" :style="
{
'padding-bottom'
:(
pItem
.
nodeType
===
2
&&
sonId
===
0
)
?
'
10px'
:
'20
px'
}
" class="
merchant
-
item
">
<div v-for="
(
sonItem
,
sonId
)
in
pItem
.
items
.
itemList
" :key="
sonId
" :style="
{
'padding-bottom'
:(
pItem
.
nodeType
===
2
&&
sonId
===
0
)
?
'
5px'
:
'12
px'
}
" class="
merchant
-
item
">
<div class="
fake
-
img
" v-if="
pItem
.
items
.
itemList
.
length
<
2
||
sonId
===
0
">
<img v-if="
pItem
.
avtive
" src="
..
/
..
/
assets
/
images
/
icon
/
active_avatar
.
png
" alt="">
<img v-else src="
..
/
..
/
assets
/
images
/
icon
/
unactive_avatar
.
png
" alt="">
...
...
@@ -116,7 +116,7 @@
<div class="
info
-
area
">
<div class="
info
">
<span class="
name
-
status
">
<span
:style="
{
'max-width'
:
sonItem
.
itemName
?
'50px'
:
'0'
}
" class="
name
"
>
{{
sonItem
.
itemName
}}
<
/span
>
<span
class="
name
"
>
{{
setName
(
sonItem
.
itemName
)
}}
<
/span
>
<
span
class
=
"status"
:
class
=
"setStatusClass(sonItem.itemStatus)"
>
{{
setApprovalStatus
(
sonItem
.
itemStatus
)
}}
<
/span
>
<
/span
>
<
span
class
=
"date"
>
{{
dateFormat
(
sonItem
.
itemOpTime
,
'YYYY/MM/DD HH:mm'
)
}}
<
/span
>
...
...
@@ -209,7 +209,7 @@ export default {
this
.
infoList
.
forEach
(
element
=>
{
if
(
avtiveFlag
){
element
.
avtive
=
true
if
(
element
.
nodeStatus
===
1
)
avtiveFlag
=
false
;
if
(
element
.
nodeStatus
===
1
||
element
.
nodeStatus
===
3
)
avtiveFlag
=
false
;
}
else
{
element
.
avtive
=
false
}
...
...
@@ -267,6 +267,11 @@ export default {
// 1-审批中;2-已同意;3-已驳回;4-已转审
return
{
0
:
'依次审批'
,
1
:
'审批中'
,
2
:
'审批同意'
,
3
:
'已驳回'
,
4
:
'已转审'
}
[
id
]
}
,
setName
(
name
){
if
(
!
name
)
return
''
;
return
name
.
length
>
4
?
name
.
slice
(
0
,
4
)
+
'...'
:
name
}
,
setStatusClass
(
id
){
return
{
0
:
'moreApproval'
,
1
:
'inApproval'
,
2
:
''
,
3
:
'turnDown'
,
4
:
'turnApproval'
}
[
id
]
}
,
...
...
@@ -354,8 +359,8 @@ export default {
.
real
-
img
{
margin
:
0
10
px
0
12
px
;
img
{
width
:
50
px
;
height
:
50
px
;
width
:
36
px
;
height
:
36
px
;
}
}
.
info
-
area
{
...
...
@@ -367,22 +372,15 @@ export default {
.
info
{
display
:
flex
;
justify
-
content
:
space
-
between
;
align
-
items
:
center
;
height
:
25
px
;
height
:
18
px
;
line
-
height
:
18
px
;
.
name
-
status
{
display
:
flex
;
align
-
items
:
center
;
.
name
{
font
-
size
:
1
7
px
;
font
-
size
:
1
4
px
;
color
:
#
000000
;
margin
-
right
:
5
px
;
display
:
inline
-
block
;
white
-
space
:
nowrap
;
overflow
:
hidden
;
white
-
space
:
nowrap
;
text
-
overflow
:
ellipsis
;
overflow
:
hidden
;
word
-
break
:
break
-
all
;
}
.
status
{
font
-
size
:
12
px
;
...
...
@@ -414,9 +412,9 @@ export default {
}
.
remark
{
font
-
size
:
1
4
px
;
font
-
size
:
1
2
px
;
color
:
#
9
B9B9B
;
line
-
height
:
25
px
;
line
-
height
:
18
px
;
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment