收藏
回答

iphone手机拍照不显示

框架类型 问题类型 API/组件名称 终端类型 操作系统 微信版本 基础库版本
小程序 Bug wx.chooseImage 客户端 iOS 6.7.1 2.2.2

iphone手机拍照不显示


- 当前bug表现

1、点击拍照的时候,拍完照片,苹果手机不显示图片,安卓手机一切正常


- 预期表现

应该跟安卓版本一样,正常显示,如下图:


- 提供一个最简复现 Demo

<view>
    <view id="app">
        <view id="page-upload">
            <view class="upload-title">请上传二代身份证</view>
            <view class="idcard idcard-face" style='background-image:url({{ faceBackImg }})'>
                <view style="display: none;">
                    <view class="idcard-img"></view>
                    <view class="idcard-tips">仅供本次服务使用</view>
                </view>
                <view class="upload-btn">
                    <view class="upload-btn-inner">
                        <view class="icon-camera" bindtap='selectFaceImage'></view>
                    </view>
                </view>
            </view>
            <view class="upload-tips">上传身份证人像面</view>
            <view class="idcard idcard-reverse" style='background-image:url({{ reverseBackImg }})'>
                <view style="display: none;">
                    <view class="idcard-img">
                       
                    </view>
                    <view class="idcard-tips">仅供本次服务使用</view>
                </view>
                <view class="upload-btn">
                    <view class="upload-btn-inner">
                        <view class="icon-camera" bindtap='selectReverseImage'></view>
                    </view>
                </view>
            </view>
            <view class="upload-tips">上传身份证国徽面</view>
            <view class="upload-underline"></view>
            <view class="upload-safe-tips">本操作将严格保护您的隐私安全,请放心操作</view>
            <view class="upload-submit-btn">
                 <view wx:if="{{ !faceBackImgDefault && !reverseBackImgDefault }}" class="button dark" bindtap='upload'>上传检测</view>         
            </view>
        </view>
    </view>
</view>


回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容