Showing
5 changed files
with
11 additions
and
13 deletions
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | <div class="goods" data-id="{{productId}}" data-url="{{url}}"> | 3 | <div class="goods" data-id="{{productId}}" data-url="{{url}}"> |
4 | <div class="goods-img"> | 4 | <div class="goods-img"> |
5 | <a href="{{url}}" target="_blank"> | 5 | <a href="{{url}}" target="_blank"> |
6 | - <img class="lazy" data-original="{{image defaultImages 267 354}}" width="267" height="354" alt=""> | 6 | + <img class="lazy" data-original="{{image defaultImages 263 351}}" width="263" height="351" alt=""> |
7 | </a> | 7 | </a> |
8 | </div> | 8 | </div> |
9 | {{#if showBrand}} | 9 | {{#if showBrand}} |
@@ -22,7 +22,7 @@ | @@ -22,7 +22,7 @@ | ||
22 | </div> | 22 | </div> |
23 | <div class="goods-list hide"> | 23 | <div class="goods-list hide"> |
24 | {{#each goodsList}} | 24 | {{#each goodsList}} |
25 | - <i data-url="{{url}}">{{image imagesUrl 267 354}}</i> | 25 | + <i data-url="{{url}}">{{image imagesUrl 263 351}}</i> |
26 | {{/each}} | 26 | {{/each}} |
27 | </div> | 27 | </div> |
28 | </div> | 28 | </div> |
@@ -52,7 +52,7 @@ module.exports = { | @@ -52,7 +52,7 @@ module.exports = { | ||
52 | udp: { // send by udp | 52 | udp: { // send by udp |
53 | measurement: 'yohoblk_pc_log', | 53 | measurement: 'yohoblk_pc_log', |
54 | level: 'debug', // logger level | 54 | level: 'debug', // logger level |
55 | - host: '54.222.219.223', // influxdb host | 55 | + host: 'influxdblog.yohoops.org', // influxdb host |
56 | port: '4444' // influxdb port | 56 | port: '4444' // influxdb port |
57 | }, | 57 | }, |
58 | console: { | 58 | console: { |
@@ -88,7 +88,7 @@ if (isProduction) { | @@ -88,7 +88,7 @@ if (isProduction) { | ||
88 | Object.assign(module.exports, { | 88 | Object.assign(module.exports, { |
89 | appName: 'www.yohoblk.com', | 89 | appName: 'www.yohoblk.com', |
90 | domains: { | 90 | domains: { |
91 | - singleApi: 'http://api_single.yoho.cn/', | 91 | + singleApi: 'http://single.yoho.cn/', |
92 | api: 'http://api.yoho.yohoops.org/', | 92 | api: 'http://api.yoho.yohoops.org/', |
93 | service: 'http://service.yoho.yohoops.org/', | 93 | service: 'http://service.yoho.yohoops.org/', |
94 | search: 'http://search.yohoops.org/yohosearch/' | 94 | search: 'http://search.yohoops.org/yohosearch/' |
@@ -13,7 +13,7 @@ module.exports = (req, res, next) => { | @@ -13,7 +13,7 @@ module.exports = (req, res, next) => { | ||
13 | let refer = ''; | 13 | let refer = ''; |
14 | 14 | ||
15 | if (req.method === 'GET') { | 15 | if (req.method === 'GET') { |
16 | - refer = req.getUrl(); | 16 | + refer = `${req.protocol}://${req.hostname}${req.originalUrl}`; |
17 | } else { | 17 | } else { |
18 | refer = req.get('Referer'); | 18 | refer = req.get('Referer'); |
19 | } | 19 | } |
@@ -15,7 +15,6 @@ | @@ -15,7 +15,6 @@ | ||
15 | {{/if}} | 15 | {{/if}} |
16 | </li> | 16 | </li> |
17 | <li><a href="{{siteUrl}}/me">个人中心</a></li> | 17 | <li><a href="{{siteUrl}}/me">个人中心</a></li> |
18 | - <li><a href="{{siteUrl}}/me/order">订单中心</a></li> | ||
19 | <li><a href="{{siteUrl}}/help">帮助中心</a></li> | 18 | <li><a href="{{siteUrl}}/help">帮助中心</a></li> |
20 | </ul> | 19 | </ul> |
21 | </div> | 20 | </div> |
@@ -301,17 +301,16 @@ | @@ -301,17 +301,16 @@ | ||
301 | } | 301 | } |
302 | 302 | ||
303 | .goods-area { | 303 | .goods-area { |
304 | - margin: 0 -12px; | 304 | + margin: 0 -15px; |
305 | position: relative; | 305 | position: relative; |
306 | 306 | ||
307 | .goods { | 307 | .goods { |
308 | - margin: 10px 0 26px; | ||
309 | - padding: 10px; | 308 | + margin: 10px 0 16px; |
309 | + padding: 10px 13px; | ||
310 | float: left; | 310 | float: left; |
311 | text-align: center; | 311 | text-align: center; |
312 | border: 2px solid #fff; | 312 | border: 2px solid #fff; |
313 | cursor: pointer; | 313 | cursor: pointer; |
314 | - width: 287px; | ||
315 | 314 | ||
316 | .goods-brand { | 315 | .goods-brand { |
317 | font-weight: 700; | 316 | font-weight: 700; |
@@ -324,8 +323,8 @@ | @@ -324,8 +323,8 @@ | ||
324 | .goods-img { | 323 | .goods-img { |
325 | position: relative; | 324 | position: relative; |
326 | overflow: hidden; | 325 | overflow: hidden; |
327 | - width: 267px; | ||
328 | - height: 354px; | 326 | + width: 263px; |
327 | + height: 351px; | ||
329 | 328 | ||
330 | img { | 329 | img { |
331 | margin: 0; | 330 | margin: 0; |
@@ -345,7 +344,7 @@ | @@ -345,7 +344,7 @@ | ||
345 | 344 | ||
346 | .goods-name { | 345 | .goods-name { |
347 | padding: 4px 10px 10px; | 346 | padding: 4px 10px 10px; |
348 | - width: 265px; | 347 | + width: 263px; |
349 | overflow: hidden; | 348 | overflow: hidden; |
350 | text-overflow: ellipsis; | 349 | text-overflow: ellipsis; |
351 | white-space: nowrap; | 350 | white-space: nowrap; |
-
Please register or login to post a comment