Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-customer
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 afaa55af
authored
Nov 14, 2021
by
liwk
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
206896c3
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
226 additions
and
122 deletions
src/assets/css/customer.scss
src/router/routes.js
src/views/customer/index.vue
src/views/customer/information.vue
src/assets/css/customer.scss
0 → 100644
View file @
afaa55a
.layout
{
.tips
{
height
:
40px
;
font-size
:
16px
;
font-weight
:
500
;
color
:
#545454
;
padding
:
0
16px
;
box-shadow
:
0px
1px
0px
0px
#e9e9e9
;
background-color
:
#f7f7f7
;
.time
{
font-size
:
12px
;
margin-left
:
auto
;
}
}
.content
{
height
:
calc
(
100vh
-
90px
);
.item
{
height
:
79px
;
border-bottom
:
1px
solid
rgba
(
195
,
195
,
195
,
0
.3
);
padding
:
0
16px
;
position
:
relative
;
.avatar
{
margin-right
:
16px
;
}
.info
{
font-size
:
14px
;
color
:
#333333
;
.phone
{
font-weight
:
600
;
font-size
:
16px
;
margin-bottom
:
6px
;
.wx
{
font-weight
:
400
;
color
:
#6760ff
;
}
}
.time
{
color
:
#999999
;
}
}
.btns
{
margin-left
:
auto
;
.line
{
margin
:
0
13px
0
16px
;
width
:
1px
;
height
:
42px
;
background
:
rgba
(
0
,
0
,
0
,
0
.1
);
}
.btn
{
flex-direction
:
column
;
font-size
:
12px
;
color
:
#666666
;
.sprite-icon
{
margin-bottom
:
7px
;
}
}
}
.icon-arrow
{
position
:
absolute
;
right
:
16px
;
top
:
50%
;
transform
:
translateY
(
-50%
);
}
}
}
}
.page-type-0
{
.content
{
height
:
calc
(
100vh
-
220px
);
}
.copy-box
{
height
:
130px
;
box-sizing
:
border-box
;
padding
:
10px
16px
;
font-weight
:
500
;
font-size
:
14px
;
color
:
#333333
;
word-break
:
break-all
;
position
:
relative
;
background
:
#ffffff
;
box-shadow
:
0px
1px
0px
0px
#e9e9e9
;
.sprite-icon
{
position
:
absolute
;
top
:
10px
;
right
:
15px
;
}
.title
{
margin-bottom
:
16px
;
}
}
}
.page-type-2
{
.content
{
height
:
calc
(
100vh
-
164px
);
}
.checked-box
{
margin-right
:
16px
;
.checked
{
width
:
14px
;
height
:
14px
;
border-radius
:
2px
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.15
);
}
}
.checked-control
{
font-size
:
14px
;
color
:
#333333
;
padding
:
0
16px
;
height
:
74px
;
.all
{
font-size
:
16px
;
font-weight
:
600
;
margin-right
:
16px
;
}
.btn
{
width
:
148px
;
height
:
36px
;
background
:
#5850ff
;
box-shadow
:
0px
2px
4px
0px
rgba
(
88
,
80
,
255
,
0
.3
);
border-radius
:
21px
;
margin-left
:
auto
;
color
:
#ffffff
;
}
}
}
\ No newline at end of file
\ No newline at end of file
src/router/routes.js
View file @
afaa55a
...
@@ -2,6 +2,7 @@ const pages = {
...
@@ -2,6 +2,7 @@ const pages = {
customerGroup
:
[{
customerGroup
:
[{
name
:
'index'
,
name
:
'index'
,
}],
}],
attractCustomer
:
[{
attractCustomer
:
[{
name
:
'index'
,
name
:
'index'
,
meta
:
{
meta
:
{
...
@@ -16,9 +17,15 @@ const pages = {
...
@@ -16,9 +17,15 @@ const pages = {
backgroundColor
:
'#F7F7F7'
backgroundColor
:
'#F7F7F7'
}
}
},
{
},
{
name
:
'information'
,
meta
:
{
title
:
'完善信息'
,
backgroundColor
:
'#F7F7F7'
}
}]
}]
}
}
const
redirect
=
''
const
redirect
=
''
let
routes
=
[]
let
routes
=
[]
const
keepAlives
=
[]
const
keepAlives
=
[]
...
...
src/views/customer/index.vue
View file @
afaa55a
...
@@ -127,125 +127,5 @@ export default {
...
@@ -127,125 +127,5 @@ export default {
</
script
>
</
script
>
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.layout
{
@import
'@/assets/css/customer.scss'
;
.tips
{
height
:
40px
;
font-size
:
16px
;
font-weight
:
500
;
color
:
#545454
;
padding
:
0
16px
;
box-shadow
:
0px
1px
0px
0px
#e9e9e9
;
background-color
:
#f7f7f7
;
.time
{
font-size
:
12px
;
margin-left
:
auto
;
}
}
.content
{
height
:
calc
(
100vh
-
90px
);
.item
{
height
:
79px
;
border-bottom
:
1px
solid
rgba
(
195
,
195
,
195
,
0.3
);
padding
:
0
16px
;
.avatar
{
margin-right
:
16px
;
}
.info
{
font-size
:
14px
;
color
:
#333333
;
.phone
{
font-weight
:
600
;
font-size
:
16px
;
margin-bottom
:
6px
;
.wx
{
font-weight
:
400
;
color
:
#6760ff
;
}
}
.time
{
color
:
#999999
;
}
}
.btns
{
margin-left
:
auto
;
.line
{
margin
:
0
13px
0
16px
;
width
:
1px
;
height
:
42px
;
background
:
rgba
(
0
,
0
,
0
,
0.1
);
}
.btn
{
flex-direction
:
column
;
font-size
:
12px
;
color
:
#666666
;
.sprite-icon
{
margin-bottom
:
7px
;
}
}
}
.icon-arrow
{
margin-left
:
auto
;
}
}
}
}
.page-type-0
{
.content
{
height
:
calc
(
100vh
-
220px
);
}
.copy-box
{
height
:
130px
;
box-sizing
:
border-box
;
padding
:
10px
16px
;
font-weight
:
500
;
font-size
:
14px
;
color
:
#333333
;
word-break
:
break-all
;
position
:
relative
;
background
:
#ffffff
;
box-shadow
:
0px
1px
0px
0px
#e9e9e9
;
.sprite-icon
{
position
:
absolute
;
top
:
10px
;
right
:
15px
;
}
.title
{
margin-bottom
:
16px
;
}
}
}
.page-type-2
{
.content
{
height
:
calc
(
100vh
-
164px
);
}
.checked-box
{
margin-right
:
16px
;
.checked
{
width
:
14px
;
height
:
14px
;
border-radius
:
2px
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.15
);
}
}
.checked-control
{
font-size
:
14px
;
color
:
#333333
;
padding
:
0
16px
;
height
:
74px
;
.all
{
font-size
:
16px
;
font-weight
:
600
;
margin-right
:
16px
;
}
.btn
{
width
:
148px
;
height
:
36px
;
background
:
#5850ff
;
box-shadow
:
0px
2px
4px
0px
rgba
(
88
,
80
,
255
,
0.3
);
border-radius
:
21px
;
margin-left
:
auto
;
color
:
#ffffff
;
}
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/customer/information.vue
0 → 100644
View file @
afaa55a
<
template
>
<div
class=
"layout"
>
<div
class=
"tips flex"
>
请完善以下客户信息
</div>
<template>
<template>
<scroll-view
class=
"content"
@
ReachBottom=
"onReachBottom"
ref=
"scrollView"
>
<template
v-for=
"(item,index) in 10"
>
<div
:key=
"index"
class=
"item flex"
>
<div
class=
"avatar"
>
<div
class=
"sprite-icon icon-avatar"
></div>
</div>
<div
class=
"info"
>
<div
class=
"phone flex"
>
恒河猴
</div>
<div
class=
"tags flex"
>
<template
v-for=
"(i,ind) in 5"
>
<div
:key=
"ind"
class=
"tag text-center"
>
{{
index
}}{{
ind
}}
恒河猴
</div>
</
template
>
</div>
</div>
<div
class=
"sprite-icon icon-arrow"
></div>
</div>
</template>
</scroll-view>
</template>
</template>
</div>
</template>
<
script
type=
'text/ecmascript-6'
>
export
default
{
name
:
''
,
data
()
{
return
{
}
},
mounted
()
{
},
methods
:
{
onReachBottom
()
{
console
.
log
(
'触底'
)
this
.
$refs
.
scrollView
.
loading
=
false
this
.
$refs
.
scrollView
.
finished
=
true
}
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
@import
'@/assets/css/customer.scss'
;
.layout
{
.content
{
height
:
calc
(
100vh
-
40px
);
.item
{
min-height
:
92px
;
height
:
auto
;
padding
:
16px
16px
12px
16px
;
box-sizing
:
border-box
;
.tags
{
flex-wrap
:
wrap
;
.tag
{
padding
:
0
12px
;
height
:
28px
;
background
:
rgba
(
88
,
80
,
255
,
0.15
);
border-radius
:
14px
;
margin
:
0
4px
4px
0
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#5850ff
;
}
}
}
}
}
</
style
>
\ No newline at end of file
\ No newline at end of file
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