以下添加页面为效果图:
当添加之后会跳转至渲染页面
当数据清空完的时候,会显示图下暂无数据
接下来,废话不多说,直接上代码
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
.topBtn>button{
border: none;
cursor: pointer;
}
.active{
background: skyblue;
color: white;
font-size: 26px;
}
.bottomDiv>div{
display: none;
}
.bottomDiv .show{
display: block;
}
</style>
</head>
<body>
<div class="box">
<div class="topBtn">
<button type=