Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
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
Rock Zhang
2015-12-24 16:10:48 +0800
Commit
6cc13364f83765adb3d80e26376cc9cc48f81ece
1 parent
39e59fec
修复结算页选择地址时is_support属性不能传递过去的bug
Code Review By Rock Zhang
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
static/js/cart/select-address.js
template/m.yohobuy.com/actions/cart/index/select-address.phtml
static/js/cart/select-address.js
View file @
6cc1336
...
...
@@ -19,7 +19,8 @@ $('.address-item').on('touchend', function() {
address_id
:
$this
.
data
(
'address-id'
),
consignee
:
$this
.
find
(
'.name'
).
text
(),
mobile
:
$this
.
find
(
'.tel'
).
text
(),
address_info
:
$this
.
find
(
'.address-info'
).
text
()
address_info
:
$this
.
find
(
'.address-info'
).
text
(),
is_support
:
$this
.
data
(
'is-support'
)
};
orderInfo
(
'addressId'
,
addressId
);
...
...
template/m.yohobuy.com/actions/cart/index/select-address.phtml
View file @
6cc1336
...
...
@@ -2,7 +2,7 @@
<div
class=
"my-address-page select-address-page yoho-page"
>
<div
class=
"page-wrap"
>
{
{#
address
}
}
<a
class=
"address-item"
data-address-id=
"{{address_id}}"
href=
"/cart/index/orderEnsure"
>
<a
class=
"address-item"
data-address-id=
"{{address_id}}"
data-is-support=
"{{is_support}}"
href=
"/cart/index/orderEnsure"
>
<span
class=
"name"
>
{
{consignee
}
}</span>
<span
class=
"tel"
>
{
{mobile
}
}</span>
<p
class=
"address-info"
>
{
{area
}
}
{
{address
}
}</p>
...
...
Please
register
or
login
to post a comment