wxml文件
<view class="pestsInterrogation-page">
<view class="pestsInterrogation-photograph">
<camera mode="normal" device-position="back" flash="auto" binderror="error" flash="{
{lightState ? 'on' : 'off'}}">
<cover-view class="photograph-box">
<cover-view class="photograph-box-content">
<cover-image src="../../resources/images/bug.png"></cover-image>
<cover-view>病虫害识别</cover-view>
</cover-view>
</cover-view>
<cover-view class="photograph-guide">
<cover-image src="{
{lightState?