整理文档,搜刮出一个使用 Vue.js 仿百度搜索框的实例代码,稍微整理精简一下做下分享。
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Vue demo</title>
<style type=text/css>
.bg {
background: #ccc;
}
</style>
[removed][removed]
<script src=https://cdn.bo