<view class="page__mask" wx:if="{{showPrivacy}}"></view>
<view class="privacy-dialog" wx:if="{{showPrivacy}}">
    <view class="privacy-dialog__title">用户隐私保护提示</view>
    <view class="privacy-dialog__content">亲爱用户，当您点击同意并开始使用产品服务时，即表示你已理解并同息该条款内容，该条款将对您产生法律约束力。如您拒绝，将无法使用本小程序提供的相关产品及服务。</view>
    <button bindtap="handleOpenPrivacyContract" class="privacy-dialog__text">查看隐私协议</button>
    <button bindagreeprivacyauthorization="handleAgreePrivacyAuthorization" class="privacy-dialog__button" id="agree-btn" openType="agreePrivacyAuthorization">同意</button>
</view>
<view>
    <view style="width: 750rpx; height:auto;">
        <view class="container" style="width: 577rpx; height: 809rpx; ">
            <view class="tui-padding" style="width: 511rpx; height: 811rpx; ">
                <view class="tui-title tui-top40" wx:if="{{type==1}}">查询项目：维修记录</view>
                <view class="tui-title tui-top40" wx:if="{{type==2}}">查询项目：出险记录</view>
                <view class="tui-title tui-top40" wx:if="{{type==5}}">查询项目：交强险日期查询，公司查询</view>
                <view class="tui-title tui-top40" wx:if="{{type==8}}">查询项目：电子保单</view>
                <view class="tui-title tui-top40" wx:if="{{type==9}}">查询项目：车辆状态</view>
                <view class="tui-title tui-top40" wx:if="{{type==4}}">查询项目：车架号处理</view>
                <view class="tui-title tui-top40" style="color: deeppink;" wx:if="{{type==26}}">查询项目：商业险信息查询</view>
                <view class="tui-title tui-top40" style="color: deeppink;" wx:if="{{cardata.cxtype}}">查询类型：{{cardata.cxtype}}</view>
                <view class="tui-title tui-top40" wx:if="{{cardata.money}}">付费价格</view>
                <view bindtap="fuzhi" class="tui-cells" id="{{cardata.money}}" style="width: 617rpx; height: 85rpx; display: block; box-sizing: border-box; left: 0rpx; top: 0rpx" wx:if="{{cardata.money}}">
                    <view class="tui-textarea" placeholderClass="tui-phcolor-color">{{cardata.money}}</view>
                </view>
                <view class="tui-title tui-top40" wx:if="{{cardata.type==0}}">普通查询</view>
                <view class="tui-title tui-top40" wx:if="{{cardata.type==1}}">高级查询</view>
                <view class="tui-title tui-top40" wx:if="{{cardata.vin}}">车架号:</view>
                <view bindtap="fuzhi" class="tui-cells" id="{{cardata.vin}}" style="width: 617rpx; height: 85rpx; display: block; box-sizing: border-box; left: 0rpx; top: 0rpx" wx:if="{{cardata.vin}}">
                    <input class="tui-textarea" maxlength="17" placeholder="车辆识别码/车架号" type="text" value="{{cardata.vin}}" wx:if="{{cardata.vin}}"></input>
                </view>
                <view class="tui-title tui-top40" wx:if="{{cardata.chepai}}">车牌号</view>
                <view bindtap="fuzhi" class="tui-cells" id="{{cardata.chepai}}" style="width: 617rpx; height: 85rpx; display: block; box-sizing: border-box; left: 0rpx; top: 0rpx" wx:if="{{cardata.chepai}}">
                    <input class="tui-textarea" maxlength="17" placeholder="车辆识别码/车架号" type="text" value="{{cardata.chepai}}" wx:if="{{cardata.chepai}}"></input>
                </view>
                <view class="tui-title tui-top40" wx:if="{{cardata.engine}}">发动机号</view>
                <view bindtap="fuzhi" class="tui-cells" id="{{cardata.engine}}" style="width: 617rpx; height: 85rpx; display: block; box-sizing: border-box; left: 0rpx; top: 0rpx" wx:if="{{cardata.engine}}">
                    <input class="tui-textarea" maxlength="17" placeholder="车辆识别码/车架号" type="text" value="{{cardata.engine}}" wx:if="{{cardata.engine}}"></input>
                </view>
                <view class="tui-title tui-top40" wx:if="{{cardata.xszimg}}">行驶证</view>
                <image bindtap="xszImage" class="tui-upload-img" id="{{cardata.xszimg}}" mode="aspectFill" src="{{cardata.xszimg}}" wx:if="{{cardata.xszimg}}"></image>
                <view class="tui-title tui-top40" wx:if="{{cardata.daben}}">大本(绿本1)</view>
                <image bindtap="xszImage" class="tui-upload-img" id="{{cardata.daben}}" mode="aspectFill" src="{{cardata.daben}}" wx:if="{{cardata.daben}}"></image>
                <view class="tui-title tui-top40" wx:if="{{cardata.daben1}}">大本(绿本2)</view>
                <image bindtap="xszImage" class="tui-upload-img" id="{{cardata.daben1}}" mode="aspectFill" src="{{cardata.daben1}}" wx:if="{{cardata.daben1}}"></image>
                <view class="tui-title tui-top40" wx:if="{{cardata.daben2}}">大本(绿本3)</view>
                <image bindtap="xszImage" class="tui-upload-img" id="{{cardata.daben2}}" mode="aspectFill" src="{{cardata.daben2}}" wx:if="{{cardata.daben2}}"></image>
                <view class="tui-title tui-top40" wx:if="{{cardata.daben3}}">大本(绿本4)</view>
                <image bindtap="xszImage" class="tui-upload-img" id="{{cardata.daben3}}" mode="aspectFill" src="{{cardata.daben3}}" wx:if="{{cardata.daben3}}"></image>
                <view class="tui-title tui-top40">通知单号</view>
                <view class="tui-cells" style="width: 617rpx; height: 105rpx; display: block; box-sizing: border-box; left: 0rpx; top: 0rpx">
                    <textarea bindconfirm="gameInput" bindinput="gameInput" class="tui-textarea" maxlength="500" name="gameid" placeholder="写下通知单号~" placeholderClass="tui-phcolor-color" value="{{orderid}}"></textarea>
                </view>
                <block wx:if="{{type!=5}}">
                    <view class="tui-title tui-top40">查询成功图片上传（请点击加号上传）当前共:{{files.length}}张图</view>
                    <view class="tui-upload-box" style="width: 697rpx; height: auto;margin-left: -10px;  ">
                        <view class="tui-upload-item" style=" height: auto;" wx:for="{{files}}" wx:key="{{index}}">
                            <image bindtap="previewImage" class="tui-upload-img" id="{{item}}" mode="aspectFill" src="{{item}}"></image>
                            <text catchtap="deleteImage" class="grace-text-small grace-gray grace-icons icon-remove" data-index="{{index}}">删除该图</text>
                            <tui-icon catchtap="deleteImage" data-index="{{index}}" name="close-fill" tuiIconClass="tui-upload-del"></tui-icon>
                        </view>
                        <view bindtap="chooseImage" class="tui-upload-item tui-upload-add" hidden="{{files.length>=120}}" hoverClass="tui-opcity" hoverStayTime="150">
                            <text>+</text>
                        </view>
                    </view>
                </block>
                <block wx:if="{{type==5}}">
                    <view class="tui-title tui-top40">查询结果</view>
                    <view class="" style="width: 617rpx; height: 205rpx; left: 0rpx; top: 0rpx; border: 1px solid #e6e6e6;">
                        <input bindconfirm="cxjgInput" bindinput="cxjgInput" maxlength="500" name="cxjg" placeholder="输入查询的结果~" style="width: 617rpx; height: 205rpx; font-size: 32rpx;left: 0rpx; top: 0rpx; border: 1px solid #e6e6e6;" value="{{cxjg}}"></input>
                    </view>
                </block>
                <view class="tui-title tui-top40">退款备注</view>
                <view class="" style="width: 617rpx; height: 205rpx; left: 0rpx; top: 0rpx; border: 1px solid #e6e6e6;">
                    <input bindconfirm="beizhuInput" bindinput="beizhuInput" maxlength="500" name="beizhu" placeholder="写下查询备注，如退款备注，查询结果说明~" style="width: 617rpx; height: 205rpx; font-size: 32rpx;left: 0rpx; top: 0rpx; border: 1px solid #e6e6e6;" value="{{beizhu}}"></input>
                </view>
                <view class="" style="width: 617rpx; height: 205rpx; left: 0rpx; top: 0rpx; ">
                    <button bindtap="uploadimg" class="search-button">提交完成</button>
                    <button bindtap="tuikuan" class="tukuan-button">立即退款</button>
                </view>
                <view style="height: 100rpx;"></view>
            </view>
        </view>
    </view>
</view>
