<cover-view slot="callout">
<block wx:for="{{markers}}" data-item="{{item}}" wx:key="id" wx:if="{{item.prizeList.length>0 || item.radio || item.article}}">
<cover-view class="customCallout" marker-id="{{item.id}}">
<cover-view class="clock-card">
<cover-image wx:if="{{item.prizeList.length > 0}}" class="clock-card__img" src="/images/map/prize.png">
</cover-image>
<cover-image wx:if="{{item.prizeList.length == 0 && (item.article || item.radio)}}" class="clock-card__img" src="/images/map/new.png"></cover-image>
</cover-view>
</cover-view>
</block>
</cover-view>
你好,请问解决了吗?我也遇到这个问题
https://developers.weixin.qq.com/community/develop/doc/000a4ef22f879018fa6e5519453c00