Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop
Showing
8 changed files
with
13 additions
and
17 deletions
@@ -95,12 +95,5 @@ $win.scroll(function() { | @@ -95,12 +95,5 @@ $win.scroll(function() { | ||
95 | updateLayerPosition(); | 95 | updateLayerPosition(); |
96 | }); | 96 | }); |
97 | 97 | ||
98 | -$win.on('resize', function(){ | ||
99 | - console.log('resize'); | ||
100 | -}); | ||
101 | - | ||
102 | -$win.on('scrollstop', function(){ | ||
103 | - console.log('stop'); | ||
104 | -}); | ||
105 | 98 | ||
106 | $doc.on('ready', updateLayerPosition); | 99 | $doc.on('ready', updateLayerPosition); |
@@ -3,6 +3,7 @@ var $ = require('jquery'), | @@ -3,6 +3,7 @@ var $ = require('jquery'), | ||
3 | var employ; | 3 | var employ; |
4 | 4 | ||
5 | window.rePosFooter(); | 5 | window.rePosFooter(); |
6 | +$('.yoho-footer').css('border-top', '1px solid #e0e0e0'); | ||
6 | $('.employ span').each(function(index) { | 7 | $('.employ span').each(function(index) { |
7 | employ = new Hammer($('.employ span')[index]); | 8 | employ = new Hammer($('.employ span')[index]); |
8 | employ.on('tap', function(e) { | 9 | employ.on('tap', function(e) { |
@@ -135,7 +135,7 @@ $suggest: sprite-map("me/suggest/*.png",$spacing: 5px); | @@ -135,7 +135,7 @@ $suggest: sprite-map("me/suggest/*.png",$spacing: 5px); | ||
135 | 135 | ||
136 | a { | 136 | a { |
137 | color: #444; | 137 | color: #444; |
138 | - display: block; | 138 | + display: inline-block; |
139 | } | 139 | } |
140 | 140 | ||
141 | > span { | 141 | > span { |
@@ -101,10 +101,10 @@ $basicBtnC:#eb0313; | @@ -101,10 +101,10 @@ $basicBtnC:#eb0313; | ||
101 | display: inline-block; | 101 | display: inline-block; |
102 | box-sizing: border-box; | 102 | box-sizing: border-box; |
103 | margin-left: .5px; | 103 | margin-left: .5px; |
104 | - font-size: pxToRem(23px); | 104 | + font-size: pxToRem(18px); |
105 | text-align: center; | 105 | text-align: center; |
106 | - line-height: pxToRem(33px); | ||
107 | - padding: 0 5px; | 106 | + line-height: pxToRem(30px); |
107 | + padding: 0 15px; | ||
108 | } | 108 | } |
109 | .new-tag { | 109 | .new-tag { |
110 | background-color: #78dc7e; | 110 | background-color: #78dc7e; |
@@ -21,6 +21,7 @@ | @@ -21,6 +21,7 @@ | ||
21 | padding: pxToRem(16px) pxToRem(12px); | 21 | padding: pxToRem(16px) pxToRem(12px); |
22 | color: $mainFontC; | 22 | color: $mainFontC; |
23 | background-color: $tableCellC; | 23 | background-color: $tableCellC; |
24 | + border-top: 1px solid #fff; | ||
24 | } | 25 | } |
25 | } | 26 | } |
26 | .tips { | 27 | .tips { |
@@ -65,7 +66,7 @@ | @@ -65,7 +66,7 @@ | ||
65 | .wash-tips{ | 66 | .wash-tips{ |
66 | padding-top:pxToRem(18px); | 67 | padding-top:pxToRem(18px); |
67 | &.page-block{ | 68 | &.page-block{ |
68 | - border-top: 0px; | 69 | + // border-top: 0px; |
69 | padding-left: pxToRem(15px); | 70 | padding-left: pxToRem(15px); |
70 | padding-right: pxToRem(15px); | 71 | padding-right: pxToRem(15px); |
71 | } | 72 | } |
@@ -127,6 +128,7 @@ | @@ -127,6 +128,7 @@ | ||
127 | .avatar { | 128 | .avatar { |
128 | line-height: pxToRem(40px); | 129 | line-height: pxToRem(40px); |
129 | width: pxToRem(40px); | 130 | width: pxToRem(40px); |
131 | + border-radius: 50%; | ||
130 | height: pxToRem(40px); | 132 | height: pxToRem(40px); |
131 | margin: pxToRem(18px) 0; | 133 | margin: pxToRem(18px) 0; |
132 | } | 134 | } |
@@ -9,9 +9,9 @@ | @@ -9,9 +9,9 @@ | ||
9 | <div class="suggest-content" id="suggest-content"> | 9 | <div class="suggest-content" id="suggest-content"> |
10 | {{# suggestContent}} | 10 | {{# suggestContent}} |
11 | <div class="suggest-item" data-id="{{suggest_id}}"> | 11 | <div class="suggest-item" data-id="{{suggest_id}}"> |
12 | - {{# imgUrl}} | ||
13 | - <img class="lazy" data-original="{{.}}" alt=""/> | ||
14 | - {{/ imgUrl}} | 12 | + {{#if imgUrl}} |
13 | + <img class="lazy" data-original="{{imgUrl}}" alt=""/> | ||
14 | + {{/if}} | ||
15 | <h2>{{title}}</h2> | 15 | <h2>{{title}}</h2> |
16 | <p>{{content}}</p> | 16 | <p>{{content}}</p> |
17 | 17 |
@@ -47,7 +47,7 @@ | @@ -47,7 +47,7 @@ | ||
47 | {{#if periodOfMarket}} | 47 | {{#if periodOfMarket}} |
48 | <div class="periodOfMarket"> | 48 | <div class="periodOfMarket"> |
49 | <h1>上市期:</h1> | 49 | <h1>上市期:</h1> |
50 | - <h1 >{{peridOfMarket}}</h1> | 50 | + <h1 >{{periodOfMarket}}</h1> |
51 | </div> | 51 | </div> |
52 | {{/if}} | 52 | {{/if}} |
53 | </div> | 53 | </div> |
-
Please register or login to post a comment