Authored by 王水玲

店铺装修搜索入口修改

... ... @@ -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({
... ...
... ... @@ -26,12 +26,19 @@
.name {
margin-left: 10px;
width: 75px;
}
.shop-name {
font-size: 16px;
color: #222;
line-height: 26px;
width: 100%;
height: 26px;
display: block;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.sorts {
... ... @@ -41,6 +48,12 @@
a {
color: #999;
width: 100%;
height: 18px;
display: block;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
... ...