Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joshine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
joshine
Commits
09c68410
Commit
09c68410
authored
Sep 27, 2022
by
王东红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化购物地址界面
parent
c6f81a4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
120 additions
and
0 deletions
+120
-0
app/design/frontend/Joshine/breeze/Magento_Customer/templates/address/book.phtml
+120
-0
No files found.
app/design/frontend/Joshine/breeze/Magento_Customer/templates/address/book.phtml
0 → 100644
View file @
09c68410
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/** @var \Magento\Customer\Block\Address\Book $block */
?>
<style
type=
"text/css"
>
.account
.main
.block
.block-title
{
background
:
none
;
color
:
#666666
;
font-size
:
18px
;
font-weight
:
300
;
text-transform
:
uppercase
;
}
.account
.column.main
.block
:not
(
.widget
)
.box-title
>
span
{
font-weight
:
700
;
line-height
:
1.1
;
font-size
:
1.4rem
;
margin-top
:
2rem
;
margin-bottom
:
2rem
;
color
:
#666666
;
}
address
{
font-style
:
normal
;
color
:
#666666
;
font-size
:
14px
;}
label
button
,
table
.id
a
,
table
.actions
a
,
a
[
href
^=
"tel:"
],
a
[
href
^=
"mailto:"
],
a
.alert
,
address
a
,
.block
.block-title
a
,
.actions-toolbar
a
,
.box-actions
a
,
.product-item-details
dl
a
,
.map-show-info
,
.minimal-price-link
,
.prices-tier
a
,
.block.related
.action.select
,
.samples
a
,
.reviews-actions
a
,
.search-suggestions
a
,
.cart.table
.action-gift
,
.checkout-onepage-success
.column.main
a
,
.paypal-review
.discount
.title
,
.paypal-review
.paypal-review-title
a
{
color
:
#666666
;
}
.block-content
a
.action.edit
:hover
{
color
:
#333333
}
.action.primary
{
vertical-align
:
middle
;
-webkit-transform
:
perspective
(
1px
)
translateZ
(
0
);
transform
:
perspective
(
1px
)
translateZ
(
0
);
box-shadow
:
0
0
1px
rgb
(
0
0
0
/
0%
);
border-radius
:
0px
;
background-color
:
#222222
;
box-shadow
:
none
;
color
:
#ffffff
;
display
:
inline-block
;
font-family
:
'Outfit'
,
sans-serif
;
font-weight
:
normal
;
padding
:
18px
50px
;
line-height
:
1
;
text-shadow
:
none
;
text-transform
:
capitalize
;
white-space
:
nowrap
;
font-size
:
13px
;
border-radius
:
2px
;
border
:
2px
solid
#222222
;
background-image
:
none
;
text-align
:
center
;
border
:
none
;
text-transform
:
uppercase
;
font-weight
:
normal
!important
;
transition
:
all
0.4s
ease
;
-webkit-transition
:
all
0.4s
ease
;
}
@media
(
min-width
:
768px
){
.block
.box
{
max-width
:
none
;
}
.table-additional-addresses-items.history
{
color
:
#666666
;
}
}
</style>
<div
class=
"block block-addresses-default"
>
<div
class=
"block-title"
><strong>
<?=
$block
->
escapeHtml
(
__
(
'Default Addresses'
))
?>
</strong></div>
<div
class=
"block-content"
>
<?php
if
(
$_pAddsses
=
$block
->
getDefaultBilling
())
:
?>
<div
class=
"box box-address-billing"
>
<strong
class=
"box-title"
>
<span>
<?=
$block
->
escapeHtml
(
__
(
'Default Billing Address'
))
?>
</span>
</strong>
<div
class=
"box-content"
>
<address>
<?=
$block
->
getAddressHtml
(
$block
->
getAddressById
(
$_pAddsses
))
?>
</address>
</div>
<div
class=
"box-actions"
>
<a
class=
"action edit"
href=
"
<?=
$block
->
escapeUrl
(
$block
->
getAddressEditUrl
(
$_pAddsses
))
?>
"
>
<span>
<?=
$block
->
escapeHtml
(
__
(
'Change Billing Address'
))
?>
</span>
</a>
</div>
</div>
<?php
else
:
?>
<div
class=
"box box-billing-address"
>
<strong
class=
"box-title"
><span>
<?=
$block
->
escapeHtml
(
__
(
'Default Billing Address'
))
?>
</span></strong>
<div
class=
"box-content"
>
<p>
<?=
$block
->
escapeHtml
(
__
(
'You have no default billing address in your address book.'
))
?>
</p>
</div>
</div>
<?php
endif
?>
<?php
if
(
$_pAddsses
=
$block
->
getDefaultShipping
())
:
?>
<div
class=
"box box-address-shipping"
>
<strong
class=
"box-title"
>
<span>
<?=
$block
->
escapeHtml
(
__
(
'Default Shipping Address'
))
?>
</span>
</strong>
<div
class=
"box-content"
>
<address>
<?=
$block
->
getAddressHtml
(
$block
->
getAddressById
(
$_pAddsses
))
?>
</address>
</div>
<div
class=
"box-actions"
>
<a
class=
"action edit"
href=
"
<?=
$block
->
escapeUrl
(
$block
->
getAddressEditUrl
(
$_pAddsses
))
?>
"
>
<span>
<?=
$block
->
escapeHtml
(
__
(
'Change Shipping Address'
))
?>
</span>
</a>
</div>
</div>
<?php
else
:
?>
<div
class=
"box box-shipping-address"
>
<strong
class=
"box-title"
><span>
<?=
$block
->
escapeHtml
(
__
(
'Default Shipping Address'
))
?>
</span></strong>
<div
class=
"box-content"
>
<p>
<?=
$block
->
escapeHtml
(
__
(
'You have no default shipping address in your address book.'
))
?>
</p>
</div>
</div>
<?php
endif
?>
</div>
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment