当前位置: 首页 > 文档资料 > Pile.js 中文文档 >

SelectCar 车型

优质
小牛编辑
123浏览
2023-12-01

定义

选择车型的组件。

图片展示

代码演示


import SelectCar from 'pile/dist/components/selectcar'
<SelectCar
  show={selectCarShow}
  brandClick={this.brandClick.bind(this)}
  carTypeClick={this.carTypeClick.bind(this)}
  carColorClick={this.carColorClick.bind(this)}
/>

属性

参数描述数据类型默认值
show是否默认展开boolfalse
brandClick点击车辆品牌回调function
carTypeClick点击车辆型号回调function
carColorClick点击车辆颜色回调function
brandDataURL车型数据详情地址string
staticImgURL车型图片获取地址string