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
张丽霞
9 years ago
Commit
c9fb07669f7c5be9759c916b306e36e4b28753ff
1 parent
41aa6dc2
电子发票
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
1 deletions
template/www.yohobuy.com/actions/cart/index/order-ensure.phtml
web-static/js/order/ensure.js
web-static/sass/order/_ensure.css
template/www.yohobuy.com/actions/cart/index/order-ensure.phtml
View file @
c9fb076
...
...
@@ -411,6 +411,7 @@
<div class="receipt-container receipt-margin">
<div class="e-receipt-desc">
<a href="{{invoiceUrl}}"></a>
</div>
<div class="invoice-list invoice-title invoice-title-personal-hight">
...
...
web-static/js/order/ensure.js
View file @
c9fb076
...
...
@@ -932,7 +932,9 @@ function saveReceiptInfo() {
}
else
{
$
(
'.invoice-title .enpty-input'
).
addClass
(
'hide'
);
$
(
'.invoice-phone .enpty-input'
).
addClass
(
'hide'
);
receiptTitle
=
$
(
'#input-organization-name'
).
val
();
if
(
receiptTitle
===
"单位"
)
{
receiptTitle
=
$
(
'#input-organization-name'
).
val
();
}
}
receiptContent
=
$
(
'input[name="content"]:checked'
).
val
();
...
...
@@ -993,3 +995,15 @@ $('.invoice-title').change(function(){
$
(
'.invoice-title .input-line'
).
removeClass
(
'hide'
);
}
})
$
(
'#input-organization-name'
).
bind
(
'input propertychange'
,
function
()
{
if
(
$
(
this
).
val
().
length
>=
1
)
{
$
(
'.invoice-title .enpty-input'
).
addClass
(
'hide'
);
}
});
$
(
'#input-mobile'
).
bind
(
'input propertychange'
,
function
()
{
if
(
$
(
this
).
val
().
length
>=
1
)
{
$
(
'.invoice-phone .enpty-input'
).
addClass
(
'hide'
);
}
});
...
...
web-static/sass/order/_ensure.css
View file @
c9fb076
...
...
@@ -660,9 +660,18 @@
}
.e-receipt-desc
{
position
:
relative
;
background
:
url(/order/invoice-desc.png)
;
width
:
100%
;
height
:
108px
;
a
{
position
:
absolute
;
left
:
0
;
bottom
:
0
;
width
:
150px
;
height
:
40px
;
}
}
.receipt-margin
{
margin-left
:
55px
;
...
...
Please
register
or
login
to post a comment