直接上代码
一、html主体部分
<div class="wrapper">
<nav>
<img src="./img/dd_logo.jpg" alt="">
<span id="close" onclick=" window.close()">关闭</span>
</nav>
<table>
<thead>
<tr >
<td>商品图片</td>
<td>商品信息</td>
<td>单价</td>
<td>数量</td>
<td>总价</td>
<td>操作</td>
</tr>
</thead>
<tbody>
<tr>
<td><img src="./img/dog.jpg" alt=""></td>
<td>我和狗狗活下来了</td>
<td>21.00</td>
<td>
<button class="cal">-</button>
<