小程序
小游戏
企业微信
微信支付
扫描小程序码分享
如题,在手机预览情况下可以看到,但是真机模式下就不行
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
你好,描述下复现流程,提供下这种格式的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
<camera wx:if="{{isAuthCamera}}" class="camera" mode="normal" device-position="back" flash="{{light}}" style="width: 100%; height: {{WindowHeight-FooterHeight}}px" bindinitdone="caInit" binderror="caError"> <view hidden="{{isCaLoading}}"> <cover-view class="back flex align-center" style="width:{{Custom.width}}px;height:{{Custom.height}}px;padding-top:{{StatusBar}}px;margin-left:calc(750rpx - {{Custom.right}}px)"> <cover-image src="/images/left.png" bind:tap="goBack"></cover-image> </cover-view> <cover-view class="img-wrap" wx:if="{{imgList.length > 0}}" bind:tap="goMoreView"> <cover-view class="img-count text-white bg-red round text-sm">{{imgList.length}}</cover-view> <cover-image src="{{imgList[imgList.length - 1]}}"></cover-image> <cover-view class="img-footer flex justify-center text-center text-white padding-tb-xs text-sm">完成</cover-view> </cover-view> <cover-image src="images/flash_off.png" wx:if="{{light == 'off'}}" class="light" bind:tap="onLightEvent"> </cover-image> <cover-image src="images/flash_on.png" wx:elif="{{light == 'on'}}" class="light" bind:tap="onLightEvent"> </cover-image> <cover-image src="images/flash_auto.png" wx:else class="light" bind:tap="onLightEvent"></cover-image> <cover-view class="controls flex flex-direction justify-between"> <cover-view class="text text-white text-center">平行于参考线拍摄</cover-view> <cover-view class=""></cover-view> <cover-view class="line"></cover-view> <cover-view class="line"></cover-view> <cover-view class=""></cover-view> <cover-view class="vertical flex justify-between"> <cover-view class=""></cover-view> <cover-view class="vertical-line"></cover-view> <cover-view class="vertical-line"></cover-view> <cover-view class=""></cover-view> </cover-view> </cover-view> </view> </camera>
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
你好,描述下复现流程,提供下这种格式的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
<camera wx:if="{{isAuthCamera}}" class="camera" mode="normal" device-position="back" flash="{{light}}" style="width: 100%; height: {{WindowHeight-FooterHeight}}px" bindinitdone="caInit" binderror="caError"> <view hidden="{{isCaLoading}}"> <cover-view class="back flex align-center" style="width:{{Custom.width}}px;height:{{Custom.height}}px;padding-top:{{StatusBar}}px;margin-left:calc(750rpx - {{Custom.right}}px)"> <cover-image src="/images/left.png" bind:tap="goBack"></cover-image> </cover-view> <cover-view class="img-wrap" wx:if="{{imgList.length > 0}}" bind:tap="goMoreView"> <cover-view class="img-count text-white bg-red round text-sm">{{imgList.length}}</cover-view> <cover-image src="{{imgList[imgList.length - 1]}}"></cover-image> <cover-view class="img-footer flex justify-center text-center text-white padding-tb-xs text-sm">完成</cover-view> </cover-view> <cover-image src="images/flash_off.png" wx:if="{{light == 'off'}}" class="light" bind:tap="onLightEvent"> </cover-image> <cover-image src="images/flash_on.png" wx:elif="{{light == 'on'}}" class="light" bind:tap="onLightEvent"> </cover-image> <cover-image src="images/flash_auto.png" wx:else class="light" bind:tap="onLightEvent"></cover-image> <cover-view class="controls flex flex-direction justify-between"> <cover-view class="text text-white text-center">平行于参考线拍摄</cover-view> <cover-view class=""></cover-view> <cover-view class="line"></cover-view> <cover-view class="line"></cover-view> <cover-view class=""></cover-view> <cover-view class="vertical flex justify-between"> <cover-view class=""></cover-view> <cover-view class="vertical-line"></cover-view> <cover-view class="vertical-line"></cover-view> <cover-view class=""></cover-view> </cover-view> </cover-view> </view> </camera>