Showing
4 changed files
with
23 additions
and
9 deletions
@@ -33,15 +33,29 @@ | @@ -33,15 +33,29 @@ | ||
33 | 33 | ||
34 | .collect { | 34 | .collect { |
35 | width: 128px; | 35 | width: 128px; |
36 | - height: 50px; | 36 | + height: 49px; |
37 | position: absolute; | 37 | position: absolute; |
38 | bottom: 30px; | 38 | bottom: 30px; |
39 | right: 30px; | 39 | right: 30px; |
40 | - border-radius: 10px; | 40 | + border-radius: 10px; |
41 | text-align: center; | 41 | text-align: center; |
42 | - /*background-image: url('/product/collect.png') no-repeat;*/ | ||
43 | background-size: contain; | 42 | background-size: contain; |
44 | - border: 1px solid red; | 43 | + } |
44 | + | ||
45 | + .alreadyCollect{ | ||
46 | + width: 128px; | ||
47 | + height: 50px; | ||
48 | + border-radius: 10px; | ||
49 | + background-image: url('/product/already-collect.png') no-repeat; | ||
50 | + background-size: contain; | ||
51 | + } | ||
52 | + | ||
53 | + .notCollect{ | ||
54 | + width: 128px; | ||
55 | + height: 50px; | ||
56 | + border-radius: 10px; | ||
57 | + background-image: url('/product/not-collect.png') no-repeat; | ||
58 | + background-size: contain; | ||
45 | } | 59 | } |
46 | 60 | ||
47 | .nav { | 61 | .nav { |
@@ -36,8 +36,8 @@ | @@ -36,8 +36,8 @@ | ||
36 | font-size: 36px; | 36 | font-size: 36px; |
37 | border-bottom: 1px solid #e6e6e6; | 37 | border-bottom: 1px solid #e6e6e6; |
38 | text-align: left; | 38 | text-align: left; |
39 | - height: 70px; | ||
40 | - line-height: 70px; | 39 | + height: 90px; |
40 | + line-height: 90px; | ||
41 | vertical-align:middle; | 41 | vertical-align:middle; |
42 | display: block; | 42 | display: block; |
43 | width: 100%; | 43 | width: 100%; |
@@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
10 | <input type="text" placeholder="搜索店铺内潮品" name="query"> | 10 | <input type="text" placeholder="搜索店铺内潮品" name="query"> |
11 | <input type="hidden" name="shop_id" value="{{shopId}}"> | 11 | <input type="hidden" name="shop_id" value="{{shopId}}"> |
12 | <i class="clear-input iconfont hide"></i> | 12 | <i class="clear-input iconfont hide"></i> |
13 | - <span id="search" class="search" type="submit">搜索</span> | 13 | + <button id="search" class="search" type="submit">搜索</button> |
14 | </form> | 14 | </form> |
15 | </div> | 15 | </div> |
16 | </div> | 16 | </div> |
@@ -20,9 +20,9 @@ | @@ -20,9 +20,9 @@ | ||
20 | <p class="store-name">{{storeName}}</p> | 20 | <p class="store-name">{{storeName}}</p> |
21 | <div class="collect"> | 21 | <div class="collect"> |
22 | {{#if collect}} | 22 | {{#if collect}} |
23 | - <img src="{{alreadyCollect}}"></img> | 23 | + <div class="alreadyCollect"></div> |
24 | {{else}} | 24 | {{else}} |
25 | - <img src="{{notCollect}}"></img> | 25 | + <div class="notCollect"></div> |
26 | {{/if}} | 26 | {{/if}} |
27 | </div> | 27 | </div> |
28 | </div> | 28 | </div> |
-
Please register or login to post a comment