...
|
...
|
@@ -33,6 +33,10 @@ exports.init = function(num) { |
|
|
$shopEntry.eq(shopEntryLen - 1).css({
|
|
|
width: '100%'
|
|
|
});
|
|
|
|
|
|
$shopEntry.eq(shopEntryLen - 1).find('.name').css({
|
|
|
width: '600px'
|
|
|
});
|
|
|
} else if (shopEntryLen % 3 === 2) {
|
|
|
$shopEntry.eq(shopEntryLen - 1).css({
|
|
|
width: '49%'
|
...
|
...
|
@@ -41,6 +45,14 @@ exports.init = function(num) { |
|
|
$shopEntry.eq(shopEntryLen - 2).css({
|
|
|
width: '49%'
|
|
|
});
|
|
|
|
|
|
$shopEntry.eq(shopEntryLen - 1).find('.name').css({
|
|
|
width: '230px'
|
|
|
});
|
|
|
|
|
|
$shopEntry.eq(shopEntryLen - 2).find('.name').css({
|
|
|
width: '230px'
|
|
|
});
|
|
|
}
|
|
|
|
|
|
$('.shop-entry:nth-child(3n+1)').css({
|
...
|
...
|
|