<form bindsubmit="release" reportSubmit="true">
    <view class="modle" style="border-bottom:0"> 配件图片 <text class="must_red">*</text>
    </view>
    <view class="shangchuan_view" wx:if="{{partImg!=''}}">
        <image bindtap="delImg" class="shangchuan_Img_close" src="/pages/image/tupiangb_btn.png"></image>
        <image bindtap="showimg" class="shangchuan_Img" src="{{partImg}}"></image>
    </view>
    <view class="shangchuan_view" wx:if="{{partImg==''}}">
        <image bindtap="upcarsimgs" class="shangchuan_Img" src="/pages/image/tianjiantp_btn.png"></image>
    </view>
    <view class="modle"> 配件名称 <text class="must_red">*</text>
        <input class="modle_right" name="part_name" placeholder="请输入配件名称" placeholderStyle="color: #9295A8;" type="text" value=""></input>
    </view>
    <view class="modle"> 车辆类型 <text class="must_red">*</text>
        <picker bindchange="selectCarType" class="modle_right" range="{{carTypeList}}" rangeKey="name" value="{{index}}">
            <view> {{carTypeName}} </view>
        </picker>
    </view>
    <view class="modle"> 年份 <text class="must_red">*</text>
        <input class="modle_right" name="car_year" placeholder="请输入年份" placeholderStyle="color: #9295A8;" style="width:350rpx;" type="digit" value="{{defult_value}}"></input>
    </view>
    <view class="modle"> 配件类型 <text class="must_red">*</text>
        <picker bindchange="selectPartType" class="modle_right" range="{{partTypeList}}" rangeKey="name" value="{{index}}">
            <view> {{partTypeName}} </view>
        </picker>
    </view>
    <view class="modle">
        <input class="modle_right btm_input" name="user_tel" placeholder="" placeholderStyle="color: #9295A8;" type="number" value="{{tel}}"></input> 联系电话 <text class="must_red">*</text>
        <button bindgetphonenumber="getPhoneNumber" class="modle_btn" openType="getPhoneNumber">电话授权</button>
    </view>
    <button class="bufa_btn" formType="submit">提交</button>
    <view class="jinggao">提交后，后台客服会根据提交信息进行报价。</view>
</form>
<import src="/pages/alert/index.wxml"></import>
<template is="alert" data="{{isShow:isShow}}"></template>
