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 2f78bf90
authored
Dec 10, 2021
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
e56ef891
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
13 deletions
src/assets/css/sprite.scss
src/assets/spritesmith/bases.png → src/assets/images/bases.png
src/assets/images/sprite.png
src/views/customer/detail.vue
src/assets/css/sprite.scss
View file @
2f78bf9
.sprite-icon
{
background-image
:
url(../images/sprite.png)
;
background-size
:
146px
96px
;}
.icon-active
{
width
:
20px
;
height
:
20px
;
background-position
:
-38px
-76px
;}
.icon-arrow
{
width
:
7px
;
height
:
11px
;
background-position
:
-130px
-46px
;}
.icon-attract-customer-share
{
width
:
10px
;
height
:
10px
;
background-position
:
-130px
-26px
;}
.icon-avatar
{
width
:
44px
;
height
:
44px
;
background-position
:
-76px
0px
;}
.icon-customer-active
{
width
:
16px
;
height
:
16px
;
background-position
:
-130px
0px
;}
.icon-customer-add
{
width
:
28px
;
height
:
20px
;
background-position
:
0px
-76px
;}
.icon-customer-copy
{
width
:
18px
;
height
:
20px
;
background-position
:
-98px
-76px
;}
.icon-customer-phone
{
width
:
20px
;
height
:
20px
;
background-position
:
-68px
-76px
;}
.icon-open-arrow
{
width
:
8px
;
height
:
7px
;
background-position
:
-130px
-67px
;}
.icon-bases
{
width
:
66px
;
height
:
66px
;
background-position
:
0px
0px
;}
\ No newline at end of file
\ No newline at end of file
.sprite-icon
{
background-image
:
url(../images/sprite.png)
;
background-size
:
108px
74px
;}
.icon-active
{
width
:
20px
;
height
:
20px
;
background-position
:
0px
-54px
;}
.icon-arrow
{
width
:
7px
;
height
:
11px
;
background-position
:
-92px
-46px
;}
.icon-attract-customer-share
{
width
:
10px
;
height
:
10px
;
background-position
:
-92px
-26px
;}
.icon-avatar
{
width
:
44px
;
height
:
44px
;
background-position
:
0px
0px
;}
.icon-customer-active
{
width
:
16px
;
height
:
16px
;
background-position
:
-92px
0px
;}
.icon-customer-add
{
width
:
28px
;
height
:
20px
;
background-position
:
-54px
0px
;}
.icon-customer-copy
{
width
:
18px
;
height
:
20px
;
background-position
:
-60px
-54px
;}
.icon-customer-phone
{
width
:
20px
;
height
:
20px
;
background-position
:
-30px
-54px
;}
.icon-open-arrow
{
width
:
8px
;
height
:
7px
;
background-position
:
-92px
-67px
;}
\ No newline at end of file
\ No newline at end of file
src/assets/
spritesmith
/bases.png
→
src/assets/
images
/bases.png
View file @
2f78bf9
3.73 KB
src/assets/images/sprite.png
View file @
2f78bf9
8.78 KB
|
W:
|
H:
6.07 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/views/customer/detail.vue
View file @
2f78bf9
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
class=
"group-item"
class=
"group-item"
>
>
<div
class=
"group-avatar"
>
<div
class=
"group-avatar"
>
<
div
class=
"sprite-icon icon-bases"
></div
>
<
img
src=
"@/assets/images/bases.png"
/
>
</div>
</div>
<div
class=
"name"
>
{{ itm.groupName }}({{ itm.membersNumber }})
</div>
<div
class=
"name"
>
{{ itm.groupName }}({{ itm.membersNumber }})
</div>
</div>
</div>
...
@@ -163,7 +163,7 @@ export default {
...
@@ -163,7 +163,7 @@ export default {
this
.
getCustomerDetail
(
userId
)
this
.
getCustomerDetail
(
userId
)
})
})
})
})
// this.getCustomerDetail('wm
I3njHwAADoT1_rHA4GOP1ocP9284DQ
')
// this.getCustomerDetail('wm
219ICgAARGgXJUmUdGxCgNfGxRCWDg
')
},
},
methods
:
{
methods
:
{
moreInfo
()
{
moreInfo
()
{
...
@@ -380,6 +380,10 @@ export default {
...
@@ -380,6 +380,10 @@ export default {
width
:
44px
;
width
:
44px
;
height
:
44px
;
height
:
44px
;
background-color
:
#e1e1e1
;
background-color
:
#e1e1e1
;
.sprite-icon
{
width
:
100%
;
height
:
100%
;
}
}
}
.name
{
.name
{
font-size
:
16px
;
font-size
:
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