Commit 2f78bf90 by 李伟康

commit

1 parent e56ef891
.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

8.78 KB | W: | H:

6.07 KB | W: | H:

src/assets/images/sprite.png
src/assets/images/sprite.png
src/assets/images/sprite.png
src/assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -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('wmI3njHwAADoT1_rHA4GOP1ocP9284DQ') // this.getCustomerDetail('wm219ICgAARGgXJUmUdGxCgNfGxRCWDg')
}, },
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;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!