add the code first, such as the title. Add different background colors to p according to its content. I"ve been doing it for a long time, but I don"t know how to do it.
<table cellSpacing=0 cellPadding=0 id="right_table2" class="table table-bordered">
<tr v-for="item in data4" >
<td>{{item.gonghangId}}
</td>
<td>{{item.jianhangId}}
</td>
<td>{{item.nonghangId}}
</td>
<td>{{item.zhonghangId}}
</td>
<td>{{item.zhaoshangId}}
</td>
<td>{{item.jiaohangId}}
</td>
<td>{{item.pufaId}}
</td>
<td>{{item.guangdaId2}}
</td>
<td>{{item.guangdaId}}
</td>
</tr>
</table>
data4: [
{regions: "", gonghangId: "", jianhangId: "", nonghangId: "", zhonghangId: "", zhaoshangId: "", shuangyouId:""},
{regions: "", gonghangId: "", jianhangId: "", nonghangId: "", zhonghangId: "", zhaoshangId: "", shuangyouId:""},
{regions: "", gonghangId: "", jianhangId: "", nonghangId: "", zhonghangId: "", zhaoshangId: "", shuangyouId:""},
{regions: "", gonghangId: "", jianhangId: "", nonghangId: "", zhonghangId: "", zhaoshangId: "", shuangyouId:""},
{regions: "", gonghangId: "", jianhangId: "", nonghangId: "", zhonghangId: "", zhaoshangId: "", shuangyouId:""},
{regions: "", gonghangId: "", jianhangId: "", nonghangId: "", zhonghangId: "", zhaoshangId: "", shuangyouId:""},
{regions: "", gonghangId: "", jianhangId: "", nonghangId: "", zhonghangId: "", zhaoshangId: "", shuangyouId:""},
{regions: "", gonghangId: "", jianhangId: "", nonghangId: "", zhonghangId: "", zhaoshangId: "", shuangyouId:""},
{regions: "", gonghangId: "", jianhangId: "", nonghangId: "", zhonghangId: "", zhaoshangId: "", shuangyouId:""},
{regions: "", gonghangId: "", jianhangId: "", nonghangId: "", zhonghangId: "", zhaoshangId: "", shuangyouId:""},
{regions: "", gonghangId: "", jianhangId: "", nonghangId: "", zhonghangId: "", zhaoshangId: "", shuangyouId:""},
{regions: "", gonghangId: "", jianhangId: "", nonghangId: "", zhonghangId: "", zhaoshangId: "", shuangyouId:""},
{regions: "", gonghangId: "", jianhangId: "", nonghangId: "", zhonghangId: "", zhaoshangId: "", shuangyouId:""},
]