Authored by mark

adjust font-size

@@ -19,15 +19,16 @@ module.exports = { @@ -19,15 +19,16 @@ module.exports = {
19 19
20 // test2 20 // test2
21 singleApi: 'http://192.168.102.27:8092/brower', 21 singleApi: 'http://192.168.102.27:8092/brower',
  22 +
22 // api: 'http://api-test2.yohops.com:9999/', 23 // api: 'http://api-test2.yohops.com:9999/',
23 // service: 'http://service-test2.yohops.com:9999/', 24 // service: 'http://service-test2.yohops.com:9999/',
24 25
25 - api: 'http://api.yoho.cn/',  
26 - service: 'http://service.yoho.cn/', 26 + api: 'http://api.yoho.cn/',
  27 + service: 'http://service.yoho.cn/'
27 28
28 // api: 'http://dev-api.yohops.com:9999/', 29 // api: 'http://dev-api.yohops.com:9999/',
29 // service: 'http://dev-service.yohops.com:9999/', 30 // service: 'http://dev-service.yohops.com:9999/',
30 - //search: 'http://192.168.102.216:8080/yohosearch/' 31 + // search: 'http://192.168.102.216:8080/yohosearch/'
31 }, 32 },
32 subDomains: { 33 subDomains: {
33 host: '.yohobuy.com', 34 host: '.yohobuy.com',
@@ -287,6 +287,7 @@ bindEvent.add(function() { @@ -287,6 +287,7 @@ bindEvent.add(function() {
287 287
288 move(e); 288 move(e);
289 }); 289 });
  290 +
290 // 细节图结束 291 // 细节图结束
291 292
292 // 促销弹出框 293 // 促销弹出框
@@ -1420,13 +1421,14 @@ $('.package-box').on('click', '#buy-detail', function() { @@ -1420,13 +1421,14 @@ $('.package-box').on('click', '#buy-detail', function() {
1420 1421
1421 for (var i = 0; i < pkgData.packageData.length; i++) { 1422 for (var i = 0; i < pkgData.packageData.length; i++) {
1422 var pData = pkgData.packageData[i]; 1423 var pData = pkgData.packageData[i];
1423 - if(pData.colors.length === 1 && pData.colors[0].size.length === 1) { 1424 + if (pData.colors.length === 1 && pData.colors[0].size.length === 1) {
1424 singleSkuList.push(pData.colors[0].size[0].sku); 1425 singleSkuList.push(pData.colors[0].size[0].sku);
1425 } else { 1426 } else {
1426 isSingle = false; 1427 isSingle = false;
1427 } 1428 }
1428 } 1429 }
1429 - //如果只有套餐中商品,都只有一个颜色一个尺码,就直接跳转结算页 1430 +
  1431 + // 如果只有套餐中商品,都只有一个颜色一个尺码,就直接跳转结算页
1430 if (isSingle) { 1432 if (isSingle) {
1431 if (!window.getUid()) { 1433 if (!window.getUid()) {
1432 return window.jumpUrl(window.signinUrl()); 1434 return window.jumpUrl(window.signinUrl());
@@ -1680,16 +1682,16 @@ $(function() { @@ -1680,16 +1682,16 @@ $(function() {
1680 1682
1681 $(function() { 1683 $(function() {
1682 var font = $('.description-content .basic li'); 1684 var font = $('.description-content .basic li');
1683 - $('.comfort .pull-left:nth-child(4)').css('margin-left','8px');  
1684 - for(var i = 1; i <=4; i++){  
1685 - if(i !== 2){  
1686 - $('.description-content ul li:nth-child('+(i+4)+') .valueSpace').css({  
1687 - 'display': 'inline-block',  
1688 - 'text-align': 'right',  
1689 - 'width': $('.description-content ul li:nth-child('+i+') .valueSpace').width()  
1690 - }); 1685 + $('.comfort .pull-left:nth-child(4)').css('margin-left', '8px');
  1686 + for (var i = 1; i <= 4; i++) {
  1687 + if (i !== 2) {
  1688 + $('.description-content ul li:nth-child(' + (i + 4) + ') .valueSpace').css({
  1689 + 'display': 'inline-block',
  1690 + 'text-align': 'right',
  1691 + 'width': $('.description-content ul li:nth-child(' + i + ') .valueSpace').width()
  1692 + });
1691 } 1693 }
1692 - } 1694 + }
1693 1695
1694 font.each(function(i, ele) { 1696 font.each(function(i, ele) {
1695 if ((i + 1) % 4 === 0) { 1697 if ((i + 1) % 4 === 0) {