Showing
2 changed files
with
20 additions
and
19 deletions
@@ -19,14 +19,15 @@ module.exports = { | @@ -19,14 +19,15 @@ 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 | api: 'http://api.yoho.cn/', |
26 | service: 'http://service.yoho.cn/', | 27 | service: 'http://service.yoho.cn/', |
27 | 28 | ||
28 | - //api: 'http://dev-api.yohops.com:9999/', | ||
29 | - //service: 'http://dev-service.yohops.com:9999/', | 29 | + // api: 'http://dev-api.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: { |
@@ -1654,23 +1654,23 @@ $(function() { | @@ -1654,23 +1654,23 @@ $(function() { | ||
1654 | }); | 1654 | }); |
1655 | }); | 1655 | }); |
1656 | 1656 | ||
1657 | -$(function(){ | ||
1658 | - var font = $('.description-content .basic li'); | ||
1659 | - var fontwidth = $('.description-content ul li:nth-child(4) .valueSpace').width(); | ||
1660 | - $('.description-content ul li:nth-child(8) .valueSpace').css({ | ||
1661 | - 'display':'inline-block', | ||
1662 | - 'text-align':'right', | ||
1663 | - 'width':fontwidth | ||
1664 | - }); | ||
1665 | - font.each(function(i,ele){ | ||
1666 | - | ||
1667 | - if((i+1) % 4 === 0){ | ||
1668 | - $(this).find('.justpostion').css({'display':'inline-block','float':'right'}); | ||
1669 | - }else if((i+1) % 4 === 1) { | ||
1670 | - return; | ||
1671 | - }else { | ||
1672 | - $(this).css('text-align','center'); | ||
1673 | - } | 1657 | +$(function() { |
1658 | + var font = $('.description-content .basic li'); | ||
1659 | + var fontwidth = $('.description-content ul li:nth-child(4) .valueSpace').width(); | ||
1660 | + $('.description-content ul li:nth-child(8) .valueSpace').css({ | ||
1661 | + 'display': 'inline-block', | ||
1662 | + 'text-align': 'right', | ||
1663 | + 'width': fontwidth | ||
1664 | + }); | ||
1665 | + font.each(function(i, ele) { | ||
1666 | + | ||
1667 | + if ((i + 1) % 4 === 0) { | ||
1668 | + $(this).find('.justpostion').css({'display': 'inline-block', 'float': 'right'}); | ||
1669 | + } else if ((i + 1) % 4 === 1) { | ||
1670 | + return; | ||
1671 | + } else { | ||
1672 | + $(this).css('text-align', 'center'); | ||
1673 | + } | ||
1674 | 1674 | ||
1675 | 1675 | ||
1676 | }); | 1676 | }); |
-
Please register or login to post a comment