Authored by mark

adjust font-size

... ... @@ -19,15 +19,16 @@ module.exports = {
// test2
singleApi: 'http://192.168.102.27:8092/brower',
// api: 'http://api-test2.yohops.com:9999/',
// service: 'http://service-test2.yohops.com:9999/',
api: 'http://api.yoho.cn/',
service: 'http://service.yoho.cn/',
api: 'http://api.yoho.cn/',
service: 'http://service.yoho.cn/'
// api: 'http://dev-api.yohops.com:9999/',
// service: 'http://dev-service.yohops.com:9999/',
//search: 'http://192.168.102.216:8080/yohosearch/'
// search: 'http://192.168.102.216:8080/yohosearch/'
},
subDomains: {
host: '.yohobuy.com',
... ...
... ... @@ -287,6 +287,7 @@ bindEvent.add(function() {
move(e);
});
// 细节图结束
// 促销弹出框
... ... @@ -1420,13 +1421,14 @@ $('.package-box').on('click', '#buy-detail', function() {
for (var i = 0; i < pkgData.packageData.length; i++) {
var pData = pkgData.packageData[i];
if(pData.colors.length === 1 && pData.colors[0].size.length === 1) {
if (pData.colors.length === 1 && pData.colors[0].size.length === 1) {
singleSkuList.push(pData.colors[0].size[0].sku);
} else {
isSingle = false;
}
}
//如果只有套餐中商品,都只有一个颜色一个尺码,就直接跳转结算页
// 如果只有套餐中商品,都只有一个颜色一个尺码,就直接跳转结算页
if (isSingle) {
if (!window.getUid()) {
return window.jumpUrl(window.signinUrl());
... ... @@ -1680,16 +1682,16 @@ $(function() {
$(function() {
var font = $('.description-content .basic li');
$('.comfort .pull-left:nth-child(4)').css('margin-left','8px');
for(var i = 1; i <=4; i++){
if(i !== 2){
$('.description-content ul li:nth-child('+(i+4)+') .valueSpace').css({
'display': 'inline-block',
'text-align': 'right',
'width': $('.description-content ul li:nth-child('+i+') .valueSpace').width()
});
$('.comfort .pull-left:nth-child(4)').css('margin-left', '8px');
for (var i = 1; i <= 4; i++) {
if (i !== 2) {
$('.description-content ul li:nth-child(' + (i + 4) + ') .valueSpace').css({
'display': 'inline-block',
'text-align': 'right',
'width': $('.description-content ul li:nth-child(' + i + ') .valueSpace').width()
});
}
}
}
font.each(function(i, ele) {
if ((i + 1) % 4 === 0) {
... ...