<view class="content"><block wx:if="{{showHeader}}"><view class="item-camera"><block wx:if="{{authCamera}}"><camera class="camera" binderror device-position="{{devicePosition}}" flash="{{deviceLight}}"><block wx:if="{{cover}}"><cover-image class="item-cover" src="../../static/images/head1.png"></cover-image></block></camera></block><block wx:if="{{list_btn}}"><view class="item-list"><image class="image-light" src="../../static/images/light.png" data-event-opts="{{[['tap',[['takeLight',['$event']]]]]}}" bindtap="__e"></image><image class="image-btn" src="../../static/images/take.png" data-event-opts="{{[['tap',[['takePhotoByHead',['$event']]]]]}}" bindtap="__e"></image><image class="image-change" src="../../static/images/change.png" data-event-opts="{{[['tap',[['changeDevice',['$event']]]]]}}" bindtap="__e"></image></view></block><block wx:if="{{!authCamera}}"><view class="error-handler"><button class="nobtn" openType="openSetting">打开相机授权</button></view></block></view></block><block wx:if="{{!showHeader}}"><view class="item-camera"><view><image class="camera" src="{{image}}"></image></view><view class="item-btn-list"><view><button data-event-opts="{{[['tap',[['resetImage',['$event']]]]]}}" class="use-btn" bindtap="__e">重拍</button></view><view><button data-event-opts="{{[['tap',[['checkImage',['$event']]]]]}}" class="use-btn" bindtap="__e">使用照片</button></view></view></view></block><block wx:if="{{showLogin}}"><view class="login-item"><login vue-id="8dd740cc-1" ocode="{{ocode}}" appkey="{{appkey}}" scope="snsapi_userinfo" visible="{{visible}}" data-event-opts="{{[['^success',[['callback']]],['^cancel',[['callback']]],['^fail',[['callback']]]]}}" data-com-type="wx" bind:success="__e" bind:cancel="__e" bind:fail="__e" bind:__l="__l"></login></view></block></view>