调用了camera组件,并设置成了全屏,想在拍照的框里显示照片、拍照、前后置摄像头转换的图标,但是iPhoneX最新版本调试看不到定义的图标,只有拍照界面,组件的代码如下:
<camera wx:if="{{isShowPic == false}}" mode="normal" device-position="{{position}}" flash="off" binderror="error"
style="width: 100%; height: {{screenHeight}}px;">
<view class="btn_box">
<cover-image src="../../images/icon/reverse.png" bindtap="reverseCamera">
</cover-image>
<cover-image src="../../images/icon/camera.png" bindtap="takePhoto">
</cover-image>
<cover-image src="../../images/icon/album.png" bindtap="choosePhoto">
</cover-image>
</view>
<image src="{{src}}"></image>
</camera>
把 cover-image 部分的代码放到,camera 外,试试看