<view class="search-title">二手车估值</view>
<view class="search-text">根据车型和市场查询到市场行情，车商收车价，市场成交价。</view>
<view class="vin-input">
    <text class="opt-name">车型</text>
    <block wx:if="{{carName==''}}">
        <text bindtap="toSelectCar" class="opt-input">请选择车型</text>
        <text class="arrow"></text>
    </block>
    <text bindtap="toSelectCar" class="opt-input suredata" wx:else>{{carName}}</text>
</view>
<view class="vin-input">
    <text class="opt-name">所在地区</text>
    <block wx:if="{{cityName==''}}">
        <text bindtap="toSelectCity" class="opt-input">请选择地区</text>
        <text class="arrow"></text>
    </block>
    <text bindtap="toSelectCity" class="opt-input suredata" wx:else>{{cityName}}</text>
</view>
<view class="vin-input">
    <text class="opt-name">首次上牌</text>
    <block wx:if="{{regdate==''}}">
        <text bindtap="toSelectTime" class="opt-input">请选择上牌日期</text>
        <text class="arrow"></text>
    </block>
    <text bindtap="toSelectTime" class="opt-input suredata" wx:else>{{regdate}}</text>
</view>
<view class="vin-input">
    <text class="opt-name" style="width: 50%">里程（万公里）</text>
    <input bindinput="mileageChanage" class="opt-input" placeholder="请输入公里数" placeholderStyle="color:#b1b1b1" style="width: 40%;color:#000;margin-right:5%" type="digit" value="{{mileage}}"></input>
</view>
<button bindtap="queryVolation" class="search-button">开始估值</button>
<view class="help-view">
    <text bindtap="toDetailExample" class="help-example">样例报告</text>
</view>
<view style="height:10rpx;"></view>
<view class="topbb" wx:if="{{repairList.length>0}}">
    <view class="title">
        <view class="main">二手车估值查询记录</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}}"></image>
                <view class="text-view">
                    <text class="name-text">{{item.carName}}</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">{{item.vin}}</text>
                    <text class="hui-text">{{item.time}}</text>
                </view>
            </view>
        </view>
    </view>
</view>
