效果图:
学习的话肯定是一步一步敲下去,先把table的结构给写出来
<table>
<thead>
<tr>
<th></th>
<th>书籍名称</th>
<th>出版日期</th>
<th>价格</th>
<th>购买数量</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr>
<td>{
{item.id}}</td>
<td>{
{item.name}}</td>
<td>{
{item.time}}</td>
<td>{
{item.price}}</td>
<td><button >-</button>{
{item.count}}<button>+</button></td>
<td><button>移除</button