Authored by ccbikai

搜索页面搜索按钮

@@ -27,7 +27,7 @@ @@ -27,7 +27,7 @@
27 .clear-input { 27 .clear-input {
28 position: absolute; 28 position: absolute;
29 top: 24rem / $pxConvertRem; 29 top: 24rem / $pxConvertRem;
30 - right: 110rem / $pxConvertRem; 30 + right: 100rem / $pxConvertRem;
31 font-size: 32rem / $pxConvertRem; 31 font-size: 32rem / $pxConvertRem;
32 color: #b2b2b2; 32 color: #b2b2b2;
33 } 33 }
@@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
35 .search { 35 .search {
36 position: absolute; 36 position: absolute;
37 top: 20rem / $pxConvertRem; 37 top: 20rem / $pxConvertRem;
38 - right: 0; 38 + right: 12rem / $pxConvertRem;
39 border: none; 39 border: none;
40 background: transparent; 40 background: transparent;
41 font-size: 32rem / $pxConvertRem; 41 font-size: 32rem / $pxConvertRem;
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 <i class="search-icon iconfont">&#xe60f;</i> 6 <i class="search-icon iconfont">&#xe60f;</i>
7 <input type="text" placeholder="搜索商品" name="query"> 7 <input type="text" placeholder="搜索商品" name="query">
8 <i class="clear-input iconfont hide">&#xe626;</i> 8 <i class="clear-input iconfont hide">&#xe626;</i>
9 - <button id="search" class="search" type="submit">搜索</button> 9 + <span id="search" class="search" type="submit">搜索</span>
10 </form> 10 </form>
11 </div> 11 </div>
12 <div class="search-items"> 12 <div class="search-items">