CN-1563 feat: 调整搜索列表关注图标

This commit is contained in:
chenjinsong
2024-03-07 15:13:30 +08:00
parent f564890e3e
commit 365b5cf48d
6 changed files with 16 additions and 11 deletions

View File

@@ -1,8 +1,8 @@
@font-face {
font-family: "cn-icon"; /* Project id 2614877 */
src: url('iconfont.woff2?t=1709283742450') format('woff2'),
url('iconfont.woff?t=1709283742450') format('woff'),
url('iconfont.ttf?t=1709283742450') format('truetype');
src: url('iconfont.woff2?t=1709781230670') format('woff2'),
url('iconfont.woff?t=1709781230670') format('woff'),
url('iconfont.ttf?t=1709781230670') format('truetype');
}
.cn-icon {
@@ -13,6 +13,14 @@
-moz-osx-font-smoothing: grayscale;
}
.cn-icon-follow:before {
content: "\e83b";
}
.cn-icon-follow-fill:before {
content: "\e83c";
}
.cn-icon-down2:before {
content: "\ec0b";
}

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -40,8 +40,8 @@
<span class="search-active" :class="item.active === 1 ? 'active-icon' : 'inactive-icon'"></span>
<span class="search-value" >{{ item.phoneNumber }}</span>
<span class="search-follow__icon" @click.stop="followSubscribers(item)">
<i class="cn-icon-a- cn-icon" v-if="item.follow === 1"></i>
<i class="cn-icon-a-1 cn-icon" v-else></i>
<i class="cn-icon-follow-fill cn-icon" v-if="item.follow === 1"></i>
<i class="cn-icon-follow cn-icon" v-else></i>
</span>
</el-option>
<template #empty>
@@ -905,7 +905,7 @@ export default {
if (!find) {
hexagons.push({ hexId: d.hexId, locations: [{ time: d.time, longitude: d.subscriberLongitude, latitude: d.subscriberLatitude }] })
} else {
if (find.locations.length < 5) {
if (find.locations.length < 6) {
find.locations.push({ time: d.time, longitude: d.subscriberLongitude, latitude: d.subscriberLatitude })
}
}
@@ -1650,8 +1650,7 @@ export default {
margin-right: 10px;
text-align: center;
i {
font-size: 8px !important;
font-weight: bold;
font-size: 12px;
}
}
.active-icon {
@@ -2209,8 +2208,6 @@ export default {
}
.hexagon-tooltip__body {
padding: 8px 18px;
max-height: 230px;
overflow: auto;
.body__timeline {
display: flex;