@fonixtree/magic-design 1.0.155 → 1.0.156
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/composite-comp/dito/components/SlideImage/pc/components/ParallaxScroll/index.js +0 -1
- package/es/composite-comp/dito/components/SlideImage/pc/components/VideoItem/imgs/d.png +0 -0
- package/es/composite-comp/dito/components/SlideImage/pc/components/VideoItem/index.less +5 -3
- package/lib/composite-comp/dito/components/SlideImage/pc/components/ParallaxScroll/index.js +0 -1
- package/lib/composite-comp/dito/components/SlideImage/pc/components/VideoItem/imgs/d.png +0 -0
- package/lib/composite-comp/dito/components/SlideImage/pc/components/VideoItem/index.less +5 -3
- package/package.json +1 -1
|
@@ -63,7 +63,6 @@ function ParallaxScroll(_a) {
|
|
|
63
63
|
var initLayout = function initLayout() {
|
|
64
64
|
var _a, _b, _c;
|
|
65
65
|
|
|
66
|
-
console.log('init...');
|
|
67
66
|
var colOneHeight = (_a = colOneRef.current) === null || _a === void 0 ? void 0 : _a.offsetHeight;
|
|
68
67
|
var colTwoHeight = (_b = colTwoRef.current) === null || _b === void 0 ? void 0 : _b.offsetHeight;
|
|
69
68
|
var colThreeHeight = (_c = colThreeRef.current) === null || _c === void 0 ? void 0 : _c.offsetHeight;
|
|
Binary file
|
|
@@ -18,9 +18,11 @@
|
|
|
18
18
|
display: block;
|
|
19
19
|
width: 180%;
|
|
20
20
|
height: 764px;
|
|
21
|
-
// height: 180%;
|
|
22
21
|
position: absolute;
|
|
23
|
-
transform:
|
|
22
|
+
transform: translate(-50%, -50%) rotate(-45deg) scale(0);
|
|
23
|
+
top: 50%;
|
|
24
|
+
left: 50%;
|
|
25
|
+
transform-origin: center;
|
|
24
26
|
opacity: 0;
|
|
25
27
|
z-index: -2;
|
|
26
28
|
background-image: url('./imgs/d.png');
|
|
@@ -32,7 +34,7 @@
|
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
&:hover:before {
|
|
35
|
-
transform:
|
|
37
|
+
transform: translate(-50%, -50%) rotate(0deg) scale(1);
|
|
36
38
|
opacity: 1;
|
|
37
39
|
}
|
|
38
40
|
|
|
@@ -63,7 +63,6 @@ function ParallaxScroll(_a) {
|
|
|
63
63
|
var initLayout = function initLayout() {
|
|
64
64
|
var _a, _b, _c;
|
|
65
65
|
|
|
66
|
-
console.log('init...');
|
|
67
66
|
var colOneHeight = (_a = colOneRef.current) === null || _a === void 0 ? void 0 : _a.offsetHeight;
|
|
68
67
|
var colTwoHeight = (_b = colTwoRef.current) === null || _b === void 0 ? void 0 : _b.offsetHeight;
|
|
69
68
|
var colThreeHeight = (_c = colThreeRef.current) === null || _c === void 0 ? void 0 : _c.offsetHeight;
|
|
Binary file
|
|
@@ -18,9 +18,11 @@
|
|
|
18
18
|
display: block;
|
|
19
19
|
width: 180%;
|
|
20
20
|
height: 764px;
|
|
21
|
-
// height: 180%;
|
|
22
21
|
position: absolute;
|
|
23
|
-
transform:
|
|
22
|
+
transform: translate(-50%, -50%) rotate(-45deg) scale(0);
|
|
23
|
+
top: 50%;
|
|
24
|
+
left: 50%;
|
|
25
|
+
transform-origin: center;
|
|
24
26
|
opacity: 0;
|
|
25
27
|
z-index: -2;
|
|
26
28
|
background-image: url('./imgs/d.png');
|
|
@@ -32,7 +34,7 @@
|
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
&:hover:before {
|
|
35
|
-
transform:
|
|
37
|
+
transform: translate(-50%, -50%) rotate(0deg) scale(1);
|
|
36
38
|
opacity: 1;
|
|
37
39
|
}
|
|
38
40
|
|