<view class="result-container">
    <!-- 页面背景 -->
    <image  class="bg-img" src="/assets/imgs/结果页背景{{bg_color}}.jpg" mode='scaleToFill'></image>
    <!-- 验证通过页面 -->
    <view wx:if="{{aiState == 1}}" class="success-content full">
        <view class="content-text">
            <image src="/assets/imgs/成功.png" mode="widthFix" style="width: 40%;" />
            <view class="query-text">
                <text>本次认证时间：{{time1}}</text>
                <text>本次认证耗时：{{time2}}</text>
            </view>
            <image src="/assets/imgs/通过.png" mode="widthFix" style="width: 50%;" />
            <!-- <view class="btn" bind:tap="handleBack">返回主页面</view> -->
            <navigator class="btn" open-type="exit" target="miniProgram">点击按钮返回主页</navigator>
        </view>
        <image src="/assets/imgs/验证成功底部.png" mode="widthFix" style="width: 100%;" />
    </view>
    <!-- 验证失败页面 -->
    <view wx:else class="error-content full">
        <view class="content-text">
        <image src="/assets/imgs/未通过.png" mode="widthFix" style="width: 30%;" />
            <text style="margin: 40rpx 0;font-size: 34rpx;font-weight: 700;">未通过，请重新认证</text>
            <view style="padding:0 60rpx; text-align: center;font-size: 30rpx;line-height: 48rpx;">请保证相机稳定，检查标签码是否有破损，并前往光照适宜的环境进行验证</view>
            <view class="btns" >
                <view class="btn" bind:tap="handleGoTakePhoto">重新验证</view>
                <view class="btn" bind:tap="handleOpenVideo">继续查看视频教程</view>
            </view>
        </view>
        <image src="/assets/imgs/验证成功底部.png" mode="widthFix" style="width: 100%;" />
    </view>
</view>