<form bindreset="formReset" bindsubmit="release" reportSubmit="true">
    <view class="modle" style="border-bottom:0"> 车辆详图 </view>
    <view class="shangchuan_view" wx:if="{{item.img!=''}}" wx:for="{{carsimgs}}">
        <image bindtap="upthiscarsimgs" class="shangchuan_Img_close" data-index="{{index}}" src="/pages/image/tupiangb_btn.png"></image>
        <image bindtap="showimgs" class="shangchuan_Img" data-index="{{index}}" src="{{item.img}}"></image>
    </view>
    <view class="shangchuan_view" wx:if="{{carsimgs.length<=9}}">
        <image bindtap="upcarsimgs" class="shangchuan_Img" src="/pages/image/tianjiantp_btn.png"></image>
    </view>
    <view class="modle"> 车辆类型 <text class="must_red">*</text>
        <picker bindchange="selectclass" class="modle_right" range="{{classes}}" rangeKey="name" value="{{index}}">
            <view> {{selectclass}} </view>
        </picker>
    </view>
    <view bindtap="selectbrand" class="modle"> 车辆品牌 <text class="must_red">*</text>
        <view class="modle_right"> {{selectbrand}} </view>
    </view>
    <view class="modle"> 汽车名称 <text class="must_red">*</text>
        <input bindtap="toSelectCar" class="modle_right" name="carname" placeholder="请选择汽车名称" placeholderStyle="color: #9295A8;" type="text" value="{{carname}}"></input>
    </view>
    <view class="modle"> 上牌日期 <text class="must_red">*</text>
        <picker bindchange="bindDateChange" class="modle_right" fields="month" mode="date" value="{{date}}">
            <view> {{selecttime}} </view>
        </picker>
    </view>
    <view class="modle"> 公里数(单位万) <text class="must_red">*</text>
        <input class="modle_right" name="kilometre" placeholder="请输入公里数单位：万" placeholderStyle="color: #9295A8;" style="width:350rpx;" type="digit" value="{{defult_value}}"></input>
    </view>
    <view class="modle"> 售价(单位万) <text class="must_red">*</text>
        <input class="modle_right" name="price" placeholder="请输入转让价格单位：万" placeholderStyle="color: #9295A8;" style="width:350rpx;" type="digit" value="{{defult_value}}"></input>
    </view>
    <view class="modle">
        <input class="modle_right btm_input" name="phone" placeholder="" placeholderStyle="color: #9295A8;" type="number" value="{{userphone}}"></input> 联系电话 <text class="must_red">*</text>
        <button bindgetphonenumber="getPhoneNumber" class="modle_btn" openType="getPhoneNumber">电话授权</button>
    </view>
    <view class="modle">
        <picker bindchange="bindRegionChange" customItem="{{customItem}}" mode="region" placeholderStyle="color: #9295A8;" value="{{region}}">
            <view class="modle_right"> {{region?region:'请选择看车地区'}} </view>
        </picker> 看车地址 <text class="must_red">*</text>
    </view>
    <button class="bufa_btn" style="background: #333;" wx:if="{{status=='1'}}">已经禁止发布车辆信息</button>
    <button class="bufa_btn" formType="submit" wx:else>发布</button>
    <view class="jinggao">发布不真实车源，虚报价格，一经核查将做封号处理。</view>
</form>
<import src="/pages/alert/index.wxml"></import>
<template is="alert" data="{{isShow:isShow}}"></template>
