Authored by 郭成尧

店铺介绍头部VUE化

... ... @@ -22,7 +22,7 @@ Vue.use(lazyload);
const $expand = $('.expand'),
$collapse = $('.collapse'),
$brandIntro = $('.brand-intro'),
exCoTm = 5; // 展开隐藏的倍数
exCoTm = 4; // 展开隐藏的倍数
$expand.on('click', function() {
$brandIntro.removeClass('line-clamp').animate({height: $brandIntro.height() * exCoTm});
... ...
... ... @@ -40,7 +40,7 @@
height: 60px;
font-size: 16px;
line-height: 32px;
overflow: hidden;
overflow-y: auto;
text-overflow: ellipsis;
}
... ...