Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-clew
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 8deb7710
authored
Apr 19, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:样式修改
1 parent
b3f43ef7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
13 deletions
src/assets/css/index.scss
src/views/clew/detail.vue
src/views/clew/index.vue
src/assets/css/index.scss
View file @
8deb771
...
...
@@ -53,6 +53,11 @@ img {
align-items
:
center
;
justify-content
:
space-between
;
}
.text-start
{
display
:
flex
;
align-items
:
flex-start
;
justify-content
:
space-between
;
}
.x-center
{
position
:
absolute
;
...
...
src/views/clew/detail.vue
View file @
8deb771
<
template
>
<div
v-if=
"flag"
:class=
"[clewData.status == 1
?'layout' :'layout dynamic']"
>
<div
v-if=
"flag"
:class=
"[clewData.status == 1
? 'layout' : 'layout dynamic']"
>
<div
class=
"title color-32 text-16 weight-5"
>
线索信息
</div>
<div
class=
"content"
>
<template
v-for=
"(item, index) in detailObj"
>
<template
v-if=
"!item.type || (item.type.length > 0 && item.type.indexOf(Number(clewData.type)) != -1)"
>
<div
class=
"content-cell-group text-s
pace
text-14"
:key=
"index"
>
<div
class=
"content-cell-group text-s
tart
text-14"
:key=
"index"
>
<div
class=
"color-6 content-title"
>
{{
item
.
title
}}
</div>
<div
class=
"color-3 content-info"
v-if=
"item.clewType == 'type'"
>
...
...
@@ -40,7 +40,7 @@
}}
</div>
<div
class=
"color-3 content-info"
v-else-if=
"item.clewType == 'status'"
>
{{
item
.
value
(
clewData
)
==
1
?
'跟进中'
:
'已完成'
}}
</div>
<div
class=
"color-3 content-info"
v-else-if=
"item.clewType == 'vehicle'"
>
{{
item
.
value
(
clewData
)
}}{{
item
.
value2
(
clewData
)
}}
</div>
<div
class=
"color-3 content-info"
v-else-if=
"item.clewType == 'vehicle'"
>
{{
item
.
value
(
clewData
)
}}{{
item
.
value2
(
clewData
)
}}
</div>
<div
class=
"color-3 content-info"
v-else
>
{{
item
.
value
(
clewData
)
}}
</div>
</div>
</
template
>
...
...
@@ -71,8 +71,8 @@
<van-popup
v-model=
"clewIsshow"
round
position=
"bottom"
overlay-class=
"popup"
:style=
"{ height: '350' }"
>
<div
class=
"follow-title color-3 text-16 line-22 weight-5"
>
{{ followTitle }}
</div>
<div
class=
"color-6 text-14"
>
跟进内容:
</div>
<van-field
v-model=
"remark"
rows=
"3"
type=
"textarea"
maxlength=
"100"
placeholder=
"请输入跟进内容"
/>
<div
class=
"color-6 text-14
pd
"
>
跟进内容:
</div>
<van-field
v-model=
"remark"
rows=
"3"
type=
"textarea"
maxlength=
"100"
placeholder=
"请输入跟进内容"
/>
<div
class=
"pop-footer text-space"
>
<div
class=
"button plain"
@
click=
"followClick(1)"
>
取消
</div>
<div
class=
"button"
@
click=
"followClick(2)"
>
确定
</div>
...
...
@@ -312,7 +312,7 @@ export default {
box-sizing
:
border-box
;
.content-info
{
max-width
:
160px
;
w
hite-space
:
norma
l
;
w
ord-break
:
break-al
l
;
}
}
.content-record-time
{
...
...
@@ -353,20 +353,27 @@ export default {
}
}
.van-popup
{
padding
:
0
16px
;
box-sizing
:
border-box
;
.pd
{
padding
:
0
16px
;
}
.follow-title
{
padding
:
17px
0
33px
0
;
padding
:
0
16px
;
//
padding
:
0
0
33px
0
;
border-bottom
:
1px
solid
rgba
(
195
,
195
,
195
,
0.3
);
height
:
56px
;
line-height
:
56px
;
margin-bottom
:
33px
;
}
}
.van-cell
{
padding
:
0
;
width
:
343px
;
height
:
120px
;
border-radius
:
4px
;
//
opacity
:
0.3
;
border
:
1px
solid
rgba
(
151
,
151
,
151
,
0.3
);
margin
:
10px
0
30px
0
;
margin
:
10px
16px
30px
16px
;
padding
:
10px
;
box-sizing
:
border-box
;
}
...
...
@@ -396,7 +403,7 @@ export default {
font-size
:
17px
;
}
}
.dynamic
{
padding
:
0
16px
17px
16px
!important
;
.dynamic
{
padding
:
0
16px
17px
16px
!important
;
}
</
style
>
src/views/clew/index.vue
View file @
8deb771
...
...
@@ -7,7 +7,7 @@
<template
v-for=
"item in clewList"
>
<div
class=
"content-item"
:key=
"item.id"
@
click=
"gotoDetail(item)"
>
<div
class=
"content-item-des text-space"
>
<div
class=
"content-item-name weight-6 text-16 color-3 line-22"
>
{{
item
.
name
}}
</div>
<div
class=
"content-item-name weight-6 text-16 color-3 line-22
text-hide
"
>
{{
item
.
name
}}
</div>
<div
class=
"content-item-phone text-12 color-9 line-17"
>
{{
item
.
phone
}}
</div>
</div>
<div
class=
"content-item-info"
>
...
...
@@ -124,6 +124,9 @@ export default {
//
width
:
100%
;
padding
:
16px
16px
9px
16px
;
box-sizing
:
border-box
;
.content-item-name{
width
:
calc
(
100%
-
100px
);
}
}
&
-info
{
padding
:
10px
16px
16px
16px
;
...
...
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