只需要在css 中加上以下CSS
table {border-collapse: collapse;border: 1px solid #000;}
th, td {border: 1px solid #000;padding:5px;}
或者只针对某个CSS
.table_style table {border-collapse: collapse;border: 1px solid #000;}
.table_style th, td {border: 1px solid #000;padding:5px;}
03-28
3万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-21
465
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-13
8325
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)