Commit 189c2d06 by wd

修改详情页字体大小以及隐藏返回顶部按钮

parent 817a249d
......@@ -10,15 +10,7 @@
<img loading="lazy" src="<?php echo $block->getViewFileUrl('images/goTop.png'); ?>">
</p>
<script>
//go to top button show
window.onscroll = function (){
var top = document.getElementById("topBtn");
if (document.documentElement.scrollTop > 200 || document.body.scrollTop > 200){
top.style.display="block";
}else {
top.style.display="none";
}
}
var userAgentInfo = navigator.userAgent;
var Agents = new Array("Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod");
var flag = true;
......@@ -45,11 +37,7 @@
});
//go to top button click
$('#topBtn').click(function(){
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
});
if (flag){
var imgH = $('.logo').height();
imgH= Math.ceil(imgH/3);
......
......@@ -21,14 +21,7 @@ $logoHeight = $logoSizeResolver !== null && $logoSizeResolver->getHeight()
?>
<script>
window.onscroll = function (){
var top = document.getElementById("topBtn");
if (document.documentElement.scrollTop > 200 || document.body.scrollTop > 200){
top.style.display="block";
}else {
top.style.display="none";
}
}
var userAgentInfo = navigator.userAgent;
var Agents = new Array("Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod");
......
......@@ -2341,7 +2341,7 @@ background-color: #000;
width: 100%;
}
.product-info-wrapper .page-title span.base{
font-size: 15px;
font-size: 20px;
font-weight: 400;
color: #292929;
padding-bottom: 1px;
......@@ -2349,9 +2349,6 @@ background-color: #000;
line-height: 0px;
}
.product-info-stock-sku{
font-size: 15px;
}
.product-info-wrapper .product-info-main {
margin-left: 2%;
......@@ -2418,6 +2415,7 @@ background-color: #000;
font-size: 16px;
font-weight: 400;
}
}
@media (max-width: 1024px) {
......@@ -2727,6 +2725,14 @@ tr.grand.totals {
.amreview-submit-form .review-fieldset .field{
margin: 0px;
}
.product-info-wrapper .page-title span.base{
font-size: 15px;
}
.product-info-stock-sku{
font-size: 15px;
}
}
......@@ -2847,6 +2853,7 @@ strong#block-related-heading,strong#block-upsell-heading{ font-weight: 600; colo
position:fixed;
width: 4%;
z-index: 10;
display: none;
}
/*导入Joshine工具类*/
@import "./_joshine_col";
......
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