<?php if($type == 'proModel'){?>
	<?php foreach($modelArr as $v){?>
	<tr>
		<td><input type="checkbox" name="chkM3[]" lay-skin="primary" lay-filter="select-chkM3" value="<?php echo $v['mod3_id'];?>"></td>
		<td><a href="javascript:;" class="a_blue" tobrand="<?php echo $v['brand_id'];?>"><?php echo $v['brand_name'];?></a></td>
		<td><?php echo $v['make_name'];?></td>
		<td><?php echo $v['mod2_name'];?></td>
		<td><?php echo $v['mod3_name'];?></td>
		<td><?php echo $v['mod3_year'];?></td>
		<td><?php echo $v['mod3_engine'];?></td>
		<td><?php echo $v['mod3_kw'];?></td>
		<td><?php echo $v['mod3_cc'];?></td>
		<td><?php echo $v['mod3_fuel'];?></td>
		<td><?php echo $v['mod3_transmission'];?></td>
		<td><?php echo $v['mod3_body'];?></td>
		<td><?php echo $v['mod3_rear_brake'];?></td>
		<td><?php echo $v['mod3_parking_brake'];?></td>
		<td><?php echo $v['mod3_drive'];?></td>
		<td><?php echo $v['mod3_para'];?></td>
	</tr>
	<?php }?>
<?php }else{?>
	<?php if(!empty($modelArr)){?>
	<table class="layui-table model-talbe-width mart10 ajaxM3list YpTable" yptablebody="#m3tbody">
		<colgroup>
			<col width="2.5%">
			<col width="6.5%">
			<col width="7%">
			<col width="11%">
			<col width="12%">
			<col width="6%">
			<col width="8%">
			<col width="4%">
			<col width="4%">
			<col width="4%">
			<col width="6%">
			<col width="7%">
			<col width="5%">
			<col width="5%">
			<col width="5%">
			<col width="6%">
		</colgroup>
		<thead>
			<tr class="Filter Sortable">
				<th><input type="checkbox" lay-skin="primary" lay-filter="selectall-model" id="selectall-model"/></th>
				<th class="Sort"><span>品牌</span></th>
				<th class="Sort"><span>生产商</span></th>
				<th class="Sort"><span>车代</span></th>
				<th class="Sort"><span>车型</span></th>
				<th class="Sort"><span>年份</span></th>
				<th class="Sort"><span>发动机</span></th>
				<th class="Sort"><span>功率</span></th>
				<th class="Sort"><span>排量</span></th>
				<th class="Sort"><span>燃料</span></th>
				<th class="Sort"><span>变速器</span></th>
				<th class="Sort"><span>车身形式</span></th>
				<th class="Sort"><span>后制动器</span></th>
				<th class="Sort"><span>驻车制动</span></th>
				<th class="Sort"><span>驱动方式</span></th>
				<th class="Sort"><span>车型参数</span></th>
			</tr>
			<tr class="filter-txt">
				<td width="2.5%"> </td>
				<td width="6.5%"><input type="text" class="layui-input FilterTxt"/></td>
				<td width="7%"><input type="text" class="layui-input FilterTxt"/></td>
				<td width="11%"><input type="text" class="layui-input FilterTxt"/></td>
				<td width="12%"><input type="text" class="layui-input FilterTxt"/></td>
				<td width="6%"><input type="text" class="layui-input FilterTxt"/></td>
				<td width="8%"><input type="text" class="layui-input FilterTxt"/></td>
				<td width="4%"><input type="text" class="layui-input FilterTxt"/></td>
				<td width="4%"><input type="text" class="layui-input FilterTxt"/></td>
				<td width="4%"><input type="text" class="layui-input FilterTxt"/></td>
				<td width="6%"><input type="text" class="layui-input FilterTxt"/></td>
				<td width="7%"><input type="text" class="layui-input FilterTxt"/></td>
				<td width="5%"><input type="text" class="layui-input FilterTxt"/></td>
				<td width="5%"><input type="text" class="layui-input FilterTxt"/></td>
				<td width="5%"><input type="text" class="layui-input FilterTxt"/></td>
				<td width="6%"><input type="text" class="layui-input FilterTxt"/></td>
			</tr>
		</thead>
	</table>
	<div id="ajaxM3listBox">
		<table class="layui-table model-talbe-width ajaxM3list">
			<colgroup>
				<col width="2.5%">
				<col width="6.5%">
				<col width="7%">
				<col width="11%">
				<col width="12%">
				<col width="6%">
				<col width="8%">
				<col width="4%">
				<col width="4%">
				<col width="4%">
				<col width="6%">
				<col width="7%">
				<col width="5%">
				<col width="5%">
				<col width="5%">
				<col width="6%">
			</colgroup>
			<tbody id="m3tbody">
				<?php foreach($modelArr as $v){?>
				<tr>
					<td><input type="checkbox" name="model[]" lay-skin="primary" lay-filter="select-model" value="<?php echo $v['mod3_id'];?>"></td>
					<td><?php echo $v['brand_name'];?></td>
					<td><?php echo $v['make_name'];?></td>
					<td><?php echo $v['mod2_name'];?></td>
					<td><?php echo $v['mod3_name'];?></td>
					<td><?php echo $v['mod3_year'];?></td>
					<td><?php echo $v['mod3_engine'];?></td>
					<td><?php echo $v['mod3_kw'];?></td>
					<td><?php echo $v['mod3_cc'];?></td>
					<td><?php echo $v['mod3_fuel'];?></td>
					<td><?php echo $v['mod3_transmission'];?></td>
					<td><?php echo $v['mod3_body'];?></td>
					<td><?php echo $v['mod3_rear_brake'];?></td>
					<td><?php echo $v['mod3_parking_brake'];?></td>
					<td><?php echo $v['mod3_drive'];?></td>
					<td><?php echo $v['mod3_para'];?></td>
				</tr>
				<?php }?>
			</tbody>
		</table>
	</div>
	<?php }else{?>
	<div class="alert alert-warning" role="alert">不到对应的车型信息</div>
	<?php }?>
<?php }?>
