...
|
...
|
@@ -99,9 +99,13 @@ define('yohood', function(require, exports) { |
|
|
|
|
|
if (parseInt(style.height) > 30) {
|
|
|
$textContent.css("margin", "21px 0 0 0");
|
|
|
$clamp($textContent.find("a")[0], { clamp: clampNum.smallText });
|
|
|
$clamp($textContent.find("a")[0], {
|
|
|
clamp: clampNum.smallText
|
|
|
});
|
|
|
} else {
|
|
|
$clamp($textContent.find("a")[0], { clamp: clampNum.bigText });
|
|
|
$clamp($textContent.find("a")[0], {
|
|
|
clamp: clampNum.bigText
|
|
|
});
|
|
|
}
|
|
|
|
|
|
}
|
...
|
...
|
@@ -576,7 +580,7 @@ define('yohood', function(require, exports) { |
|
|
height = 0,
|
|
|
padding = 0,
|
|
|
margin = 0;
|
|
|
totalHeight = 0;
|
|
|
totalHeight = 0;
|
|
|
|
|
|
$("#brand_detail").html(data);
|
|
|
if ($(window).height() < 580) { //小屏幕,去掉关闭按钮
|
...
|
...
|
|