Committed by
hf
add more link
Showing
2 changed files
with
23 additions
and
0 deletions
@@ -332,6 +332,22 @@ $clothes: sprite-map("guang/clothes/*.png"); | @@ -332,6 +332,22 @@ $clothes: sprite-map("guang/clothes/*.png"); | ||
332 | } | 332 | } |
333 | } | 333 | } |
334 | 334 | ||
335 | + .link-block { | ||
336 | + display: block; | ||
337 | + height: 80rem / $pxConvertRem; | ||
338 | + line-height: 80rem / $pxConvertRem; | ||
339 | + padding: 0 30rem / $pxConvertRem; | ||
340 | + font-size: 16px; | ||
341 | + background: #fff; | ||
342 | + border-top: 1px solid #e0e0e0; | ||
343 | + border-bottom: 1px solid #e0e0e0; | ||
344 | + | ||
345 | + .iconfont { | ||
346 | + float: right; | ||
347 | + color: #ccc; | ||
348 | + } | ||
349 | + } | ||
350 | + | ||
335 | .related-brand { | 351 | .related-brand { |
336 | margin-top: 30rem / $pxConvertRem; | 352 | margin-top: 30rem / $pxConvertRem; |
337 | 353 |
@@ -63,6 +63,13 @@ | @@ -63,6 +63,13 @@ | ||
63 | </div> | 63 | </div> |
64 | {{/if}} | 64 | {{/if}} |
65 | 65 | ||
66 | + {{#if moreLink}} | ||
67 | + <a class="post-block link-block" href="{{moreLink}}"> | ||
68 | + 更多商品 | ||
69 | + <span class="iconfont"></span> | ||
70 | + </a> | ||
71 | + {{/if}} | ||
72 | + | ||
66 | {{#if relatedReco}} | 73 | {{#if relatedReco}} |
67 | <div class="post-block related-reco-block clearfix"> | 74 | <div class="post-block related-reco-block clearfix"> |
68 | <h2>相关推荐</h2> | 75 | <h2>相关推荐</h2> |
-
Please register or login to post a comment