给按钮指定类型

dev
曾超新 5 years ago
parent 46d87200d7
commit 43d10b45a9
  1. 6
      frontend/views/car/order-add.php

@ -133,7 +133,7 @@ use common\models\PriceT;
<div class="ibox-title"> <div class="ibox-title">
<h5>险种</h5> <h5>险种</h5>
<div class="ibox-tools"> <div class="ibox-tools">
<button class="btn btn-primary btn-xs" data-id="0" onclick="getCarInfo();"> <button type="button" class="btn btn-primary btn-xs" data-id="0" onclick="getCarInfo();">
<i class="fa fa-gift"></i> 获取去年险种信息 <i class="fa fa-gift"></i> 获取去年险种信息
</button> </button>
</div> </div>
@ -200,10 +200,10 @@ use common\models\PriceT;
<h5>保费信息</h5> <h5>保费信息</h5>
<p id="total_rate" class="text-danger"></p> <p id="total_rate" class="text-danger"></p>
<div class="ibox-tools"> <div class="ibox-tools">
<button class="btn btn-primary btn-xs" onclick="getYingXiao();"> <button type="button" class="btn btn-primary btn-xs" onclick="getYingXiao();">
<i class="fa fa-gift"></i> 获取策略 <i class="fa fa-gift"></i> 获取策略
</button> </button>
<button class="btn btn-danger btn-xs" onclick="calInsurance();"> <button type="button" class="btn btn-danger btn-xs" onclick="calInsurance();">
<i class="fa fa-calculator"></i> 获取算费结果 <i class="fa fa-calculator"></i> 获取算费结果
</button> </button>
</div> </div>

Loading…
Cancel
Save