bug
This commit is contained in:
@@ -119,10 +119,11 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
renderMarker(context) {
|
renderMarker(context) {
|
||||||
|
console.log(context)
|
||||||
const buildId = context.data[0].id
|
const buildId = context.data[0].id
|
||||||
|
|
||||||
let el = `<div class="mark" id="buildId-${buildId}">
|
let el = `<div class="mark" id="buildId-${buildId}">
|
||||||
<img src="${context.data[0].icon || 'https://cdn.cunwuyun.cn/dvcp/ply/icon.png'}">
|
<img src="${context.data[0].categoryIcon || 'https://cdn.cunwuyun.cn/dvcp/ply/icon.png'}">
|
||||||
</div>`
|
</div>`
|
||||||
|
|
||||||
context.marker.setContent(el);
|
context.marker.setContent(el);
|
||||||
@@ -474,8 +475,14 @@ export default {
|
|||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
opacity: 0.7;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user