IOS camera 中的 cover-view 为什么不显示?
我的手机是iphoneXR ,在开发工具中会显示cover-view,真机中不显示(p.s. 我是用uniapp写的)
<camera mode=“scanCode” device-position=“back” :flash=“flashClose?‘off’:‘on’” @error=“error” style=“width: 100%; " :style=”[{height:screenHeight + ‘px’}]"
[@scancode](/user/scancode)="scanCode">
<cover-view class="centerSqare">
<cover-view class="div1"></cover-view>
<cover-view class="div2"></cover-view>
<cover-view class="div"></cover-view>
<cover-view class="div3"></cover-view>
<cover-view class="div4">
<cover-view class="close" [@tap](/user/tap)="closeScan"><cover-view class="cuIcon-close text-white"></cover-view></cover-view>
<cover-view class="light" [@tap](/user/tap)="openLight"><cover-view class="text-white" :class="flashClose?'cuIcon-flashlightclose':'cuIcon-flashlightopen'"></cover-view></cover-view>
</cover-view>
</cover-view>
</camera>