您好,欢迎来到曲格情感。
搜索
您的当前位置:首页vue.js做出图书管理平台的详细步骤

vue.js做出图书管理平台的详细步骤

来源:曲格情感


这次给大家带来的是vue.js做出图书管理平台的详细步骤,首先我们需要搭建一个简单的demo样式,这篇文章就给大家好好分析一下。

给大家分享一段我的代码吧。  

<div class="container">
 <div class="col-md-6 col-md-offset-3">
 <h1>Vue demo</h1>
 
 <div id="app">
 <table class="table table-hover ">
 <caption></caption>
 <thead>
 <tr>
 <th>序号</th>
 <th>书名</th>
 <th>作者</th>
 <th>价格</th>
 <th>操作</th>
 </tr>
 </thead>
 </table>
 
 <div id="add-book">
 <legend>添加书籍</legend>
 <div class="form-group">
 <label for="group">书名</label>
 <input type="text" class="form-control" id="group">
 </div>
 <div class="form-group">
 <label for="author">作者</label>
 <input type="text" class="form-control" id="author">
 </div>
 <div class="form-group">
 <label for="price">价格</label>
 <input type="text" class="form-control" id="price">
 </div>
 <button class="btn btn-primary btn-block">添加</button>
 <button class="btn btn-primary btn-block">查询</button>
 </div>
 
 <div id="update-book">
 <legend>修改书籍</legend>
 <div class="form-group">
 <label for="group1">书名</label>
 <input type="text" class="form-control" id="group1">
 </div>
 <div class="form-group">
 <label for="author1">作者</label>
 <input type="text" class="form-control" id="author1">
 </div>
 <div class="form-group">
 <label for="price1">价格</label>
 <input type="text" class="form-control" id="price1">
 </div>
 <button class="btn btn-primary btn-block">完成</button>
 </div>
 </div>
 </div>
 </div>

相信看了以上介绍你已经掌握了方法,更多精彩请关注Gxl网其它相关文章!

相关阅读:

js实现仿window系统日历效果

require.js的使用方法详细介绍

JS怎样可以做到点击跳转到登陆的个人邮箱

Copyright © 2019- qugedi.com 版权所有

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务