Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
42c190b6981809a172da95f50f7df121c5de638e
2 parents
9a2d3de0
a92db4b5
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
8 deletions
static/js/cart/cart.js
static/sass/cart/_select-coupon.scss
static/sass/product/_detail.scss
static/js/cart/cart.js
View file @
42c190b
...
...
@@ -105,13 +105,6 @@ if ($('.cart-nav').length > 0) {
return
;
}
if
(
switchChose
===
false
)
{
$cartContentShow
.
find
(
'.shopping-cart-good .name'
).
each
(
function
()
{
this
.
mlellipsis
(
2
);
});
switchChose
=
true
;
}
if
(
cartType
===
'ordinary'
)
{
cartType
=
'advance'
;
$
(
'#cartType'
).
val
(
'advance'
);
...
...
@@ -128,6 +121,13 @@ if ($('.cart-nav').length > 0) {
$cartContentShow
=
$cartContent
.
not
(
'.hide'
);
if
(
switchChose
===
false
)
{
$cartContentShow
.
find
(
'.shopping-cart-good .name'
).
each
(
function
()
{
this
.
mlellipsis
(
2
);
});
switchChose
=
true
;
}
//trigger lazyload
$
(
window
).
trigger
(
'scroll'
);
});
...
...
static/sass/cart/_select-coupon.scss
View file @
42c190b
...
...
@@ -78,6 +78,7 @@
}
.not-avaliable
{
-webkit-filter
:
grayscale
(
100%
);
// -webkit-filter: grayscale(100%);
@include
filter
(
grayscale
(
100%
));
}
}
...
...
static/sass/product/_detail.scss
View file @
42c190b
...
...
@@ -9,6 +9,10 @@ $basicBtnC:#eb0313;
overflow
:
hidden
;
background-color
:
#f0f0f0
;
.yoho-tip
{
z-index
:
4
;
}
.page-block
{
background-color
:
#fff
;
box-sizing
:
border-box
;
...
...
Please
register
or
login
to post a comment