自定义头部导航栏使用cover-view,后台挂起10分钟后进入前台页面卡顿5~15秒,哪位大佬知道原因吗?我把cover-view换成view就不卡了
<cover-view class="nav-bar {{type}}" style="height: {{navHeight}}px; opacity:{{type != 'transparent' ? 1 : opacity}}">
<cover-view
style="padding-top: {{ navTop }}px; text-align: center; width: 100%; ">
<cover-view style="display:inline-block; height: {{ menuButtonHeight }}px;line-height: {{ menuButtonHeight }}px; " bindtap="dropdown">
{{title}}
<cover-view class="dropdown" wx:if="{{dropdown}}">
<cover-image wx:if="{{ arrow == 'up' }}" src="https://hmpcloud-static.oss-cn-shenzhen.aliyuncs.com/app/images/icon_up.png" />
<cover-image wx:if="{{ arrow == 'down' }}" src="https://hmpcloud-static.oss-cn-shenzhen.aliyuncs.com/app/images/icon_down.png" />
</cover-view>
</cover-view>
</cover-view>
</cover-view>
<cover-view bindtap="back" class="nav-bar-icon-box" style="top: {{navTop - 15 + menuButtonHeight/2}}px;">
<cover-image wx:if="{{ back }}" src="https://hmpcloud-static.oss-cn-shenzhen.aliyuncs.com/app/images/icon_back.png" style="opacity:{{type != 'transparent' ? 1 : opacity}}" class="nav-bar-icon {{type}}"/>
<cover-image wx:if="{{ home }}" src="https://hmpcloud-static.oss-cn-shenzhen.aliyuncs.com/app/images/icon_home.png" style="opacity:{{type != 'transparent' ? 1 : opacity}}" class="nav-bar-icon {{type}}"/>
</cover-view>
<cover-view wx:if="{{type != 'transparent'}}" class="nav-bar-placeholder" style="height: {{navHeight}}px;">
</cover-view>
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
自定义头部代码