Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
htoooth
8 years ago
Commit
67beae8e6cf1e091b3dc40133961c5b34aed7488
2 parents
67ba82f1
1117e64f
Merge branch 'feature/oder-cancel' into release/5.5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
public/hbs/product/package-dialog.hbs
public/js/product/detail.page.js
public/hbs/product/package-dialog.hbs
View file @
67beae8
...
...
@@ -45,7 +45,7 @@
</div>
<div
class=
"pkgDg-footer clearfix"
>
<p
class=
"totalMoney left"
>
合
计:
<em>
{{
pkgPrice
}}
</em></p>
<span
id=
"pay-pkg"
class=
"buy-product red-color right
"
>
<span
class=
"pay-pkg buy-product red-color right"
data-bundleid=
"
{{
bundleId
}}
"
>
<em>
立即购买
</em>
</span>
</div>
...
...
public/js/product/detail.page.js
View file @
67beae8
...
...
@@ -1610,7 +1610,7 @@ $('.package-box').on('click', '#buy-detail', function() {
var
pkgDialog
=
new
Dialog
(
opt
);
// eslint-disable-line
pkgDialog
.
show
();
pkgDialog
.
$el
.
on
(
'click'
,
'
#
pay-pkg'
,
function
()
{
pkgDialog
.
$el
.
on
(
'click'
,
'
.
pay-pkg'
,
function
()
{
var
product
=
pkgDialog
.
$el
.
find
(
'.pkgDg-prodetal .pkg-product'
);
var
idArr
=
[];
...
...
@@ -1701,13 +1701,13 @@ $('.package-box').on('click', '#buy-detail', function() {
});
// 立即购买跳转
pkgDialog
.
$el
.
on
(
'click'
,
'
#
pay-pkg'
,
function
()
{
pkgDialog
.
$el
.
on
(
'click'
,
'
.
pay-pkg'
,
function
()
{
if
(
!
window
.
getUid
())
{
window
.
location
.
href
=
window
.
location
.
href
+
'#package'
;
return
window
.
jumpUrl
(
window
.
signinUrl
());
}
var
bundleId
=
$
(
'#package-pro'
).
data
(
'bundleid'
),
// eslint-disable-line
var
bundleId
=
$
(
this
).
data
(
'bundleid'
),
// eslint-disable-line
$selectedPkgSizes
=
$
(
'.pkg-sizes .size:not(.hide)'
),
flag
=
true
,
skuList
=
[];
...
...
Please
register
or
login
to post a comment