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
2dc23cb5
Commit
2dc23cb5
authored
Sep 05, 2022
by
lmf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化底部logo
parent
0ecf7f34
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
3 deletions
+29
-3
app/design/frontend/Joshine/breeze/Magento_Theme/templates/html/footer.phtml
+27
-1
app/design/frontend/Joshine/breeze/web/css/footer.css
+2
-2
No files found.
app/design/frontend/Joshine/breeze/Magento_Theme/templates/html/footer.phtml
View file @
2dc23cb5
...
...
@@ -3,6 +3,21 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* @var \Magento\Theme\Block\Html\Header\Logo $block
*/
$storeName
=
$block
->
getThemeName
()
?
$block
->
getThemeName
()
:
$block
->
getLogoAlt
();
/**
* @var \Magento\Theme\ViewModel\Block\Html\Header\LogoSizeResolverInterface|null $logoSizeResolver
*/
$logoSizeResolver
=
$block
->
getLogoSizeResolver
();
$logoWidth
=
$logoSizeResolver
!==
null
&&
$logoSizeResolver
->
getWidth
()
?
$logoSizeResolver
->
getWidth
()
:
$block
->
getLogoWidth
();
$logoHeight
=
$logoSizeResolver
!==
null
&&
$logoSizeResolver
->
getHeight
()
?
$logoSizeResolver
->
getHeight
()
:
$block
->
getLogoHeight
();
?>
<div
class=
"footer-container"
>
...
...
@@ -12,7 +27,18 @@
<dl
class=
"contact clearfix"
>
<dt
class=
"fl"
></dt>
<dd
class=
"fl"
style=
"margin-top: 10%;margin-left: revert;"
>
<img
src=
"
<?=
$block
->
escapeUrl
(
$block
->
getLogoSrc
())
?>
"
width=
"100px;"
>
<a
class=
"logo"
href=
"
<?=
$block
->
escapeUrl
(
$block
->
getUrl
(
''
))
?>
"
title=
"
<?=
$block
->
escapeHtmlAttr
(
$storeName
)
?>
"
aria-label=
"store logo"
>
<img
src=
"/media/logo/stores/1/joshine_logo_500.png"
title=
"
<?=
$block
->
escapeHtmlAttr
(
$block
->
getLogoAlt
())
?>
"
alt=
"
<?=
$block
->
escapeHtmlAttr
(
$block
->
getLogoAlt
())
?>
"
<?=
$logoWidth
?
'width="'
.
$block
->
escapeHtmlAttr
(
$logoWidth
)
.
'"'
:
''
?>
<?=
$logoHeight
?
'height="'
.
$block
->
escapeHtmlAttr
(
$logoHeight
)
.
'"'
:
''
?>
/>
</a>
</dd>
</dl>
<dl
class=
"col-article"
>
...
...
app/design/frontend/Joshine/breeze/web/css/footer.css
View file @
2dc23cb5
@charset
utf-8
;
*
{
font-family
:
微软雅黑
;
margin
:
0
;
padding
:
0
;}
.clearfix
:after
{
content
:
"."
;
display
:
block
;
height
:
0
;
visibility
:
hidden
;
clear
:
both
;}
.w1100
{
width
:
1100px
;
margin
:
0
auto
;}
.fl
{
float
:
left
;}
a
{
text-decoration
:
none
;}
ul
{
list-style
:
none
;}
.site-footer
{
font-size
:
14px
;
line-height
:
1.8
;
color
:
#a8aaba
;
background
:
#0011
;}
.site-footer
a
{
color
:
#a8aaba
;}
.site-footer
a
:hover
{
color
:
#fff
!important
;}
.site-footer
.footer-article
{
overflow
:
hidden
;
padding
:
30px
0
20px
;}
.site-footer
.contact
{
float
:
left
;
width
:
280px
;}
.site-footer
.contact
dt
{
width
:
90px
;}
.site-footer
.contact
.iconfont
{
width
:
66px
;
height
:
66px
;
display
:
block
;
float
:
left
;
background
:
url(image/kefu.png)
center
center
no-repeat
;
background-size
:
55px
;}
.site-footer
.contact
.text
{
font-size
:
14px
;
line-height
:
30px
;
color
:
#fff
;}
.site-footer
.contact
.tel
{
font-size
:
20px
;
color
:
#fff
;
padding
:
3px
0
15px
;}
.site-footer
.contact
a
{
display
:
block
;
width
:
90px
;
font-size
:
14px
;
line-height
:
30px
;
color
:
#9b9ea0
;
text-align
:
center
;
border
:
1px
solid
#9b9ea0
;
border-radius
:
4px
;}
.site-footer
.contact
a
:hover
{
color
:
#fff
!important
;}
.site-footer
.col-article
{
float
:
left
;
width
:
23%
;}
.site-footer
.col-article
dd
{
margin-bottom
:
8px
;
overflow
:
hidden
;}
.site-footer
.col-article
dd
a
{
font-size
:
12px
;
color
:
#9b9ea0
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;}
.site-footer
.wx
{
float
:
left
;
width
:
135px
;
margin-right
:
0
;}
.site-footer
.wx
dd
{
margin-bottom
:
15px
;}
.site-footer
.wx
dd
img
{
display
:
block
;
width
:
110px
;
height
:
110px
;
border-radius
:
2px
;
margin
:
5px
0
;}
.site-footer
.wx
dd
.other
{
margin-bottom
:
0
;
line-height
:
18px
;}
.site-footer
.wx
dd
.other
span
{
display
:
block
;
font-size
:
12px
;}
.site-footer
.wx
dd
.other
a
{
display
:
inline-block
;
margin-right
:
5px
;
font-size
:
12px
;
line-height
:
18px
;
vertical-align
:
top
;}
.footer-links
{
border-top
:
1px
solid
#41424c
;
text-align
:
center
;
padding
:
10px
0
;}
.footer-links
p
{
font-size
:
14px
;
color
:
#a8aaba
;}
.footer-links
a
{
margin-right
:
20px
;
font-size
:
12px
;
color
:
#a8aaba
;}
.footer-info
.info-text
{
font-size
:
12px
;
text-align
:
center
;
padding
:
20px
0
;}
.footer-info
.info-text
.nav-bottom
{
font-size
:
14px
;
color
:
#ccc
;
text-align
:
center
;
padding
:
20px
0
5px
;}
.footer-info
.info-text
.nav-bottom
a
{
color
:
#9b9ea0
;
padding
:
0
8px
;}
.footer-info
.info-text
.copyright
{
padding-top
:
5px
;}
.footer-info
.info-text
em
{
padding
:
0
8px
;}
.site-footer
.col-article
dt
,
.site-footer
.wx
dt
{
margin-bottom
:
15px
;
font-size
:
16px
;
font-weight
:
400
;}
\ No newline at end of file
@charset
utf-8
;
*
{
font-family
:
微软雅黑
;
margin
:
0
;
padding
:
0
;}
.clearfix
:after
{
content
:
"."
;
display
:
block
;
height
:
0
;
visibility
:
hidden
;
clear
:
both
;}
.w1100
{
width
:
1100px
;
margin
:
0
auto
;}
.fl
{
float
:
left
;}
a
{
text-decoration
:
none
;}
ul
{
list-style
:
none
;}
.site-footer
{
font-size
:
14px
;
line-height
:
1.8
;
color
:
#a8aaba
;
background
:
#0011
;}
.site-footer
a
{
color
:
#a8aaba
;}
.site-footer
a
:hover
{
color
:
#fff
!important
;}
.site-footer
.footer-article
{
overflow
:
hidden
;
padding
:
30px
0
20px
;}
.site-footer
.contact
{
float
:
left
;
width
:
280px
;}
.site-footer
.contact
dt
{
width
:
90px
;}
.site-footer
.contact
.iconfont
{
width
:
66px
;
height
:
66px
;
display
:
block
;
float
:
left
;
background
:
url(image/kefu.png)
center
center
no-repeat
;
background-size
:
55px
;}
.site-footer
.contact
.text
{
font-size
:
14px
;
line-height
:
30px
;
color
:
#fff
;}
.site-footer
.contact
.tel
{
font-size
:
20px
;
color
:
#fff
;
padding
:
3px
0
15px
;}
.site-footer
.contact
a
{
display
:
block
;
width
:
180px
;
font-size
:
14px
;
line-height
:
30px
;
color
:
#9b9ea0
;
text-align
:
center
;
border-radius
:
4px
;}
.site-footer
.contact
a
:hover
{
color
:
#fff
!important
;}
.site-footer
.col-article
{
float
:
left
;
width
:
23%
;}
.site-footer
.col-article
dd
{
margin-bottom
:
8px
;
overflow
:
hidden
;}
.site-footer
.col-article
dd
a
{
font-size
:
12px
;
color
:
#9b9ea0
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;}
.site-footer
.wx
{
float
:
left
;
width
:
135px
;
margin-right
:
0
;}
.site-footer
.wx
dd
{
margin-bottom
:
15px
;}
.site-footer
.wx
dd
img
{
display
:
block
;
width
:
110px
;
height
:
110px
;
border-radius
:
2px
;
margin
:
5px
0
;}
.site-footer
.wx
dd
.other
{
margin-bottom
:
0
;
line-height
:
18px
;}
.site-footer
.wx
dd
.other
span
{
display
:
block
;
font-size
:
12px
;}
.site-footer
.wx
dd
.other
a
{
display
:
inline-block
;
margin-right
:
5px
;
font-size
:
12px
;
line-height
:
18px
;
vertical-align
:
top
;}
.footer-links
{
border-top
:
1px
solid
#41424c
;
text-align
:
center
;
padding
:
10px
0
;}
.footer-links
p
{
font-size
:
14px
;
color
:
#a8aaba
;}
.footer-links
a
{
margin-right
:
20px
;
font-size
:
12px
;
color
:
#a8aaba
;}
.footer-info
.info-text
{
font-size
:
12px
;
text-align
:
center
;
padding
:
20px
0
;}
.footer-info
.info-text
.nav-bottom
{
font-size
:
14px
;
color
:
#ccc
;
text-align
:
center
;
padding
:
20px
0
5px
;}
.footer-info
.info-text
.nav-bottom
a
{
color
:
#9b9ea0
;
padding
:
0
8px
;}
.footer-info
.info-text
.copyright
{
padding-top
:
5px
;}
.footer-info
.info-text
em
{
padding
:
0
8px
;}
.site-footer
.col-article
dt
,
.site-footer
.wx
dt
{
margin-bottom
:
15px
;
font-size
:
16px
;
font-weight
:
400
;}
\ No newline at end of file
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