Showing
3 changed files
with
16 additions
and
9 deletions
@@ -18,7 +18,7 @@ | @@ -18,7 +18,7 @@ | ||
18 | (function(d,c){var e=d.documentElement,a="orientationchange" in window?"orientationchange":"resize",b=function(){var f=e.clientWidth;if(!f){return}if(f>=640){e.style.fontSize="40px"}else{e.style.fontSize=40*(f/640)+"px"}};if(!d.addEventListener){return}b();c.addEventListener(a,b,false);d.addEventListener("DOMContentLoaded",b,false)})(document,window); | 18 | (function(d,c){var e=d.documentElement,a="orientationchange" in window?"orientationchange":"resize",b=function(){var f=e.clientWidth;if(!f){return}if(f>=640){e.style.fontSize="40px"}else{e.style.fontSize=40*(f/640)+"px"}};if(!d.addEventListener){return}b();c.addEventListener(a,b,false);d.addEventListener("DOMContentLoaded",b,false)})(document,window); |
19 | </script> | 19 | </script> |
20 | {{#if devEnv}} | 20 | {{#if devEnv}} |
21 | - <link rel="stylesheet" href="//localhost:5001/css/index.css"> | 21 | + <link rel="stylesheet" href="//172.16.10.72:5001/css/index.css"> |
22 | {{^}} | 22 | {{^}} |
23 | <link rel="stylesheet" href="//cdn.yoho.cn/m-yohobuy-node/{{version}}/index.css"> | 23 | <link rel="stylesheet" href="//cdn.yoho.cn/m-yohobuy-node/{{version}}/index.css"> |
24 | {{/if}} | 24 | {{/if}} |
@@ -41,8 +41,8 @@ | @@ -41,8 +41,8 @@ | ||
41 | <script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.1.0.js"></script> | 41 | <script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.1.0.js"></script> |
42 | {{/wechatShare}} | 42 | {{/wechatShare}} |
43 | {{#if devEnv}} | 43 | {{#if devEnv}} |
44 | - <script src="//localhost:5001/libs.js"></script> | ||
45 | - <script src="//localhost:5001/{{module}}.{{page}}.js"></script> | 44 | + <script src="//172.16.10.72:5001/libs.js"></script> |
45 | + <script src="//172.16.10.72:5001/{{module}}.{{page}}.js"></script> | ||
46 | {{^}} | 46 | {{^}} |
47 | <script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/libs.js"></script> | 47 | <script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/libs.js"></script> |
48 | <script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/{{module}}.{{page}}.js"></script> | 48 | <script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/{{module}}.{{page}}.js"></script> |
1 | -<div class="left-right-thumb-row"> | 1 | +<div class="left-right-thumb-row clearfix"> |
2 | {{# data}} | 2 | {{# data}} |
3 | + <div class="left-container"> | ||
3 | {{# left}} | 4 | {{# left}} |
4 | <a href="{{url}}"> | 5 | <a href="{{url}}"> |
5 | <div class="thumb-row-box left-thumb-row-box" style="background-image:url({{image src 275 160}})"></div> | 6 | <div class="thumb-row-box left-thumb-row-box" style="background-image:url({{image src 275 160}})"></div> |
6 | </a> | 7 | </a> |
7 | {{/ left}} | 8 | {{/ left}} |
9 | + </div> | ||
8 | <div class="right-container"> | 10 | <div class="right-container"> |
9 | {{# right}} | 11 | {{# right}} |
10 | <a href="{{url}}"> | 12 | <a href="{{url}}"> |
@@ -2,8 +2,9 @@ | @@ -2,8 +2,9 @@ | ||
2 | background-color: #fff; | 2 | background-color: #fff; |
3 | text-align: center; | 3 | text-align: center; |
4 | margin-bottom: 30px; | 4 | margin-bottom: 30px; |
5 | - padding: 30px 0; | 5 | + padding: 30px 28px; |
6 | border-bottom: 1px solid #e0e0e0; | 6 | border-bottom: 1px solid #e0e0e0; |
7 | + font-size: 0; | ||
7 | 8 | ||
8 | .thumb-row-box { | 9 | .thumb-row-box { |
9 | display: inline-block; | 10 | display: inline-block; |
@@ -13,7 +14,7 @@ | @@ -13,7 +14,7 @@ | ||
13 | background-size: 100% 100%; | 14 | background-size: 100% 100%; |
14 | background-repeat: no-repeat; | 15 | background-repeat: no-repeat; |
15 | background-position: center; | 16 | background-position: center; |
16 | - margin: 0 14.4px; | 17 | + margin: 0; |
17 | 18 | ||
18 | &.first { | 19 | &.first { |
19 | margin: 0 !important; | 20 | margin: 0 !important; |
@@ -24,15 +25,19 @@ | @@ -24,15 +25,19 @@ | ||
24 | height: 308px; | 25 | height: 308px; |
25 | } | 26 | } |
26 | 27 | ||
28 | + .left-container { | ||
29 | + float: left; | ||
30 | + } | ||
31 | + | ||
27 | .right-container { | 32 | .right-container { |
28 | - display: inline-block; | 33 | + float: right; |
29 | width: 275px; | 34 | width: 275px; |
30 | height: 280px; | 35 | height: 280px; |
31 | border-radius: 4px; | 36 | border-radius: 4px; |
32 | - margin: 0 14.4px; | 37 | + margin: 0; |
33 | 38 | ||
34 | .right-thumb-row-box { | 39 | .right-thumb-row-box { |
35 | - margin: 32px 0 0; | 40 | + margin: 44px 0 0; |
36 | } | 41 | } |
37 | } | 42 | } |
38 | } | 43 | } |
-
Please register or login to post a comment