我有一个带有一些元素的引导表:
<table class="table">
<thead>
<tr>
<h5>Orders from Restaurant</h5>
</tr>
</thead>
<tbody>
<tr>
<td class="pr-0">
<img src="../../../storage/images/food/sharshara/appetizer_wing_preview.jpg"
height="100px" class="img-thumbnail">
</td>
<td>
<h4 class="">Chicken wings</h4>
<p>No sauce, extra dust</p>
<div class="float-right">
<div class="input-group input-group-sm" style="width: 100px">
<div class="input-group-prepend">
<button class="btn btn-danger" type="button" id="button-addon1">
<i class="fa fa-minus" aria-hidden="true"></i>
</button>
</div>
<input type="text" class="form-control text-center" value="1"
aria-describedby="button-addon1">
<div class="input-group-append">
<button class="btn btn-success" type="button" id="button-addon1">
<i class="fa fa-plus" aria-hidden="true"></i>
</button>
</div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
答案 0 :(得分:1)
您需要“修复”一些内容。
=IF(MID(A2,4,1)="S",LEFT(B2,FIND(" ",B2)-1),MID(B2,FIND(" ",B2)+1,9999))
,因为那样会缩小图像HTML
img-thumbnail