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
701e5650
Commit
701e5650
authored
Mar 27, 2023
by
dhn
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://47.99.244.21:9999/root/joshine
into Branch_developer
parents
9e550691
5908bf51
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
app/design/frontend/Joshine/breeze/Magento_Catalog/web/css/gallery.css
+1
-1
app/design/frontend/Joshine/breeze/web/css/_custom.less
+5
-1
lib/web/fotorama/fotorama.js
+1
-1
No files found.
app/design/frontend/Joshine/breeze/Magento_Catalog/web/css/gallery.css
View file @
701e5650
...
...
@@ -895,7 +895,7 @@
max-height
:
100%
;
max-width
:
100%
;
position
:
absolute
;
top
:
45
%
;
top
:
50
%
;
-webkit-transform
:
translate3d
(
-50%
,
-50%
,
0
);
-ms-transform
:
translate3d
(
-50%
,
-50%
,
0
);
-o-transform
:
translate3d
(
-50%
,
-50%
,
0
);
...
...
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
701e5650
// DO NOT EDIT THIS FILE - IT SHOULD REMAIN EMPTY
// DO NOT EDIT THIS FILE - IT SHOULD REMAIN EMPTY
.product.media .gallery-placeholder .fotorama__stage{ left: 0 !important;
margin-left: 20px
}
.product.media .gallery-placeholder .fotorama__stage{ left: 0 !important; }
.product.media .gallery-placeholder .fotorama__nav--thumbs{float: right;}
.breeze-gallery .thumbnails .item img{
...
...
@@ -3165,6 +3165,10 @@ strong#block-related-heading,strong#block-upsell-heading{ font-weight: 600; colo
}
}
.fotorama__wrap--slide .fotorama__stage__frame{
margin-left: 20px;
}
/*导入Joshine工具类*/
@import "./_joshine_col";
@import "./_joshine_utils";
...
...
lib/web/fotorama/fotorama.js
View file @
701e5650
...
...
@@ -2522,7 +2522,7 @@ fotoramaVersion = '4.6.4';
var
normalizedIndex
=
normalizeIndex
(
index
);
frameData
.
eq
=
normalizedIndex
;
toDetach
[
STAGE_FRAME_KEY
][
normalizedIndex
]
=
$frame
.
css
(
$
.
extend
({
left
:
o_fade
?
0
:
getPosByIndex
(
index
,
measures
.
w
,
opts
.
margin
,
repositionIndex
)},
o_fade
&&
getDuration
(
0
)));
toDetach
[
STAGE_FRAME_KEY
][
normalizedIndex
]
=
$frame
.
css
(
$
.
extend
({
left
:
o_fade
?
0
:
getPosByIndex
(
index
,
$
(
'.fotorama__stage'
).
width
()
,
opts
.
margin
,
repositionIndex
)},
o_fade
&&
getDuration
(
0
)));
if
(
isDetached
(
$frame
[
0
]))
{
$frame
.
appendTo
(
$stageShaft
);
...
...
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