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
189c2d06
Commit
189c2d06
authored
Mar 08, 2023
by
wd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改详情页字体大小以及隐藏返回顶部按钮
parent
817a249d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
26 deletions
+14
-26
app/design/frontend/Joshine/breeze/Magento_Theme/templates/html/footer.phtml
+2
-14
app/design/frontend/Joshine/breeze/Magento_Theme/templates/html/header/logo.phtml
+1
-8
app/design/frontend/Joshine/breeze/web/css/_custom.less
+11
-4
No files found.
app/design/frontend/Joshine/breeze/Magento_Theme/templates/html/footer.phtml
View file @
189c2d06
...
...
@@ -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
);
...
...
app/design/frontend/Joshine/breeze/Magento_Theme/templates/html/header/logo.phtml
View file @
189c2d06
...
...
@@ -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"
);
...
...
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
189c2d06
...
...
@@ -2341,7 +2341,7 @@ background-color: #000;
width: 100%;
}
.product-info-wrapper .page-title span.base{
font-size:
15
px;
font-size:
20
px;
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";
...
...
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