iphone手机拍照不显示
发布于 5 年前 作者 jjiang 6424 次浏览 来自 问答

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 回复

你好,请提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

回到顶部