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
f5b4762b
Commit
f5b4762b
authored
Sep 01, 2022
by
lmf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
顶部增加banner
parent
20fed19a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
128 additions
and
2 deletions
+128
-2
.php_cs.cache
+0
-0
vendor/swissup/theme-frontend-breeze-blank/Magento_Theme/templates/html/footer.phtml
+2
-2
vendor/swissup/theme-frontend-breeze-blank/Magento_Theme/templates/html/header/logo.phtml
+34
-0
vendor/swissup/theme-frontend-breeze-blank/Magento_Theme/templates/html/notices.phtml
+92
-0
No files found.
.php_cs.cache
View file @
f5b4762b
This source diff could not be displayed because it is too large. You can
view the blob
instead.
vendor/swissup/theme-frontend-breeze-blank/Magento_Theme/templates/html/footer.phtml
View file @
f5b4762b
...
...
@@ -11,8 +11,8 @@
<div
class=
"row"
>
<div
class=
"col-12 col-md"
>
<a
class=
"logo"
href=
"
http://joshine.me
/"
title=
""
aria-label=
"store logo"
>
<img
src=
"http://
joshine.me
/media/logo/stores/1/joshine_logo_500.png"
title=
""
alt=
""
width=
"200"
height=
"50"
>
<a
class=
"logo"
href=
"/"
title=
""
aria-label=
"store logo"
>
<img
src=
"http://
www.joshine.vip
/media/logo/stores/1/joshine_logo_500.png"
title=
""
alt=
""
width=
"200"
height=
"50"
>
</a>
<small
class=
"d-block mb-3 text-muted"
style=
"margin-top: 10px;"
>
<address>
<?=
$block
->
escapeHtml
(
$block
->
getCopyright
())
?>
</address>
...
...
vendor/swissup/theme-frontend-breeze-blank/Magento_Theme/templates/html/header/logo.phtml
0 → 100644
View file @
f5b4762b
<?php
/**
* 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
();
?>
<span
data-action=
"toggle-nav"
class=
"action nav-toggle"
><span>
<?=
$block
->
escapeHtml
(
__
(
'Toggle Nav'
))
?>
</span></span>
<a
class=
"logo"
href=
"
<?=
$block
->
escapeUrl
(
$block
->
getUrl
(
''
))
?>
"
title=
"
<?=
$block
->
escapeHtmlAttr
(
$storeName
)
?>
"
aria-label=
"store logo"
>
<img
src=
"
<?=
$block
->
escapeUrl
(
$block
->
getLogoSrc
())
?>
"
title=
"
<?=
$block
->
escapeHtmlAttr
(
$block
->
getLogoAlt
())
?>
"
alt=
"
<?=
$block
->
escapeHtmlAttr
(
$block
->
getLogoAlt
())
?>
"
<?=
$logoWidth
?
'width="'
.
$block
->
escapeHtmlAttr
(
$logoWidth
)
.
'"'
:
''
?>
<?=
$logoHeight
?
'height="'
.
$block
->
escapeHtmlAttr
(
$logoHeight
)
.
'"'
:
''
?>
/>
</a>
vendor/swissup/theme-frontend-breeze-blank/Magento_Theme/templates/html/notices.phtml
0 → 100644
View file @
f5b4762b
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* @var $block \Magento\Theme\Block\Html\Notices
* @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer
*/
?>
<?php
if
(
$block
->
displayNoscriptNotice
())
:
?>
<noscript>
<div
class=
"message global noscript"
>
<div
class=
"content"
>
<p>
<strong>
<?=
$block
->
escapeHtml
(
__
(
'JavaScript seems to be disabled in your browser.'
))
?>
</strong>
<span>
<?=
$block
->
escapeHtml
(
__
(
'For the best experience on our site, be sure to turn on Javascript in your browser.'
)
)
?>
</span>
</p>
</div>
</div>
</noscript>
<?php
endif
;
?>
<?php
if
(
$block
->
displayNoLocalStorageNotice
())
:
?>
<div
class=
"notice global site local_storage"
>
<div
class=
"content"
>
<p>
<strong>
<?=
$block
->
escapeHtml
(
__
(
'Local Storage seems to be disabled in your browser.'
))
?>
</strong>
<br
/>
<?=
$block
->
escapeHtml
(
__
(
'For the best experience on our site, be sure to turn on Local Storage in your browser.'
)
)
?>
</p>
</div>
</div>
<?=
/* @noEscape */
$secureRenderer
->
renderStyleAsTag
(
'display: none;'
,
'div.notice.global.site.local_storage'
)
?>
<?php
$scriptString
=
<<<script
require(['jquery'], function(jQuery){
// <![CDATA[
(function($) {
var test = 'test';
try {
localStorage.setItem(test, test);
localStorage.removeItem(test);
} catch(e) {
$(".notice.global.site.local_storage").show();
}
})(jQuery);
// ]]>
});
script;
?>
<?=
/* @noEscape */
$secureRenderer
->
renderTag
(
'script'
,
[],
$scriptString
,
false
)
?>
<?php
endif
;
?>
<?php
if
(
$block
->
displayDemoNotice
())
:
?>
<div
class=
"message global demo"
>
<div
class=
"content"
>
<p>
<?=
$block
->
escapeHtml
(
__
(
'This is a demo store. No orders will be fulfilled.'
))
?>
</p>
</div>
</div>
<?php
endif
;
?>
<div
class=
"header_bar"
>
</div>
<style>
.header_bar
{
width
:
100%
;
height
:
60px
;
background
:
url(https://media.joshine.com/wysiwyg/tonglan_2_.jpg)
no-repeat
center
;
background-size
:
100%
;
}
@media
(
max-width
:
789px
){
.header_bar
{
width
:
100%
;
height
:
40px
;
background
:
url(https://media.joshine.com/wysiwyg/tongtiao_M.jpg)
no-repeat
center
;
background-size
:
100%
;
}
}
</style>
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