fix: 修改搜索框

master
Haoyu Chen 5 years ago
parent 15bce0e226
commit 43dc291858

@ -13,11 +13,10 @@
</head>
<style>
.cart-header {
padding: 20px 0 40px;
position: relative;
padding: 20px 0 20px;
/* position: relative; */
width: 990px;
margin: 0 auto;
position: relative;
}
.cart-logo {
display: block;
@ -37,8 +36,13 @@
display: block;
float: right;
position: relative;
top: 25px;
margin-left: 20px;
top: 10px;
margin-right: 20px;
height: 52px;
width: 45%;
}
.form-control {
width:300px;
}
</style>
<body>
@ -62,16 +66,13 @@
</div>
</div>
</div>
<div class="cart-header">
<div class="cart-header header clearfix">
<img class="cart-logo" src="../img/logo.png" alt="">
<span class="cart">购物车</span>
<form class="form-inline my-2 my-lg-0" role="search" method="get" action="/Search/SearchList" target="_blank">
<div class="input-group header-search">
<input type="text" class="form-control" name="keyword" placeholder="全站检索">
<span class="input-group-btn">
<button type="submit" class="btn btn-secondary">搜索</button>
</span>
</div><!-- /input-group -->
</form>
<div class="header-search search-bar">
<input type="text">
<button>搜索</button>
</div>
</div>
</html>
Loading…
Cancel
Save