<view class="page-view">
    <view class="top-title">
        <text class="top-title-b">公司联系方式查询</text>
        <text class="top-title-l">查询公司联系方式，方便沟通公司</text>
        <text class="top-title-l">注意：下单之后无法退款，查询需要成本</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 bindtap="saoys" class="select-type">{{isHighBol?'普通查询':''}}</view>
                </view>
                <view class="ul-wrap">
                    <view class="primary" wx:if="{{!isHighBol}}">
                        <view class="li">
                            <text>公司名称</text>
                            <input bindinput="name" class="number" controlled="{{true}}" maxlength="20" placeholder="输入公司全称" value="{{name}}"></input>
                        </view>
                    </view>
                    <view class="primary" wx:if="{{isHighBol}}">
                        <view bindtap="openPick" class="li" data-index="3">
                            <text>查找规则</text>
                            <view class="result {{hot_type?'checked':''}}">{{hot_type?hot_type:'请选择查找规则'}} <image mode="scaleToFill" src="/assets/icon/right-icon.png"></image>
                            </view>
                        </view>
                        <view class="li">
                            <text>包含号码</text>
                            <input bindinput="change" class="number" controlled="{{true}}" maxlength="5" placeholder="输入包含的号码，选填" value="{{query.license_plate}}"></input>
                        </view>
                        <view class="condition">
                            <view class="tit">其他条件</view>
                            <view class="list-wrap">
                                <view bindtap="selectRules" class="{{item.checked?'active':''}}" data-num="{{index}}" wx:for="{{conditions}}" wx:key="index">{{item.title}}</view>
                            </view>
                        </view>
                    </view>
                </view>
                <view class="btn-wrap">
                    <view bindtap="sumbin" class="btn">开始查询</view>
                </view>
            </view>
        </view>
        <view class="help-view">
            <text bindtap="toDetailExample" class="help-example">样例报告</text>
            <text bindtap="saoys" class="help-wht">扫一扫识别更快</text>
        </view>
        <view class="topbb">
            <view class="title">
                <view class="main">联系方式记录{{repairList.length}}条</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.name}}</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" style="width: 480rpx;">公司名:{{item.car}}</text>
                            <text class="hui-text">{{item.time}}</text>
                        </view>
                    </view>
                </view>
            </view>
        </view>
        <view class="modal-wrap" wx:if="{{pickerBol}}">
            <view bindtap="openPick" class="modal-bg"></view>
            <view class="modal-content">
                <view class="title">
                    <text>{{typeName.title}}</text>
                    <text bindtap="openPick" data-index="4">确定</text>
                </view>
                <picker-view bindchange="onChange" class="picker-view" indicatorStyle="height: 80rpx;" value="{{piclerNum}}">
                    <picker-view-column wx:for="{{pickerArray}}" wx:for-item="items" wx:key="index">
                        <view wx:for="{{items}}" wx:key="index">
                            <view>{{item.province_small?item.province_small:item.title?item.title:item}}</view>
                        </view>
                    </picker-view-column>
                </picker-view>
            </view>
        </view>
    </view>
</view>
