<view class="page-view">
    <view class="top-title">
        <text class="top-title-b">{{dh.name}}</text>
        <text class="top-title-l">{{dh.cxcontent}}</text>
        <text class="top-title-l">{{dh.zhuyi?dh.zhuyi:'注意：下单之后无法退款，查询需要成本'}}</text>
    </view>
    <view class="contain">
        <view class="banner-wrap" style="width: 750rpx; height: 270rpx; display: block; box-sizing: border-box; left: 0rpx; top: 0rpx">
            <view class="banner" style="width: 750rpx; height: 227rpx; display: block; box-sizing: border-box; left: 0rpx; top: 0rpx">
                <image mode="scaleToFill" src="/assets/images/banner04.jpg" style="width: 750rpx; height: 225rpx; display: inline-block; box-sizing: border-box" wx:if="{{banner.length==0}}"></image>
                <swiper autoplay="{{true}}" circular="{{circular}}" wx:else>
                    <swiper-item wx:for="{{banner}}" wx:key="index">
                        <image bindtap="onAdverts" class="slide-image" data-path="{{item.path}}" data-target="{{item.redirect_rul}}" data-type="{{item.url_type}}" src="{{item.image_url}}"></image>
                    </swiper-item>
                </swiper>
            </view>
        </view>
        <view class="select-wrap">
            <view class="select-white-wrap">
                <view class="title">
                    <text></text>
                    <view class="select-type">{{isHighBol?'普通查询':'请认真填写表单'}}</view>
                </view>
                <view class="ul-wrap">
                    <form bindreset="formReset" bindsubmit="formSubmit">
                        <view data-index="{{index}}" wx:for="{{dh.dhbd}}" wx:key="index">
                            <view class="li" style="border-bottom: 1rpx solid #ddd;" wx:if="{{item.type==0}}">
                                <text>{{item.title}}:</text>
                                <input bindinput="nameChanage" class="number" name="{{item.name}}" placeholder="{{item.input}}" type="text" value="{{postData[item.name]?postData[item.name]:item.value}}"></input>
                            </view>
                            <view class="li" style="border-bottom: 1rpx solid #ddd; " wx:if="{{item.type==1}}">
                                <text style="width:100px;">{{item.title}}</text>
                                <textarea bindinput="nameChanage" class="number" name="{{item.name}}" placeholder="{{item.input}}" style="height:{{item.height}}rpx;" type="text" value="{{postData[item.name]?postData[item.name]:item.value}}"></textarea>
                            </view>
                            <view class="li" style="border-bottom: 1rpx solid #ddd; " wx:if="{{item.type==2}}">
                                <text style="width:100px;">{{item.title}}</text>
                                <image bindtap="saoys" class="vin-input" data-name="{{item.name}}" id="{{item.id}}" mode="aspectFit" src="{{item.icon}}" style="height:{{item.height}}rpx; border-radius: 10px;" wx:if="{{!postData[item.name]}}"></image>
                                <image bindtap="saoys" class="vin-input" data-name="{{item.name}}" id="{{item.id}}" mode="aspectFill" src="{{postData[item.name]}}" style="height:{{item.height}}rpx; border-radius: 10px;" wx:else></image>
                            </view>
                            <view class="li" style="border-bottom: 1rpx solid #ddd; " wx:if="{{item.type==3}}">
                                <text style="width:100px;">{{item.title}}</text>
                                <view class="vin-input" style="height:auto;border-radius: 6px;">
                                    <view class="shangchuan_view" wx:if="{{imgitem.img!=''}}" wx:for="{{postData[item.name]}}" wx:for-index="idx" wx:for-item="imgitem">
                                        <image bindtap="upthiscarsimgs" class="shangchuan_Img_close" data-index="{{idx}}" data-name="{{item.name}}" data-nun="{{item.nun}}" id="{{item.id}}" src="/pages/image/tupiangb_btn.png"></image>
                                        <image bindtap="showimgs" class="shangchuan_Img" data-index="{{idx}}" src="{{imgitem.img}}"></image>
                                    </view>
                                    <view class="shangchuan_view" wx:if="{{carsimgs.length<=9}}">
                                        <image bindtap="upcarsimgs" class="shangchuan_Img" data-name="{{item.name}}" data-nun="{{item.nun}}" id="{{item.id}}" src="/pages/image/tianjiantp_btn.png"></image>
                                    </view>
                                </view>
                            </view>
                            <view bindtap="openPick" class="li" data-index="2" style="border-bottom: 1rpx solid #ddd;" wx:if="{{item.type==4}}">
                                <text>车牌种类</text>
                                <view class="result {{license_plate_type?'checked':''}}">{{license_plate_type?license_plate_type:'请选择车牌种类'}} <image mode="scaleToFill" src="/assets/icon/right-icon.png"></image>
                                </view>
                            </view>
                        </view>
                        <button class="search-button" formType="submit">支付{{dh.cxmoney}}查询</button>
                        <view class="help-view"></view>
                    </form>
                </view>
            </view>
        </view>
    </view>
    <view class="help-view">
        <text bindtap="toDetailExample" class="help-example">样例报告</text>
        <text class="help-wht">注意:查询前请看演示报告</text>
    </view>
    <view class="topbb">
        <view class="title">
            <view class="main">{{dh.name}}记录</view>
        </view>
        <view data-index="{{index}}" wx:for="{{repairList}}" wx:key="index">
            <view class="contentView">
                <text bindtap="copyText" class="orderNum" data-text="{{item.vin}}">订单编号：{{item.orderid}}</text>
                <view class="lineView"></view>
                <view bindtap="{{item.queryStatus=='2'?'getDangerDetail':item.queryStatus=='4'?'showRenMsg':item.queryStatus=='3'?'showGaoMsg':''}}" data-brand="{{item.car}}" data-logo="{{item.logo}}" data-orderid="{{item.orderid}}" data-querytype="{{item.queryType}}" data-time="{{item.queryTimeStr}}" data-version="{{item.queryVersion}}">
                    <image class="logo-img" mode="widthFix" src="{{item.logo?item.logo:'/assets/images/ban-list-sel@2.png'}}"></image>
                    <view class="text-view">
                        <text class="name-text">{{item.car}}</text>
                        <text class="statusView {{item.queryStatus=='1'?'underwayView':item.queryStatus=='2'?'ingView':item.queryStatus=='4'?'underwayView':'successView'}}">{{item.queryStatus=='1'?'查询中...':item.queryStatus=='2'?'已出报告':item.queryStatus=='4'?'人工处理':'无记录'}}</text>
                        <text class="{{item.hasRefund=='2'?'refundView successView':'noneView'}}">{{item.hasRefund=='2'?'已退款':'退款中...'}}</text>
                        <text class="hui-text" wx:if="{{item.vin}}">VIN:{{item.vin}}</text>
                        <text class="hui-text" wx:if="{{item.chepai}}">车牌:{{item.chepai}}}</text>
                        <text class="hui-text" wx:if="{{item.engine}}">发动机:{{item.engine}}}</text>
                        <text class="hui-text" wx:if="{{item.ipdz}}">IP:{{item.ipdz}}</text>
                        <text class="hui-text" wx:if="{{item.phone}}">手机:{{item.phone}}</text>
                        <text class="hui-text" wx:if="{{item.idcar}}">证件:{{item.idcar}}</text>
                        <text class="hui-text" wx:if="{{item.name}}">名字:{{item.name}}</text>
                        <text class="hui-text" wx:if="{{item.company}}">公司:{{item.company}}}</text>
                        <text class="hui-text">{{item.time}}</text>
                    </view>
                </view>
            </view>
            <view class="help-view"></view>
        </view>
    </view>
</view>
