Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
08f569e569e2fae85145a456535a969f4c100a82
1 parent
a5f45334
购物车尺码颜色选择逻辑
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
static/js/cart/chose-panel.js
template/m.yohobuy.com/partials/cart/chose-panel.phtml
static/js/cart/chose-panel.js
View file @
08f569e
...
...
@@ -82,16 +82,20 @@ function show(data) {
$chosePanel
.
html
(
panelTmpl
(
data
));
init
();
}
}
//显示当前Panel
function
show
()
{
$
(
'.chose-panel'
).
show
();
$
(
'body'
).
css
(
'overflow'
,
'hidden'
);
$num
=
$
(
'#good-num'
);
}
////显示当前Panel
//function show() {
// $('.chose-panel').show();
//
// $('body').css('overflow', 'hidden');
// $num = $('#good-num');
//}
//隐藏当前Panel
function
hide
()
{
$
(
'.chose-panel'
).
hide
();
...
...
template/m.yohobuy.com/partials/cart/chose-panel.phtml
View file @
08f569e
...
...
@@ -58,6 +58,7 @@
</a>
</div>
<span
class=
"left-num"
></span>
<input
id=
"left-num"
type=
"hidden"
value=
"0"
>
</div>
</div>
</div>
...
...
Please
register
or
login
to post a comment