Commit fa13173a by 王东红

Merge branch 'master' of http://47.99.244.21:9999/root/joshine

# Conflicts:
#	app/design/frontend/Joshine/breeze/web/css/_custom.less
parents bc92aceb 3d8d0189
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<referenceBlock name="copyright" remove="true"/> <referenceBlock name="copyright" remove="true"/>
</referenceContainer> </referenceContainer>
<referenceContainer name="before.body.end"> <referenceContainer name="before.body.end">
<block class="Magento\Theme\Block\Html\Footer" name="absolute_footer" template="Magento_Theme::html/absolute_footer.phtml" /> <block class="Magento\Theme\Block\Html\Footer" name="footer" template="Magento_Theme::html/footer.phtml" />
</referenceContainer> </referenceContainer>
<referenceContainer name="content"> <referenceContainer name="content">
<block class="Magento\Framework\View\Element\FormKey" name="formkey"/> <block class="Magento\Framework\View\Element\FormKey" name="formkey"/>
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<head> <head>
<meta name="format-detection" content="telephone=no"/> <meta name="format-detection" content="telephone=no"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/> <meta name="viewport" content="width=device-width, initial-scale=1"/>
<css src="css/footer.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<referenceBlock name="breeze.css"> <referenceBlock name="breeze.css">
......
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
var config = {
deps: [
'Magento_Theme/js/theme'
]
};
...@@ -21,47 +21,45 @@ $logoHeight = $logoSizeResolver !== null && $logoSizeResolver->getHeight() ...@@ -21,47 +21,45 @@ $logoHeight = $logoSizeResolver !== null && $logoSizeResolver->getHeight()
?> ?>
<div class="footer-container"> <div class="footer-container">
<div class="site-footer" style="background: #0011;"> <div class="footer_link">
<div class="footer-related"> <div style="text-align: center;">
<div class="footer-article w1100"> <img src="https://media.joshine.com/wysiwyg/joshine_logo_1.png" width="200px;" class="logo_img" >
<dl class="contact clearfix"> </div>
<dt class="fl"></dt> <div>
<dd class="fl" style="margin-top: 10%;margin-left: revert;"> <h4>ABOUT JOSHINE <span> > </span></h4>
<a <ul>
class="logo" <li><a href="#">About Us</a></li>
href="<?= $block->escapeUrl($block->getUrl('')) ?>" <li>About Our Products</li>
title="<?= $block->escapeHtmlAttr($storeName) ?>" <li>Contact Us</li>
aria-label="store logo"> <li>Our Blog</li>
<img src="/media/logo/stores/1/joshine_logo_500.png" </ul>
title="<?= $block->escapeHtmlAttr($block->getLogoAlt()) ?>" </div>
alt="<?= $block->escapeHtmlAttr($block->getLogoAlt()) ?>" <div>
<?= $logoWidth ? 'width="' . $block->escapeHtmlAttr($logoWidth) . '"' : '' ?> <h4>HELP & SUPPORT<span> > </span></h4>
<?= $logoHeight ? 'height="' . $block->escapeHtmlAttr($logoHeight) . '"' : '' ?> <ul>
/> <li>Size Guide</li>
</a> <li>Payment Methods</li>
</dd> <li>FAQs</li>
</dl> <li>How to Order</li>
<dl class="col-article"> <li>Track My Order</li>
<dt>ABOUT JOSHINE</dt> </ul>
<dd><a href="#">About Us</a></dd> </div>
<dd><a href="#">About Our Products</a></dd> <div>
<dd><a href="#">Contact Us</a></dd> <h4>OUR POLICY<span> > </span></h4>
<dd><a href="#">Our Blog</a></dd> <ul>
</dl> <li>Shipping Policy</li>
<dl class="col-article"> <li>Return & Exchange</li>
<dt>HELP & SUPPORT</dt> <li>365-Days Warranty</li>
<dd><a href="#">Size Guide</a></dd> </ul>
<dd><a href="#">Payment Methods</a></dd> </div>
<dd><a href="#">FAQs</a></dd><dd><a href="#">How to Order</a></dd><dd><a href="#">Track My Order</a></dd> </div>
<div class="copyright" >
</dl> <span class="copyright_left">Copyright © JOSHINE all rights reserved</span>
<dl class="col-article"><dt>OUR POLICY</dt><dd><a href="#">Shipping Policy</a></dd><dd><a href="#">Return & Exchange</a></dd><dd><a href="#">365-Days Warranty</a></dd> <span class="copyright_right"><img src="https://media.joshine.com/wysiwyg/footerpay.png" height="40px;">
</dl> <a title="Copy Right" href="https://www.joshine.com/copy-right" >Copy Right</a>
<dl class="wx"> <a title="Terms of Use" href="https://www.joshine.com/terms-of-use" >Terms of Use</a>
</dl></div> <a title="Security & Privacy Policy" href="https://www.joshine.com/security-privacy-policy" >Security & Privacy Policy</a>
</span>
<div class="footer-links w1100"><div class="clearfix"> </div>
<?= $block->escapeHtml($block->getCopyright()) ?> </div>
</div></div> \ No newline at end of file
</div></div>
</div>
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
define([
'jquery'
], function ($, keyboardHandler) {
'use strict';
$("h4").click(function () {
var dis = $(this).siblings("ul").css("display");
if (dis == "none"){
$(this).siblings("ul").css("display","block");
$(this).children("span").html('^')
}else{
$(this).siblings("ul").css("display","none");
$(this).children("span").html('>')
}
})
});
...@@ -21,6 +21,12 @@ ...@@ -21,6 +21,12 @@
margin: 0; margin: 0;
} }
//product vim desc
#description{
max-width: 100%;
overflow-x: auto;
}
.products-grid .product-item .product.name a{ .products-grid .product-item .product.name a{
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
...@@ -30,4 +36,6 @@ ...@@ -30,4 +36,6 @@
display: inline-block; display: inline-block;
color: #222222; color: #222222;
margin-top: 5px; margin-top: 5px;
} }
\ 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 .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 padding: 0;
margin: 0;
}
footer{
background: #000;
color: #fff;
padding: 10px ;
}
footer .footer_link .logo_img{
margin-top: 10%;
}
footer a{
color: #fff;
text-decoration: auto;
}
.footer_link > div{
float: left;
width: 25%;
}
.footer_link h4{
margin-bottom: 20px;
font-size: smaller;
}
.footer_link h4 span{
display: none;
}
.footer_link ul li{
margin-bottom: 20px;
}
@media screen and (max-width:1200px) {
.footer_link > div{
width: 100%;
}
footer .footer_link .logo_img{
margin-top: 2%;
}
.footer_link h4 span{
display: block;
float: right;
line-height: 30px;
width: 30px;
height: 30px;
text-align: center;
color: #333333;
background: #eeeeee;
cursor: pointer;
font-size: smaller;
}
.copyright{
font-size: smaller;
}
.copyright span{
width: 100%;
}
.footer_link ul{
display: none;
}
.product-info-wrapper .page-title-wrapper h1{
display: none;
}
}
ul {
list-style: none;
}
.copyright{
text-align: center;
border-top: 1px solid #423f3f;
padding: 10px 0;
font-size: smaller;
}
.footer_link::after{
clear: both;
content: '';
display: block;
}
.copyright > .copyright_left{
float: left;
margin-left: 5%;
margin-top: 10px;
font-weight: bold;
color: #fff;
font-size: smaller;
}
.copyright img{
margin-bottom: -10px;
margin-right: 1%;
height: 40px;
}
.copyright a{
padding: 10px;
font-weight: bold;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment