收藏
回答

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="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="closeScan"><cover-view class="cuIcon-close text-white"></cover-view></cover-view>

<cover-view class="light" @tap="openLight"><cover-view class="text-white" :class="flashClose?'cuIcon-flashlightclose':'cuIcon-flashlightopen'"></cover-view></cover-view>

</cover-view>

</cover-view>

</camera>

最后一次编辑于  01-02
回答关注问题邀请回答
收藏

2 个回答

登录 后发表内容
问题标签