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
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
8 years ago
Commit
719128b312b74ba80671c4335c71965a1e1a6f94
1 parent
35faa820
master
...
feature/balanceSwitch
feature/jitmodified
gray
hotfix/unionData
release/5.4.1
1230
1220
5.3.0
'maidian-data-modified'
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
12 deletions
static/js/cart/order-ensure.js
template/m.yohobuy.com/actions/cart/index/order-ensure.phtml
static/js/cart/order-ensure.js
View file @
719128b
...
...
@@ -291,17 +291,6 @@ function submitOrder() {
return
;
}
/* tar add 161116 */
if
(
res
.
unionCookie
)
{
if
(
window
.
_yas
&&
window
.
_yas
.
sendCustomInfo
)
{
window
.
_yas
.
sendCustomInfo
({
param
:
JSON
.
stringify
({
unionCookie
:
res
.
unionCookie
})
},
true
);
}
}
if
(
res
.
code
===
200
)
{
if
(
payType
===
2
)
{
...
...
@@ -310,8 +299,25 @@ function submitOrder() {
}
else
{
url
=
'/home/orders/pay?order_code='
+
res
.
data
.
order_code
;
}
/* tar add 161116 */
if
(
window
.
_yas
&&
window
.
_yas
.
sendCustomInfo
)
{
window
.
_yas
.
sendCustomInfo
({
param
:
JSON
.
stringify
({
op
:
'YB_SC_TOPAY_CLICK'
,
param
:
JSON
.
stringify
({
C_ID
:
window
.
_ChannelVary
[
cookie
(
'_Channel'
)],
ORDER_CODE
:
res
.
data
.
order_code
,
PRD_NUM
:
$
(
'#goods-num'
).
val
(),
ORDER_AMOUNT
:
res
.
data
.
order_amount
,
UNIONCOOKIE
:
res
.
data
.
unionCookie
,
})
})
},
true
);
}
window
.
setCookie
(
'order-info'
,
''
);
//
window.location.href = url;
window
.
location
.
href
=
url
;
}
else
if
(
res
.
message
)
{
tip
.
show
(
res
.
message
);
}
...
...
template/m.yohobuy.com/actions/cart/index/order-ensure.phtml
View file @
719128b
...
...
@@ -84,6 +84,7 @@
{
{>
me/order/good
}
}
{
{/each
}
}
<div
class=
"goods-num"
>共
{
{num
}
}件商品
合计<span>
{
{goodsPrice
}
}</span></div>
<input
type=
"hidden"
id=
"goods-num"
value=
"{{num}}"
>
</section>
<section
class=
"block"
>
...
...
Please
register
or
login
to post a comment