Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
9 years ago
Commit
c51954709fae7f53090165b80249c1b40405a78c
1 parent
27b772e7
店铺介绍头部VUE化
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
public/js/channel/brand.page.js
public/vue/channel/brand-shop-top.vue
public/js/channel/brand.page.js
View file @
c519547
...
...
@@ -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
});
...
...
public/vue/channel/brand-shop-top.vue
View file @
c519547
...
...
@@ -40,7 +40,7 @@
height: 60px;
font-size: 16px;
line-height: 32px;
overflow
: hidden
;
overflow
-y: auto
;
text-overflow: ellipsis;
}
...
...
Please
register
or
login
to post a comment