小程序
小游戏
企业微信
微信支付
扫描小程序码分享
使用map地图很多个自定义气泡的时候会卡住
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
正常 加载几百个后就 很卡了
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
<cover-view slot="callout">
<block v-for='(item,key) in covers' :key='key'>
<cover-view class="customCallout" :marker-id="item.id">
<cover-view class="content putong" :class="[item.type==1?'active': '']">
{{item.businessName}}
</cover-view>
<cover-view class="content jingdian" v-if='item.type==2' :class="[item.type==2?'active': '']">
<cover-view class="bgwrap">
<cover-image :src="item.pictureUrls[0].pictureUrl+'?x-image-process=image/resize,m_lfit,h_40,w_40'" class="leftImage"></cover-image>
<cover-view class="rightTitle" :class="[item.businessName.length>5?'zhehang': '']">
<cover-view class="topwrap">
<cover-image src="../static/image/jingdian.png" class="bgImage"></cover-image>
<cover-view class="topTitle">
景点TOP{{item.type}}
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
正常 加载几百个后就 很卡了
<cover-view slot="callout">
<block v-for='(item,key) in covers' :key='key'>
<cover-view class="customCallout" :marker-id="item.id">
<cover-view class="content putong" :class="[item.type==1?'active': '']">
{{item.businessName}}
</cover-view>
<cover-view class="content jingdian" v-if='item.type==2' :class="[item.type==2?'active': '']">
<cover-view class="bgwrap">
<cover-image :src="item.pictureUrls[0].pictureUrl+'?x-image-process=image/resize,m_lfit,h_40,w_40'" class="leftImage"></cover-image>
<cover-view class="rightTitle" :class="[item.businessName.length>5?'zhehang': '']">
{{item.businessName}}
</cover-view>
</cover-view>
<cover-view class="topwrap">
<cover-image src="../static/image/jingdian.png" class="bgImage"></cover-image>
<cover-view class="topTitle">
景点TOP{{item.type}}
</cover-view>
</cover-view>
</cover-view>