Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
陈峰
2017-03-10 15:59:08 +0800
Commit
21e208bb98b07b18b079ef8998d65b7f14ba6761
2 parents
7edbc203
8a05f6d9
Merge branch 'feature/chose-panel' into 'release/5.5'
秒杀商品无可修改数量 See merge request
!362
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
public/js/product/new-detail.js
public/js/product/new-detail.js
View file @
21e208b
...
...
@@ -155,11 +155,12 @@ setTimeout(() => {
$
(
'#addtoCart'
).
on
(
'touchstart'
,
function
()
{
let
productCode
=
$
(
'#limitProductCode'
).
val
();
let
seckill
=
$
(
'.seckill-time'
).
length
;
$
(
'.cart-bar'
).
hide
();
chosePanel
.
show
({
data
:
data
,
disableNum
:
productCode
disableNum
:
productCode
||
seckill
}).
then
(
result
=>
{
$
(
'.cart-bar'
).
show
();
if
(
result
&&
result
.
sku
)
{
...
...
Please
register
or
login
to post a comment