- <view class="camera-view" animation="{{animation}}" style="left:{{left}}rpx">
- <view class="close-camera" bindtap="closeCamera">关闭</view>
- <camera device-position="back" mode="scanCode" resolution="high" flash="off" bindscancode="scanCode" binderror="error" style="width: 100%; height: {{height}}px;"></camera>
- </view>
- <view bindtap="showCamera">显示</view>
|