Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
2016-08-05 16:03:27 +0800
Commit
0810c67afcd1dfe069bfb2ada76dbbbc1475c04a
1 parent
0c051c82
cart goods
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
public/js/shopping/cart/cart.js
public/scss/shopping/_cart-products.css
public/js/shopping/cart/cart.js
View file @
0810c67
...
...
@@ -471,4 +471,11 @@ var Cart = {
}
};
require
(
'yoho-jquery-dotdotdot'
);
// product name dotdotdot
$
(
'.pro-name a'
).
dotdotdot
({
wrap
:
'letter'
});
module
.
exports
=
Cart
;
...
...
public/scss/shopping/_cart-products.css
View file @
0810c67
...
...
@@ -112,9 +112,6 @@ $hoverColor: #379ed6;
width
:
234px
;
word-wrap
:
break-word
;
margin-bottom
:
13px
;
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
2
;
line-height
:
1.3em
;
overflow
:
hidden
;
:hover
{
...
...
Please
register
or
login
to post a comment