Commit b8b8efd1 by lmf

优化样式

parent d03b5c2a
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<dl class="contact clearfix"> <dl class="contact clearfix">
<dt class="fl"></dt> <dt class="fl"></dt>
<dd class="fl" style="margin-top: 10%;margin-left: revert;"> <dd class="fl" style="margin-top: 10%;margin-left: revert;">
<img src="http://joshine.me/media/logo/stores/1/joshine_logo_500.png" width="100px;"> <img src="<?= $block->escapeUrl($block->getLogoSrc()) ?>" width="100px;">
</dd> </dd>
</dl> </dl>
<dl class="col-article"> <dl class="col-article">
......
...@@ -68,20 +68,21 @@ script; ...@@ -68,20 +68,21 @@ script;
</div> </div>
</div> </div>
<?php endif; ?> <?php endif; ?>
<div class="header_bar" > <div class="header_bar" >
</div> </div>
<style> <style>
.header_bar { .header_bar {
width: 100%; width: 100%;
height: 60px; height: 60px;
background: url(/media/wysiwyg/tonglan_2_.jpg) no-repeat center; background: url(https://media.joshine.com/wysiwyg/tonglan_2_.jpg) no-repeat center;
background-size: 100%; background-size: 100%;
} }
@media(max-width:789px){ @media(max-width:789px){
.header_bar { .header_bar {
width: 100%; width: 100%;
height: 40px; height: 40px;
background: url(/media/wysiwyg/tongtiao_M.jpg) no-repeat center; background: url(https://media.joshine.com/wysiwyg/tongtiao_M.jpg) no-repeat center;
background-size: 100%; background-size: 100%;
} }
} }
...@@ -89,4 +90,3 @@ script; ...@@ -89,4 +90,3 @@ script;
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