这篇文章主要为大家详细介绍了vue.js实现图书管理功能,具有一定的参考价值,
感兴趣的小伙伴们可以参考一下
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script src="../js/vue.js" type="text/javascript" charset="UTF-8"></script>
<style>
.grid {
margin: auto;
width: 600px;
text-align: center;
}
.grid table {
border-top: 1px solid #fff;
width: 100%;
border-collapse: collapse;
}
.grid th,
td {
padding: 10px;
border: 1px dashed #F3DCAB;
height: 35px;
line-height: 35px;
}
.grid th {
background-color: #F3DCAB;
}
a {
text-decoration: none;
}
.book {
background-color: #F3DCAB;
padding: 5px 0;
}
.grid .total {
height: 30px;
line-height: 30px;
background-color: #F3DCAB;
border-top: 1px solid #fff;
}
</style>
</head>
<body>
<div id="app">
<div <