Merge branch 'feature/sale' into release/4.8
Showing
15 changed files
with
58 additions
and
36 deletions
@@ -18,6 +18,16 @@ module.exports = { | @@ -18,6 +18,16 @@ module.exports = { | ||
18 | api: 'http://devapi.yoho.cn:58078/', | 18 | api: 'http://devapi.yoho.cn:58078/', |
19 | service: 'http://devservice.yoho.cn:58077/' | 19 | service: 'http://devservice.yoho.cn:58077/' |
20 | }, | 20 | }, |
21 | + subDomains: { | ||
22 | + host: '.m.yohobuy.com', | ||
23 | + default: '//m.yohobuy.com', | ||
24 | + guang: '//guang.m.yohobuy.com', | ||
25 | + list: '//list.m.yohobuy.com', | ||
26 | + search: '//search.m.yohobuy.com', | ||
27 | + huodong: '//huodong.m.yohobuy.com', | ||
28 | + activity: '//activity.yohobuy.com', | ||
29 | + index: '//m.yohobuy.com' | ||
30 | + }, | ||
21 | useOneapm: false, | 31 | useOneapm: false, |
22 | useCache: false, | 32 | useCache: false, |
23 | memcache: { | 33 | memcache: { |
1 | -<div class="left-right-thumb-row"> | 1 | +<div class="left-right-thumb-row clearfix"> |
2 | {{# data}} | 2 | {{# data}} |
3 | - {{# left}} | ||
4 | - <a href="{{url}}"> | ||
5 | - <div class="thumb-row-box left-thumb-row-box" style="background-image:url({{image src 275 160}})"></div> | ||
6 | - </a> | ||
7 | - {{/ left}} | 3 | + <div class="left-container"> |
4 | + {{# left}} | ||
5 | + <a href="{{url}}"> | ||
6 | + <div class="thumb-row-box left-thumb-row-box" style="background-image:url({{image src 275 160}})"></div> | ||
7 | + </a> | ||
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}}"> |
@@ -31,18 +31,18 @@ | @@ -31,18 +31,18 @@ | ||
31 | }, | 31 | }, |
32 | "license": "MIT", | 32 | "license": "MIT", |
33 | "dependencies": { | 33 | "dependencies": { |
34 | - "bluebird": "^3.4.0", | ||
35 | - "body-parser": "^1.15.0", | 34 | + "bluebird": "^3.4.1", |
35 | + "body-parser": "^1.15.2", | ||
36 | "connect-memcached": "^0.2.0", | 36 | "connect-memcached": "^0.2.0", |
37 | "cookie-parser": "^1.4.3", | 37 | "cookie-parser": "^1.4.3", |
38 | - "express": "^4.13.1", | 38 | + "express": "^4.14.0", |
39 | "express-handlebars": "^3.0.0", | 39 | "express-handlebars": "^3.0.0", |
40 | - "express-session": "^1.13.0", | 40 | + "express-session": "^1.14.0", |
41 | "influxdb-winston": "^1.0.1", | 41 | "influxdb-winston": "^1.0.1", |
42 | "lodash": "^4.13.1", | 42 | "lodash": "^4.13.1", |
43 | "md5": "^2.1.0", | 43 | "md5": "^2.1.0", |
44 | "memcached": "^2.2.1", | 44 | "memcached": "^2.2.1", |
45 | - "moment": "^2.13.0", | 45 | + "moment": "^2.14.1", |
46 | "morgan": "^1.7.0", | 46 | "morgan": "^1.7.0", |
47 | "oneapm": "^1.2.20", | 47 | "oneapm": "^1.2.20", |
48 | "passport": "^0.3.2", | 48 | "passport": "^0.3.2", |
@@ -56,14 +56,14 @@ | @@ -56,14 +56,14 @@ | ||
56 | "uuid": "^2.0.2", | 56 | "uuid": "^2.0.2", |
57 | "winston": "^2.2.0", | 57 | "winston": "^2.2.0", |
58 | "winston-daily-rotate-file": "^1.1.4", | 58 | "winston-daily-rotate-file": "^1.1.4", |
59 | - "yoho-node-lib": "0.0.11" | 59 | + "yoho-node-lib": "0.0.17" |
60 | }, | 60 | }, |
61 | "devDependencies": { | 61 | "devDependencies": { |
62 | - "autoprefixer": "^6.3.6", | 62 | + "autoprefixer": "^6.3.7", |
63 | "ava": "^0.15.2", | 63 | "ava": "^0.15.2", |
64 | "babel-preset-es2015": "^6.9.0", | 64 | "babel-preset-es2015": "^6.9.0", |
65 | "babel-register": "^6.9.0", | 65 | "babel-register": "^6.9.0", |
66 | - "eslint": "^2.12.0", | 66 | + "eslint": "^3.0.1", |
67 | "eslint-config-yoho": "^1.0.1", | 67 | "eslint-config-yoho": "^1.0.1", |
68 | "gulp": "^3.9.1", | 68 | "gulp": "^3.9.1", |
69 | "gulp-cssnano": "^2.1.2", | 69 | "gulp-cssnano": "^2.1.2", |
@@ -84,11 +84,11 @@ | @@ -84,11 +84,11 @@ | ||
84 | "postcss-pxtorem": "^3.3.1", | 84 | "postcss-pxtorem": "^3.3.1", |
85 | "postcss-short": "^1.4.0", | 85 | "postcss-short": "^1.4.0", |
86 | "postcss-sprites": "^3.1.2", | 86 | "postcss-sprites": "^3.1.2", |
87 | - "postcss-use": "^2.0.2", | 87 | + "postcss-use": "^2.2.0", |
88 | "precss": "^1.4.0", | 88 | "precss": "^1.4.0", |
89 | - "rewire": "^2.5.1", | 89 | + "rewire": "^2.5.2", |
90 | "shelljs": "^0.7.0", | 90 | "shelljs": "^0.7.0", |
91 | - "stylelint": "^6.6.0", | 91 | + "stylelint": "^6.9.0", |
92 | "stylelint-config-yoho": "^1.2.3", | 92 | "stylelint-config-yoho": "^1.2.3", |
93 | "webpack": "^1.13.1", | 93 | "webpack": "^1.13.1", |
94 | "webpack-dev-server": "^1.14.1", | 94 | "webpack-dev-server": "^1.14.1", |
@@ -99,7 +99,6 @@ | @@ -99,7 +99,6 @@ | ||
99 | "yoho-iscroll": "^5.2.0", | 99 | "yoho-iscroll": "^5.2.0", |
100 | "yoho-jquery": "^2.2.4", | 100 | "yoho-jquery": "^2.2.4", |
101 | "yoho-jquery-lazyload": "^1.9.7", | 101 | "yoho-jquery-lazyload": "^1.9.7", |
102 | - "yoho-jquery-placeholder": "^0.0.3", | ||
103 | "yoho-mlellipsis": "0.0.3", | 102 | "yoho-mlellipsis": "0.0.3", |
104 | "yoho-swiper": "^3.3.1" | 103 | "yoho-swiper": "^3.3.1" |
105 | } | 104 | } |
@@ -53,7 +53,6 @@ $(function() { | @@ -53,7 +53,6 @@ $(function() { | ||
53 | yh_channel: window.queryString.channel || 'boys', | 53 | yh_channel: window.queryString.channel || 'boys', |
54 | saleType: '2', | 54 | saleType: '2', |
55 | productPool: $vipFloor.data('id'), | 55 | productPool: $vipFloor.data('id'), |
56 | - order: '0', | ||
57 | limit: '4' | 56 | limit: '4' |
58 | } | 57 | } |
59 | }).then(function(res) { | 58 | }).then(function(res) { |
@@ -67,6 +66,8 @@ $(function() { | @@ -67,6 +66,8 @@ $(function() { | ||
67 | 66 | ||
68 | $title[0].mlellipsis(2); | 67 | $title[0].mlellipsis(2); |
69 | }); | 68 | }); |
69 | + | ||
70 | + $vipFloor.css('padding-bottom', '0.75rem'); | ||
70 | } | 71 | } |
71 | }); | 72 | }); |
72 | 73 |
@@ -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 | } |
@@ -5,12 +5,11 @@ | @@ -5,12 +5,11 @@ | ||
5 | @import "layout/swiper"; | 5 | @import "layout/swiper"; |
6 | @import "layout/header"; | 6 | @import "layout/header"; |
7 | @import "layout/footer"; | 7 | @import "layout/footer"; |
8 | +@import "common/index"; | ||
8 | @import "channel/index"; | 9 | @import "channel/index"; |
9 | @import "product/index"; | 10 | @import "product/index"; |
10 | -@import "common/index"; | ||
11 | -@import "outlet/index"; | ||
12 | @import "activity/index"; | 11 | @import "activity/index"; |
12 | + | ||
13 | /* @import "passport/index"; */ | 13 | /* @import "passport/index"; */ |
14 | @import "guang/index"; | 14 | @import "guang/index"; |
15 | - | ||
16 | @import "cart/chose-panel"; | 15 | @import "cart/chose-panel"; |
@@ -24,13 +24,13 @@ | @@ -24,13 +24,13 @@ | ||
24 | 24 | ||
25 | .arrow { | 25 | .arrow { |
26 | position: absolute; | 26 | position: absolute; |
27 | - top: -10px; | 27 | + top: -16px; |
28 | right: 30px; | 28 | right: 30px; |
29 | - width: 20px; | ||
30 | - height: 20px; | ||
31 | - background: #000; | ||
32 | - content: ""; | ||
33 | - transform: rotate(45deg); | 29 | + width: 0; |
30 | + height: 0; | ||
31 | + border-style: solid; | ||
32 | + border-width: 0 10px 16px; | ||
33 | + border-color: transparent transparent #000; | ||
34 | } | 34 | } |
35 | 35 | ||
36 | &.show { | 36 | &.show { |
@@ -69,14 +69,16 @@ | @@ -69,14 +69,16 @@ | ||
69 | 69 | ||
70 | .category-swiper { | 70 | .category-swiper { |
71 | height: auto; | 71 | height: auto; |
72 | + max-height: 320px; | ||
72 | } | 73 | } |
73 | 74 | ||
74 | .vip-floor { | 75 | .vip-floor { |
75 | - padding-bottom: 30px; | ||
76 | border-bottom: 1px solid #e0e0e0; | 76 | border-bottom: 1px solid #e0e0e0; |
77 | 77 | ||
78 | .good-info { | 78 | .good-info { |
79 | margin-bottom: 20px; | 79 | margin-bottom: 20px; |
80 | + height: auto; | ||
81 | + min-height: 506px; | ||
80 | } | 82 | } |
81 | } | 83 | } |
82 | 84 |
-
Please register or login to post a comment